Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7239/0.7239, allocations: 132.4 MB / 139.7 MB, free: 15.52 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0011/0.0011, allocations: 173 kB / 171.6 MB, free: 2.016 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.576/1.576, allocations: 170.5 MB / 373.9 MB, free: 15.85 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001974/0.001974, allocations: 113.5 kB / 444.4 MB, free: 9.352 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.5417/0.5418, allocations: 73.39 MB / 0.666 GB, free: 62.32 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7816/1.323, allocations: 351.2 MB / 1.009 GB, free: 85.81 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002598/1.324, allocations: 94.17 kB / 1.009 GB, free: 85.76 MB / 0.5886 GB Notification: Performance of FrontEnd: time 0.7539/2.078, allocations: 217.1 MB / 1.221 GB, free: 155.6 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.389e-05/2.078, allocations: 22.88 kB / 1.221 GB, free: 155.6 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.002464/2.08, allocations: 0.8648 MB / 1.222 GB, free: 154.9 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.121e-05/2.08, allocations: 8.812 kB / 1.222 GB, free: 154.9 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00245/2.083, allocations: 369.9 kB / 1.222 GB, free: 154.8 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001169/2.084, allocations: 487.9 kB / 1.223 GB, free: 154.4 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.062e-05/2.084, allocations: 13.34 kB / 1.223 GB, free: 154.4 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001102/2.084, allocations: 29.09 kB / 1.223 GB, free: 154.4 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000873/2.085, allocations: 353.7 kB / 1.223 GB, free: 154.3 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008688/2.086, allocations: 472.4 kB / 1.224 GB, free: 153.9 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.849e-05/2.086, allocations: 5.281 kB / 1.224 GB, free: 153.9 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.639e-05/2.086, allocations: 1.406 kB / 1.224 GB, free: 153.9 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.207e-05/2.086, allocations: 13.06 kB / 1.224 GB, free: 153.9 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003626/2.09, allocations: 2.655 MB / 1.226 GB, free: 151.5 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005012/2.09, allocations: 239.6 kB / 1.227 GB, free: 151.4 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002919/2.091, allocations: 142.8 kB / 1.227 GB, free: 151.3 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000317/2.091, allocations: 115.3 kB / 1.227 GB, free: 151.2 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/2.091, allocations: 40.19 kB / 1.227 GB, free: 151.2 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=21): time 3.336e-06/2.091, allocations: 1.031 kB / 1.227 GB, free: 151.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=21): time 0.006697/2.098, allocations: 1.309 MB / 1.228 GB, free: 150.6 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.702e-05/2.098, allocations: 157.3 kB / 1.228 GB, free: 150.4 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005311/2.098, allocations: 372.2 kB / 1.229 GB, free: 150.2 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.418e-05/2.098, allocations: 30.8 kB / 1.229 GB, free: 150.1 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001262/2.098, allocations: 236.6 kB / 1.229 GB, free: 149.9 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.443e-05/2.099, allocations: 68.34 kB / 1.229 GB, free: 149.9 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.404e-05/2.099, allocations: 0 / 1.229 GB, free: 149.9 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.133e-05/2.099, allocations: 358.2 kB / 1.229 GB, free: 149.5 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004328/2.099, allocations: 220.7 kB / 1.229 GB, free: 149.4 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005006/2.1, allocations: 345 kB / 1.23 GB, free: 149.2 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004247/2.1, allocations: 208.5 kB / 1.23 GB, free: 149.1 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/2.1, allocations: 1.219 kB / 1.23 GB, free: 149.1 MB / 0.6198 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001288/2.101, allocations: 0.5737 MB / 1.231 GB, free: 148.8 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.000276/2.102, allocations: 1.047 MB / 1.232 GB, free: 147.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/2.102, allocations: 3.625 kB / 1.232 GB, free: 147.6 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.634e-05/2.102, allocations: 4.531 kB / 1.232 GB, free: 147.6 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01919/2.121, allocations: 3.01 MB / 1.235 GB, free: 146.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004953/2.126, allocations: 1.421 MB / 1.236 GB, free: 145.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002626/2.129, allocations: 345 kB / 1.236 GB, free: 145.6 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001808/2.129, allocations: 21.81 kB / 1.236 GB, free: 145.6 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/2.129, allocations: 3.812 kB / 1.236 GB, free: 145.6 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007929/2.13, allocations: 247.2 kB / 1.236 GB, free: 145.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/2.13, allocations: 8.031 kB / 1.236 GB, free: 145.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/2.13, allocations: 4 kB / 1.236 GB, free: 145.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005536/2.13, allocations: 119.9 kB / 1.237 GB, free: 145.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/2.13, allocations: 7.938 kB / 1.237 GB, free: 145.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008239/2.131, allocations: 91.67 kB / 1.237 GB, free: 145.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.478e-05/2.131, allocations: 12.11 kB / 1.237 GB, free: 145.3 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003038/2.131, allocations: 123.3 kB / 1.237 GB, free: 145.1 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002846/2.132, allocations: 51.33 kB / 1.237 GB, free: 145.1 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003005/2.132, allocations: 52 kB / 1.237 GB, free: 145 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/2.132, allocations: 4 kB / 1.237 GB, free: 145 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.118e-05/2.132, allocations: 0 / 1.237 GB, free: 145 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/2.132, allocations: 7.984 kB / 1.237 GB, free: 145 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001338/2.133, allocations: 0.8074 MB / 1.238 GB, free: 144.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/2.133, allocations: 64 / 1.238 GB, free: 144.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01662/2.15, allocations: 2.732 MB / 1.24 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.766e-05/2.15, allocations: 0 / 1.24 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001804/2.15, allocations: 11.97 kB / 1.24 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01464/2.165, allocations: 3.621 MB / 1.244 GB, free: 137.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/2.165, allocations: 3.984 kB / 1.244 GB, free: 137.7 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001177/2.166, allocations: 0.5546 MB / 1.244 GB, free: 137.1 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002431/2.167, allocations: 124.5 kB / 1.245 GB, free: 137 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001895/2.167, allocations: 0 / 1.245 GB, free: 137 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001961/2.169, allocations: 319.5 kB / 1.245 GB, free: 136.6 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.245e-05/2.169, allocations: 23.91 kB / 1.245 GB, free: 136.6 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-05/2.169, allocations: 11.97 kB / 1.245 GB, free: 136.6 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.0003403/2.169, allocations: 279 kB / 1.245 GB, free: 136.3 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001435/2.171, allocations: 323.4 kB / 1.246 GB, free: 136 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007209/2.171, allocations: 284.6 kB / 1.246 GB, free: 135.8 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.02985/2.201, allocations: 5.264 MB / 1.251 GB, free: 130.5 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 8.796e-06/2.201, allocations: 4 kB / 1.251 GB, free: 130.5 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.02623/2.228, allocations: 4.376 MB / 1.255 GB, free: 126.1 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001612/2.229, allocations: 222.9 kB / 1.255 GB, free: 125.9 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02312/2.252, allocations: 4.463 MB / 1.26 GB, free: 121.4 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006251/2.253, allocations: 0.9799 MB / 1.261 GB, free: 120.4 MB / 0.6198 GB Notification: Performance of SimCode: time 1.192e-06/2.253, allocations: 0 / 1.261 GB, free: 120.4 MB / 0.6198 GB Notification: Performance of Templates: time 0.02167/2.275, allocations: 15.27 MB / 1.276 GB, free: 105.2 MB / 0.6198 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & ./Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)