Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.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.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves") translateModel(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001617/0.001617, allocations: 103.5 kB / 15.99 MB, free: 6.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002108/0.002108, allocations: 192.3 kB / 16.91 MB, free: 6.195 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.39/1.39, allocations: 222.9 MB / 240.6 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7582/0.7582, allocations: 122.9 MB / 413.6 MB, free: 24 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 71.88 kB / 0.4906 GB, free: 7.816 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3632/0.3647, allocations: 77.92 MB / 0.5667 GB, free: 32.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.02461/0.3893, allocations: 29.57 MB / 0.5956 GB, free: 10.84 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01008/0.3994, allocations: 8.109 MB / 0.6035 GB, free: 4.262 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001604/0.4011, allocations: 25.78 kB / 0.6035 GB, free: 4.25 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001151/0.4023, allocations: 366.2 kB / 0.6039 GB, free: 3.953 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00366/0.406, allocations: 1.27 MB / 0.6051 GB, free: 2.98 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00269/0.4087, allocations: 1.045 MB / 0.6061 GB, free: 2.246 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003782/0.4125, allocations: 3.541 MB / 0.6096 GB, free: 15.05 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001735/0.4142, allocations: 1.316 MB / 0.6109 GB, free: 13.72 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003268/0.4175, allocations: 1.706 MB / 0.6125 GB, free: 12.01 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003248/0.4208, allocations: 1.651 MB / 0.6141 GB, free: 10.36 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004832/0.4213, allocations: 128 kB / 0.6143 GB, free: 10.23 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002372/0.4236, allocations: 1.022 MB / 0.6153 GB, free: 9.207 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004577/0.4241, allocations: 402.7 kB / 0.6156 GB, free: 8.812 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001094/0.4252, allocations: 0.7505 MB / 0.6164 GB, free: 8.059 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00295/0.4282, allocations: 2.189 MB / 0.6185 GB, free: 5.863 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.4282, allocations: 0 / 0.6185 GB, free: 5.863 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.4282, allocations: 0 / 0.6185 GB, free: 5.863 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.617e-05/0.4282, allocations: 0 / 0.6185 GB, free: 5.863 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.002665/0.4309, allocations: 1.671 MB / 0.6202 GB, free: 4.141 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.4309, allocations: 8.625 kB / 0.6202 GB, free: 4.133 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003418/0.4313, allocations: 147.4 kB / 0.6203 GB, free: 3.988 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001483/0.4328, allocations: 0.8987 MB / 0.6212 GB, free: 3.031 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.679e-05/0.4328, allocations: 77.31 kB / 0.6213 GB, free: 2.957 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001998/0.4331, allocations: 120 kB / 0.6214 GB, free: 2.84 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001047/0.4341, allocations: 0.6395 MB / 0.622 GB, free: 2.172 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.718e-05/0.4341, allocations: 4 kB / 0.622 GB, free: 2.168 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.005e-05/0.4342, allocations: 23.98 kB / 0.622 GB, free: 2.145 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.534e-05/0.4342, allocations: 16 kB / 0.622 GB, free: 2.129 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008315/0.4351, allocations: 468.8 kB / 0.6225 GB, free: 1.668 MB / 462.1 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.004105/0.4392, allocations: 2.864 MB / 0.6253 GB, free: 14.65 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005815/0.4398, allocations: 311.1 kB / 0.6256 GB, free: 14.34 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002931/0.4401, allocations: 153.3 kB / 0.6257 GB, free: 14.18 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002792/0.4404, allocations: 344.7 kB / 0.626 GB, free: 13.77 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.301e-05/0.4404, allocations: 38.84 kB / 0.6261 GB, free: 13.73 MB / 478.1 MB Notification: Performance of pre-optimization done (n=33): time 2.014e-06/0.4404, allocations: 0 / 0.6261 GB, free: 13.73 MB / 478.1 MB Notification: Performance of matching and sorting (n=33): time 0.001292/0.4417, allocations: 0.5252 MB / 0.6266 GB, free: 13.2 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.248e-05/0.4417, allocations: 55.41 kB / 0.6266 GB, free: 13.13 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008898/0.4426, allocations: 0.9036 MB / 0.6275 GB, free: 12.21 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001239/0.4428, allocations: 61.7 kB / 0.6276 GB, free: 12.14 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004078/0.4432, allocations: 0.5376 MB / 0.6281 GB, free: 11.6 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.766e-05/0.4433, allocations: 110.4 kB / 0.6282 GB, free: 11.49 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003847/0.4437, allocations: 294.9 kB / 0.6285 GB, free: 11.2 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.968e-05/0.4438, allocations: 338.1 kB / 0.6288 GB, free: 10.86 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003791/0.4442, allocations: 189.3 kB / 0.629 GB, free: 10.67 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001342/0.4455, allocations: 1.159 MB / 0.6301 GB, free: 9.148 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007868/0.4463, allocations: 447.5 kB / 0.6306 GB, free: 8.688 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.4463, allocations: 0 / 0.6306 GB, free: 8.688 MB / 478.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001297/0.4476, allocations: 0.6578 MB / 0.6312 GB, free: 8.023 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.397e-05/0.4477, allocations: 4 kB / 0.6312 GB, free: 8.02 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.4477, allocations: 4 kB / 0.6312 GB, free: 8.016 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.305e-05/0.4477, allocations: 8.031 kB / 0.6312 GB, free: 8.008 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001491/0.4492, allocations: 231.9 kB / 0.6314 GB, free: 7.781 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001843/0.451, allocations: 2.953 MB / 0.6343 GB, free: 4.711 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003363/0.4544, allocations: 0.7379 MB / 0.635 GB, free: 3.969 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.993e-05/0.4545, allocations: 23.98 kB / 0.6351 GB, free: 3.945 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007367/0.4553, allocations: 370.2 kB / 0.6354 GB, free: 3.582 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001303/0.4566, allocations: 1.158 MB / 0.6366 GB, free: 2.039 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007627/0.4573, allocations: 456.9 kB / 0.637 GB, free: 1.555 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.212e-06/0.4574, allocations: 7.938 kB / 0.637 GB, free: 1.547 MB / 478.1 MB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.001391/0.4588, allocations: 0.6432 MB / 0.6376 GB, free: 0.8984 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.4588, allocations: 8 kB / 0.6376 GB, free: 0.8906 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.4588, allocations: 4.312 kB / 0.6376 GB, free: 0.8867 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.767e-06/0.4588, allocations: 8 kB / 0.6376 GB, free: 0.8789 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006934/0.4595, allocations: 159.8 kB / 0.6378 GB, free: 0.7227 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.4595, allocations: 7.938 kB / 0.6378 GB, free: 0.7148 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004498/0.464, allocations: 0.9924 MB / 0.6388 GB, free: 15.72 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-05/0.4641, allocations: 27.98 kB / 0.6388 GB, free: 15.7 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (73): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002822/0.4644, allocations: 241.1 kB / 0.639 GB, free: 15.45 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001633/0.4646, allocations: 94.78 kB / 0.6391 GB, free: 15.36 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001157/0.4657, allocations: 0.5049 MB / 0.6396 GB, free: 14.85 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.027e-05/0.4658, allocations: 8 kB / 0.6396 GB, free: 14.84 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.4658, allocations: 0 / 0.6396 GB, free: 14.84 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.4658, allocations: 3.984 kB / 0.6396 GB, free: 14.84 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002006/0.4678, allocations: 1.248 MB / 0.6408 GB, free: 13.52 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.613e-06/0.4678, allocations: 8.125 kB / 0.6409 GB, free: 13.51 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005479/0.4684, allocations: 111.8 kB / 0.641 GB, free: 13.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.4684, allocations: 4 kB / 0.641 GB, free: 13.4 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.116e-05/0.4684, allocations: 15.98 kB / 0.641 GB, free: 13.38 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001495/0.4699, allocations: 2.938 MB / 0.6438 GB, free: 10.33 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.678e-06/0.4699, allocations: 7.969 kB / 0.6439 GB, free: 10.32 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008791/0.4708, allocations: 0.5694 MB / 0.6444 GB, free: 9.723 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002839/0.4711, allocations: 215.8 kB / 0.6446 GB, free: 9.492 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001122/0.4712, allocations: 8 kB / 0.6446 GB, free: 9.484 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005472/0.4718, allocations: 67.7 kB / 0.6447 GB, free: 9.418 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.607e-05/0.4719, allocations: 31.89 kB / 0.6447 GB, free: 9.387 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.154e-05/0.4719, allocations: 16 kB / 0.6447 GB, free: 9.371 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000736/0.4727, allocations: 0.6084 MB / 0.6453 GB, free: 8.754 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4727, allocations: 0 / 0.6453 GB, free: 8.754 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001431/0.4741, allocations: 0.5423 MB / 0.6459 GB, free: 8.211 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (39): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006884/0.4748, allocations: 329.2 kB / 0.6462 GB, free: 7.898 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002698/0.4775, allocations: 0.8619 MB / 0.647 GB, free: 7.027 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.4775, allocations: 0 / 0.647 GB, free: 7.027 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006068/0.4781, allocations: 236.5 kB / 0.6472 GB, free: 6.797 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001896/0.48, allocations: 406.1 kB / 0.6476 GB, free: 6.414 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002562/0.4826, allocations: 1.864 MB / 0.6494 GB, free: 4.508 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005184/0.4832, allocations: 1.021 MB / 0.6504 GB, free: 3.457 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0009837/0.4841, allocations: 208 kB / 0.6506 GB, free: 3.25 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001777/0.4843, allocations: 79.41 kB / 0.6507 GB, free: 3.172 MB / 494.1 MB Notification: Performance of SimCode: time 9.42e-07/0.4843, allocations: 0 / 0.6507 GB, free: 3.172 MB / 494.1 MB Notification: Performance of Templates: time 0.04274/0.5271, allocations: 24.75 MB / 0.6749 GB, free: 10.88 MB / 0.5137 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1)