Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 99.05 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 179.2 kB / 16.92 MB, free: 6.781 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.612/1.612, allocations: 223.3 MB / 241 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.827/0.827, allocations: 126.9 MB / 418.9 MB, free: 7.309 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003428/0.000343, allocations: 8.688 kB / 0.498 GB, free: 9.695 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4865/0.4868, allocations: 80.23 MB / 0.5763 GB, free: 7.902 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.01928/0.5061, allocations: 18.69 MB / 0.5946 GB, free: 10.38 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.009229/0.5154, allocations: 5.051 MB / 0.5995 GB, free: 6.789 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007696/0.5162, allocations: 19.91 kB / 0.5995 GB, free: 6.777 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007662/0.517, allocations: 217.5 kB / 0.5997 GB, free: 6.648 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002344/0.5194, allocations: 0.6946 MB / 0.6004 GB, free: 6.238 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002368/0.5217, allocations: 0.7819 MB / 0.6012 GB, free: 5.84 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002526/0.5243, allocations: 1.859 MB / 0.603 GB, free: 5.121 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007057/0.525, allocations: 436.1 kB / 0.6034 GB, free: 4.945 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001216/0.5262, allocations: 0.5981 MB / 0.604 GB, free: 4.688 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000727/0.527, allocations: 0.5095 MB / 0.6045 GB, free: 4.395 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.826e-05/0.527, allocations: 28.31 kB / 0.6045 GB, free: 4.395 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001333/0.5284, allocations: 0.6538 MB / 0.6052 GB, free: 4.02 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000168/0.5285, allocations: 133.6 kB / 0.6053 GB, free: 3.918 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004089/0.529, allocations: 368.5 kB / 0.6056 GB, free: 3.672 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001389/0.5304, allocations: 1.028 MB / 0.6067 GB, free: 3 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.5304, allocations: 0.8438 kB / 0.6067 GB, free: 3 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.5304, allocations: 0 / 0.6067 GB, free: 3 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.278e-05/0.5304, allocations: 0 / 0.6067 GB, free: 3 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001916/0.5323, allocations: 0.9783 MB / 0.6076 GB, free: 2.207 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.5324, allocations: 9.75 kB / 0.6076 GB, free: 2.207 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001457/0.5325, allocations: 82.81 kB / 0.6077 GB, free: 2.164 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007458/0.5333, allocations: 0.5 MB / 0.6082 GB, free: 1.727 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.157e-05/0.5333, allocations: 40.98 kB / 0.6082 GB, free: 1.707 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.843e-05/0.5334, allocations: 47.81 kB / 0.6083 GB, free: 1.691 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001192/0.5346, allocations: 0.6333 MB / 0.6089 GB, free: 1.238 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.847e-05/0.5346, allocations: 5.344 kB / 0.6089 GB, free: 1.234 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.076e-05/0.5347, allocations: 18.34 kB / 0.6089 GB, free: 1.223 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.388e-05/0.5347, allocations: 12.28 kB / 0.6089 GB, free: 1.223 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001228/0.536, allocations: 0.5166 MB / 0.6094 GB, free: 0.9844 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003985/0.54, allocations: 3.209 MB / 0.6126 GB, free: 14.02 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007868/0.5408, allocations: 361.1 kB / 0.6129 GB, free: 13.84 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005629/0.5413, allocations: 243.6 kB / 0.6131 GB, free: 13.73 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004257/0.5418, allocations: 348.6 kB / 0.6135 GB, free: 13.33 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.71e-05/0.5418, allocations: 32.06 kB / 0.6135 GB, free: 13.29 MB / 462.1 MB Notification: Performance of pre-optimization done (n=38): time 2.214e-06/0.5418, allocations: 0 / 0.6135 GB, free: 13.29 MB / 462.1 MB Notification: Performance of matching and sorting (n=38): time 0.002413/0.5442, allocations: 0.8743 MB / 0.6144 GB, free: 12.83 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.435e-05/0.5443, allocations: 54.78 kB / 0.6144 GB, free: 12.77 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007392/0.545, allocations: 0.5681 MB / 0.615 GB, free: 12.42 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.105e-05/0.5451, allocations: 35.73 kB / 0.615 GB, free: 12.38 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002761/0.5454, allocations: 323.7 kB / 0.6153 GB, free: 12.1 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001266/0.5455, allocations: 138.3 kB / 0.6154 GB, free: 11.98 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.637e-05/0.5456, allocations: 58.28 kB / 0.6155 GB, free: 11.93 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002016/0.5458, allocations: 371.9 kB / 0.6158 GB, free: 11.57 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005683/0.5464, allocations: 230 kB / 0.6161 GB, free: 11.47 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007111/0.5471, allocations: 386.5 kB / 0.6164 GB, free: 11.18 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001264/0.5484, allocations: 0.5951 MB / 0.617 GB, free: 10.78 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-06/0.5484, allocations: 5.156 kB / 0.617 GB, free: 10.78 MB / 462.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001685/0.5501, allocations: 0.7453 MB / 0.6177 GB, free: 10.41 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000189/0.5503, allocations: 223.7 kB / 0.618 GB, free: 10.14 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.5503, allocations: 4.312 kB / 0.618 GB, free: 10.14 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007534/0.5511, allocations: 155.2 kB / 0.6181 GB, free: 10.08 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005914/0.5517, allocations: 152.4 kB / 0.6183 GB, free: 10.04 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006653/0.5524, allocations: 0.6244 MB / 0.6189 GB, free: 9.457 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006804/0.5531, allocations: 99.39 kB / 0.619 GB, free: 9.402 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.257e-05/0.5531, allocations: 31.36 kB / 0.619 GB, free: 9.395 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.742e-06/0.5532, allocations: 2.75 kB / 0.619 GB, free: 9.395 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001387/0.5546, allocations: 0.6272 MB / 0.6196 GB, free: 9.105 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.5546, allocations: 5.719 kB / 0.6196 GB, free: 9.105 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.217e-06/0.5546, allocations: 11.22 kB / 0.6196 GB, free: 9.102 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006334/0.5552, allocations: 157.8 kB / 0.6198 GB, free: 9.066 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.893e-05/0.5553, allocations: 15.39 kB / 0.6198 GB, free: 9.059 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005572/0.5558, allocations: 92.2 kB / 0.6199 GB, free: 9.008 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.953e-05/0.5559, allocations: 34.39 kB / 0.6199 GB, free: 8.996 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0003364/0.5562, allocations: 265.1 kB / 0.6202 GB, free: 8.758 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001185/0.5564, allocations: 68.16 kB / 0.6202 GB, free: 8.719 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001633/0.558, allocations: 0.6768 MB / 0.6209 GB, free: 8.352 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.034e-05/0.558, allocations: 9.375 kB / 0.6209 GB, free: 8.348 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.558, allocations: 3.938 kB / 0.6209 GB, free: 8.344 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/0.5581, allocations: 5.484 kB / 0.6209 GB, free: 8.34 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002751/0.5608, allocations: 1.395 MB / 0.6223 GB, free: 7.371 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.5608, allocations: 1.188 kB / 0.6223 GB, free: 7.371 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003976/0.5612, allocations: 95.78 kB / 0.6224 GB, free: 7.344 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004436/0.5617, allocations: 127.7 kB / 0.6225 GB, free: 7.289 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.157e-05/0.5617, allocations: 16.83 kB / 0.6225 GB, free: 7.277 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007295/0.5625, allocations: 0.6382 MB / 0.6231 GB, free: 6.613 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.5625, allocations: 0 / 0.6231 GB, free: 6.613 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001533/0.564, allocations: 0.7355 MB / 0.6238 GB, free: 5.848 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000278/0.5643, allocations: 196.1 kB / 0.624 GB, free: 5.637 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.921e-05/0.5644, allocations: 12 kB / 0.624 GB, free: 5.625 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004763/0.5649, allocations: 59.78 kB / 0.6241 GB, free: 5.566 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.259e-05/0.565, allocations: 31.95 kB / 0.6241 GB, free: 5.535 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.274e-05/0.565, allocations: 20 kB / 0.6241 GB, free: 5.516 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005514/0.5656, allocations: 395.1 kB / 0.6245 GB, free: 5.137 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5656, allocations: 0 / 0.6245 GB, free: 5.137 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001244/0.5668, allocations: 379.5 kB / 0.6249 GB, free: 4.766 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006752/0.5675, allocations: 298.5 kB / 0.6252 GB, free: 4.477 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002149/0.5697, allocations: 0.9019 MB / 0.626 GB, free: 3.574 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.5697, allocations: 0 / 0.626 GB, free: 3.574 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00077/0.5705, allocations: 300.6 kB / 0.6263 GB, free: 3.281 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001679/0.5722, allocations: 286.2 kB / 0.6266 GB, free: 3.004 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002096/0.5743, allocations: 1.32 MB / 0.6279 GB, free: 1.652 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005957/0.5749, allocations: 0.9119 MB / 0.6288 GB, free: 0.7148 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006189/0.5755, allocations: 152.2 kB / 0.6289 GB, free: 0.5703 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001656/0.5757, allocations: 63.36 kB / 0.629 GB, free: 0.5078 MB / 462.1 MB Notification: Performance of SimCode: time 6.01e-07/0.5757, allocations: 0 / 0.629 GB, free: 0.5078 MB / 462.1 MB Notification: Performance of Templates: time 0.02474/0.6004, allocations: 12.14 MB / 0.6408 GB, free: 4.535 MB / 478.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)