Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 87.41 kB / 16.66 MB, free: 5.867 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.001082/0.001082, allocations: 178.7 kB / 17.58 MB, free: 5.543 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.433/1.433, allocations: 223.3 MB / 241.6 MB, free: 196 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7597/0.7597, allocations: 115.5 MB / 408.2 MB, free: 7.078 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004056/0.0004058, allocations: 8 kB / 496.5 MB, free: 15.7 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4076/0.408, allocations: 77.52 MB / 0.5606 GB, free: 36.33 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.02472/0.4328, allocations: 28.44 MB / 0.5883 GB, free: 15.84 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0102/0.443, allocations: 6.813 MB / 0.595 GB, free: 11.03 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001571/0.4446, allocations: 43.53 kB / 0.595 GB, free: 11.01 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00162/0.4463, allocations: 0.6025 MB / 0.5956 GB, free: 10.75 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004127/0.4504, allocations: 1.337 MB / 0.5969 GB, free: 10.03 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003113/0.4535, allocations: 1.051 MB / 0.598 GB, free: 9.387 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004608/0.4582, allocations: 3.22 MB / 0.6011 GB, free: 7.609 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001178/0.4594, allocations: 0.7118 MB / 0.6018 GB, free: 7.164 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001873/0.4612, allocations: 0.923 MB / 0.6027 GB, free: 6.652 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00104/0.4623, allocations: 0.8056 MB / 0.6035 GB, free: 6.207 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001021/0.4624, allocations: 40.38 kB / 0.6035 GB, free: 6.203 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002032/0.4644, allocations: 0.7574 MB / 0.6043 GB, free: 5.785 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002521/0.4647, allocations: 252.3 kB / 0.6045 GB, free: 5.617 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005331/0.4653, allocations: 0.5418 MB / 0.605 GB, free: 5.25 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00145/0.4667, allocations: 1.121 MB / 0.6061 GB, free: 4.559 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.4667, allocations: 0 / 0.6061 GB, free: 4.559 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.4667, allocations: 0 / 0.6061 GB, free: 4.559 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.555e-05/0.4668, allocations: 1.125 kB / 0.6061 GB, free: 4.559 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: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.002309/0.4691, allocations: 1.364 MB / 0.6075 GB, free: 3.254 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.4691, allocations: 15.95 kB / 0.6075 GB, free: 3.238 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003287/0.4724, allocations: 0.6276 MB / 0.6081 GB, free: 2.609 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001069/0.4735, allocations: 0.8017 MB / 0.6089 GB, free: 1.754 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.789e-05/0.4736, allocations: 58.31 kB / 0.6089 GB, free: 1.695 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001154/0.4737, allocations: 79.84 kB / 0.609 GB, free: 1.617 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002095/0.4758, allocations: 1.111 MB / 0.6101 GB, free: 440 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.4758, allocations: 3.938 kB / 0.6101 GB, free: 436 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.194e-05/0.4759, allocations: 32 kB / 0.6101 GB, free: 404 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.42e-05/0.4759, allocations: 20 kB / 0.6101 GB, free: 384 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003003/0.4789, allocations: 1.02 MB / 0.6111 GB, free: 15.35 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.0062/0.4851, allocations: 4.981 MB / 0.616 GB, free: 10.07 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003014/0.4882, allocations: 0.9498 MB / 0.6169 GB, free: 9.117 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001503/0.4897, allocations: 0.4925 MB / 0.6174 GB, free: 8.625 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001505/0.4912, allocations: 1.6 MB / 0.619 GB, free: 6.672 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001715/0.4929, allocations: 0.6001 MB / 0.6196 GB, free: 6.062 MB / 462.1 MB Notification: Performance of pre-optimization done (n=61): time 3.367e-06/0.4929, allocations: 0 / 0.6196 GB, free: 6.062 MB / 462.1 MB Notification: Performance of matching and sorting (n=61): time 0.004954/0.4979, allocations: 1.512 MB / 0.621 GB, free: 4.543 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.484e-05/0.498, allocations: 67.95 kB / 0.6211 GB, free: 4.465 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001446/0.4994, allocations: 1.112 MB / 0.6222 GB, free: 3.34 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 8.346e-05/0.4995, allocations: 37.7 kB / 0.6222 GB, free: 3.297 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004576/0.5, allocations: 0.5434 MB / 0.6228 GB, free: 2.746 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000203/0.5002, allocations: 217.1 kB / 0.623 GB, free: 2.531 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001212/0.5003, allocations: 61.69 kB / 0.623 GB, free: 2.465 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.5005, allocations: 342 kB / 0.6234 GB, free: 2.125 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00146/0.5019, allocations: 457.6 kB / 0.6238 GB, free: 1.68 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001676/0.5036, allocations: 0.7288 MB / 0.6245 GB, free: 0.8398 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003081/0.5067, allocations: 1.148 MB / 0.6256 GB, free: 15.59 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/0.5067, allocations: 96 / 0.6256 GB, free: 15.59 MB / 478.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003711/0.5104, allocations: 1.301 MB / 0.6269 GB, free: 14.28 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.619e-05/0.5105, allocations: 8.938 kB / 0.6269 GB, free: 14.27 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/0.5105, allocations: 8 kB / 0.6269 GB, free: 14.26 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.35e-05/0.5105, allocations: 16 kB / 0.6269 GB, free: 14.25 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001236/0.5118, allocations: 275.6 kB / 0.6272 GB, free: 13.98 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.111e-05/0.5118, allocations: 15.94 kB / 0.6272 GB, free: 13.96 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0014/0.5132, allocations: 202.9 kB / 0.6274 GB, free: 13.76 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001078/0.5133, allocations: 47.97 kB / 0.6274 GB, free: 13.71 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.setHeaHigPow.nextTimeEvent,$whenCondition3,$PRE.setCooLimPow.nextTimeEvent,$whenCondition2,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition1,setHeaCooUnl.nextTimeEventScaled,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEventScaled,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (100): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005488/0.5139, allocations: 295.7 kB / 0.6277 GB, free: 13.41 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001846/0.5141, allocations: 126.4 kB / 0.6278 GB, free: 13.29 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003915/0.518, allocations: 1.376 MB / 0.6292 GB, free: 11.91 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.031e-05/0.518, allocations: 11.98 kB / 0.6292 GB, free: 11.9 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/0.518, allocations: 0 / 0.6292 GB, free: 11.9 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/0.5181, allocations: 3.984 kB / 0.6292 GB, free: 11.9 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005163/0.5232, allocations: 2.398 MB / 0.6315 GB, free: 9.43 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.685e-06/0.5232, allocations: 0 / 0.6315 GB, free: 9.43 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001063/0.5243, allocations: 191.9 kB / 0.6317 GB, free: 9.242 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.637e-06/0.5243, allocations: 4 kB / 0.6317 GB, free: 9.238 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.493e-05/0.5244, allocations: 27.97 kB / 0.6318 GB, free: 9.211 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.707e-05/0.5244, allocations: 4 kB / 0.6318 GB, free: 9.207 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.5244, allocations: 4 kB / 0.6318 GB, free: 9.203 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005268/0.5297, allocations: 2.016 MB / 0.6337 GB, free: 7.145 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005141/0.5302, allocations: 287.2 kB / 0.634 GB, free: 6.844 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001403/0.5304, allocations: 16 kB / 0.634 GB, free: 6.828 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009813/0.5314, allocations: 131.9 kB / 0.6341 GB, free: 6.699 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001387/0.5315, allocations: 52.44 kB / 0.6342 GB, free: 6.648 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.373e-05/0.5316, allocations: 35.97 kB / 0.6342 GB, free: 6.613 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001167/0.5328, allocations: 0.7638 MB / 0.635 GB, free: 5.844 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.5328, allocations: 0 / 0.635 GB, free: 5.844 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001306/0.5341, allocations: 343.6 kB / 0.6353 GB, free: 5.508 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001559/0.5357, allocations: 0.6548 MB / 0.6359 GB, free: 5.047 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003456/0.5392, allocations: 1.134 MB / 0.6371 GB, free: 3.918 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.5392, allocations: 0 / 0.6371 GB, free: 3.918 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001704/0.5409, allocations: 0.5892 MB / 0.6376 GB, free: 3.332 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002421/0.5433, allocations: 436.3 kB / 0.638 GB, free: 2.906 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005479/0.5488, allocations: 2.856 MB / 0.6408 GB, free: 0 / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000731/0.5496, allocations: 1.096 MB / 0.6419 GB, free: 14.87 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004298/0.55, allocations: 119.4 kB / 0.642 GB, free: 14.75 MB / 494.1 MB Notification: Performance of SimCode: time 9.72e-07/0.55, allocations: 0 / 0.642 GB, free: 14.75 MB / 494.1 MB Notification: Performance of Templates: time 0.0319/0.5819, allocations: 18.83 MB / 0.6604 GB, free: 12.07 MB / 0.4981 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)