Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves") translateModel(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.639/1.639, allocations: 289.7 MB / 302.2 MB, free: 2.152 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001014/0.001014, allocations: 183.7 kB / 371.6 MB, free: 3.344 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.419/1.419, allocations: 205.1 MB / 0.6309 GB, free: 11.77 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009521/0.0009521, allocations: 87.62 kB / 0.745 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.374e-05/3.376e-05, allocations: 4 kB / 0.8662 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2309/0.2309, allocations: 116.3 MB / 0.9798 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.441/1.672, allocations: 433.2 MB / 1.403 GB, free: 255.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002861/1.673, allocations: 106.2 kB / 1.403 GB, free: 255.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.969/4.642, allocations: 0.9712 GB / 2.374 GB, free: 76.57 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.643e-06/4.642, allocations: 0 / 2.374 GB, free: 76.57 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0004476/4.642, allocations: 79.91 kB / 2.374 GB, free: 76.49 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 379 * Number of variables: 379 Notification: Performance of Generate backend data structure: time 0.006242/4.649, allocations: 2.535 MB / 2.377 GB, free: 73.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/4.649, allocations: 12.03 kB / 2.377 GB, free: 73.89 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00142/4.65, allocations: 316.3 kB / 2.377 GB, free: 73.58 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006804/4.657, allocations: 2.416 MB / 2.379 GB, free: 71.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001348/4.657, allocations: 131 kB / 2.379 GB, free: 70.97 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005366/4.658, allocations: 168 kB / 2.38 GB, free: 70.81 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003385/4.661, allocations: 1.518 MB / 2.381 GB, free: 69.23 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.5e-05/4.661, allocations: 7.844 kB / 2.381 GB, free: 69.22 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001701/4.661, allocations: 64 kB / 2.381 GB, free: 69.16 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.673e-05/4.661, allocations: 47.94 kB / 2.381 GB, free: 69.11 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001933/4.663, allocations: 1.05 MB / 2.382 GB, free: 68.05 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01183/4.675, allocations: 7.968 MB / 2.39 GB, free: 59.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006375/4.676, allocations: 441.2 kB / 2.39 GB, free: 59.17 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003925/4.676, allocations: 321.6 kB / 2.391 GB, free: 58.85 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005228/4.677, allocations: 0.7679 MB / 2.392 GB, free: 57.92 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.298e-05/4.677, allocations: 39.12 kB / 2.392 GB, free: 57.88 MB / 0.948 GB Notification: Performance of pre-optimization done (n=60): time 4.118e-06/4.677, allocations: 0 / 2.392 GB, free: 57.88 MB / 0.948 GB Notification: Performance of matching and sorting (n=60): time 0.001643/4.678, allocations: 0.7384 MB / 2.392 GB, free: 57.12 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.635e-05/4.678, allocations: 55.97 kB / 2.392 GB, free: 57.06 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003344/4.682, allocations: 2.019 MB / 2.394 GB, free: 55.03 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002043/4.682, allocations: 53.7 kB / 2.394 GB, free: 54.97 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001016/4.683, allocations: 1.139 MB / 2.395 GB, free: 53.81 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002132/4.683, allocations: 216.9 kB / 2.396 GB, free: 53.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.483e-05/4.683, allocations: 24 kB / 2.396 GB, free: 53.57 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000114/4.683, allocations: 349.9 kB / 2.396 GB, free: 53.23 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005611/4.684, allocations: 314.6 kB / 2.396 GB, free: 52.92 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008987/4.685, allocations: 0.7806 MB / 2.397 GB, free: 51.94 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008011/4.686, allocations: 453 kB / 2.398 GB, free: 51.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.103e-05/4.686, allocations: 0 / 2.398 GB, free: 51.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002926/4.689, allocations: 1.204 MB / 2.399 GB, free: 50.29 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000804/4.689, allocations: 3.202 MB / 2.402 GB, free: 46.81 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.086e-05/4.689, allocations: 11.94 kB / 2.402 GB, free: 46.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.829e-05/4.69, allocations: 16 kB / 2.402 GB, free: 46.78 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001174/4.691, allocations: 259.6 kB / 2.402 GB, free: 46.53 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.06e-05/4.691, allocations: 15.94 kB / 2.402 GB, free: 46.51 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00316/4.694, allocations: 270 kB / 2.402 GB, free: 46.25 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002016/4.694, allocations: 63.97 kB / 2.402 GB, free: 46.18 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/4.694, allocations: 4 kB / 2.402 GB, free: 46.18 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001747/4.696, allocations: 0.9512 MB / 2.403 GB, free: 45.23 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.833e-05/4.696, allocations: 8 kB / 2.403 GB, free: 45.22 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/4.696, allocations: 15.84 kB / 2.403 GB, free: 45.21 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009043/4.697, allocations: 256.2 kB / 2.404 GB, free: 44.96 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.323e-05/4.697, allocations: 19.94 kB / 2.404 GB, free: 44.94 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002475/4.699, allocations: 238.5 kB / 2.404 GB, free: 44.71 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001263/4.7, allocations: 59.98 kB / 2.404 GB, free: 44.65 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (138): * Single equations (assignments): 138 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002951/4.7, allocations: 170.6 kB / 2.404 GB, free: 44.48 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006687/4.701, allocations: 229.1 kB / 2.404 GB, free: 44.25 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001803/4.702, allocations: 0.8927 MB / 2.405 GB, free: 43.35 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.238e-05/4.702, allocations: 8 kB / 2.405 GB, free: 43.34 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/4.702, allocations: 0 / 2.405 GB, free: 43.34 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007529/4.703, allocations: 0.6853 MB / 2.406 GB, free: 42.62 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004682/4.708, allocations: 2.627 MB / 2.408 GB, free: 39.93 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.93e-06/4.708, allocations: 0 / 2.408 GB, free: 39.93 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005546/4.708, allocations: 143.9 kB / 2.409 GB, free: 39.79 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.187e-05/4.708, allocations: 8 kB / 2.409 GB, free: 39.78 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.76e-05/4.709, allocations: 16 kB / 2.409 GB, free: 39.77 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/4.709, allocations: 4 kB / 2.409 GB, free: 39.76 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/4.709, allocations: 3.938 kB / 2.409 GB, free: 39.76 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00172/4.71, allocations: 1.337 MB / 2.41 GB, free: 38.38 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001096/4.711, allocations: 461.7 kB / 2.41 GB, free: 37.91 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005551/4.712, allocations: 23.94 kB / 2.41 GB, free: 37.89 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001697/4.714, allocations: 151.7 kB / 2.411 GB, free: 37.74 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/4.714, allocations: 44.5 kB / 2.411 GB, free: 37.69 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.188e-05/4.714, allocations: 43.91 kB / 2.411 GB, free: 37.65 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002467/4.716, allocations: 1.529 MB / 2.412 GB, free: 36.11 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.7e-07/4.716, allocations: 0 / 2.412 GB, free: 36.11 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003784/4.72, allocations: 1.209 MB / 2.413 GB, free: 34.9 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (valLin.vol.dynBal.U,valEquPerLin.vol.dynBal.U,valTab.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002239/4.722, allocations: 1.247 MB / 2.415 GB, free: 33.81 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002216/4.725, allocations: 1.375 MB / 2.416 GB, free: 32.44 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/4.725, allocations: 4 kB / 2.416 GB, free: 32.43 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004095/4.725, allocations: 315.3 kB / 2.416 GB, free: 32.12 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007712/4.733, allocations: 1.502 MB / 2.418 GB, free: 30.67 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006322/4.739, allocations: 2.843 MB / 2.42 GB, free: 27.79 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001461/4.741, allocations: 1.638 MB / 2.422 GB, free: 26.12 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.00388/4.745, allocations: 0.7112 MB / 2.423 GB, free: 25.43 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004547/4.745, allocations: 135.3 kB / 2.423 GB, free: 25.3 MB / 0.948 GB Notification: Performance of SimCode: time 1.012e-06/4.745, allocations: 0 / 2.423 GB, free: 25.3 MB / 0.948 GB Notification: Performance of Templates: time 0.6808/5.426, allocations: 57.07 MB / 2.479 GB, free: 113.4 MB / 0.9636 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.makefile (rm -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & ./Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1)