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.001598/0.001598, allocations: 104 kB / 16.94 MB, free: 6.191 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.001486/0.001486, allocations: 191.4 kB / 17.86 MB, free: 5.293 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.405/1.405, allocations: 222.9 MB / 241.6 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8089/0.8089, allocations: 122.9 MB / 414.6 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001485, allocations: 63.89 kB / 0.4917 GB, free: 7.449 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4105/0.412, allocations: 77.93 MB / 0.5678 GB, free: 32.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.02476/0.4368, allocations: 29.31 MB / 0.5965 GB, free: 10.96 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.009255/0.4461, allocations: 6.865 MB / 0.6032 GB, free: 5.398 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00175/0.4479, allocations: 46.16 kB / 0.6032 GB, free: 5.379 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001651/0.4496, allocations: 0.6897 MB / 0.6039 GB, free: 4.863 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004038/0.4537, allocations: 1.462 MB / 0.6053 GB, free: 3.734 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002954/0.4566, allocations: 1.155 MB / 0.6064 GB, free: 2.871 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003032/0.4597, allocations: 2.469 MB / 0.6089 GB, free: 0.7773 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000947/0.4606, allocations: 0.7904 MB / 0.6096 GB, free: 15.98 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001838/0.4625, allocations: 1.008 MB / 0.6106 GB, free: 14.96 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001085/0.4636, allocations: 0.8091 MB / 0.6114 GB, free: 14.15 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001254/0.4637, allocations: 68 kB / 0.6115 GB, free: 14.08 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001964/0.4657, allocations: 0.8226 MB / 0.6123 GB, free: 13.26 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002837/0.466, allocations: 278.9 kB / 0.6125 GB, free: 12.98 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006234/0.4666, allocations: 0.5476 MB / 0.6131 GB, free: 12.43 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002636/0.4693, allocations: 1.587 MB / 0.6146 GB, free: 10.84 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.4693, allocations: 3.938 kB / 0.6146 GB, free: 10.84 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.4693, allocations: 3.938 kB / 0.6146 GB, free: 10.84 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.275e-05/0.4693, allocations: 0 / 0.6146 GB, free: 10.84 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: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.002637/0.4719, allocations: 1.566 MB / 0.6162 GB, free: 9.215 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.472, allocations: 8.625 kB / 0.6162 GB, free: 9.207 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003515/0.4755, allocations: 0.5962 MB / 0.6167 GB, free: 8.609 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001215/0.4767, allocations: 0.8017 MB / 0.6175 GB, free: 7.754 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.152e-05/0.4768, allocations: 58.38 kB / 0.6176 GB, free: 7.695 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000122/0.4769, allocations: 75.92 kB / 0.6177 GB, free: 7.621 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002404/0.4793, allocations: 1.1 MB / 0.6187 GB, free: 6.441 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.957e-05/0.4794, allocations: 7.938 kB / 0.6187 GB, free: 6.434 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.758e-05/0.4795, allocations: 31.98 kB / 0.6188 GB, free: 6.402 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.833e-05/0.4795, allocations: 20 kB / 0.6188 GB, free: 6.383 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003063/0.4826, allocations: 0.9962 MB / 0.6198 GB, free: 5.387 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.005766/0.4883, allocations: 4.956 MB / 0.6246 GB, free: 148 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00294/0.4913, allocations: 0.909 MB / 0.6255 GB, free: 15.23 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001479/0.4928, allocations: 495.4 kB / 0.626 GB, free: 14.74 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001486/0.4943, allocations: 1.588 MB / 0.6275 GB, free: 12.8 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001706/0.496, allocations: 0.5806 MB / 0.6281 GB, free: 12.21 MB / 478.1 MB Notification: Performance of pre-optimization done (n=61): time 3.847e-06/0.496, allocations: 3.938 kB / 0.6281 GB, free: 12.21 MB / 478.1 MB Notification: Performance of matching and sorting (n=61): time 0.004873/0.5009, allocations: 1.481 MB / 0.6295 GB, free: 10.71 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.218e-05/0.501, allocations: 59.97 kB / 0.6296 GB, free: 10.64 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001372/0.5024, allocations: 1.112 MB / 0.6307 GB, free: 9.52 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 8.833e-05/0.5025, allocations: 41.69 kB / 0.6307 GB, free: 9.473 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004343/0.5029, allocations: 0.5433 MB / 0.6312 GB, free: 8.922 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001949/0.5031, allocations: 217.1 kB / 0.6315 GB, free: 8.707 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002626/0.5034, allocations: 166.5 kB / 0.6316 GB, free: 8.539 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.5035, allocations: 337.9 kB / 0.6319 GB, free: 8.203 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001434/0.505, allocations: 441.6 kB / 0.6324 GB, free: 7.773 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001673/0.5066, allocations: 0.7281 MB / 0.6331 GB, free: 6.93 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003044/0.5097, allocations: 1.113 MB / 0.6342 GB, free: 5.715 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.5097, allocations: 0 / 0.6342 GB, free: 5.715 MB / 478.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003627/0.5133, allocations: 1.274 MB / 0.6354 GB, free: 4.43 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.5134, allocations: 8 kB / 0.6354 GB, free: 4.422 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.496e-05/0.5134, allocations: 8 kB / 0.6354 GB, free: 4.414 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.773e-05/0.5134, allocations: 12 kB / 0.6354 GB, free: 4.402 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00121/0.5146, allocations: 279.9 kB / 0.6357 GB, free: 4.129 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.953e-05/0.5147, allocations: 15.98 kB / 0.6357 GB, free: 4.113 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001211/0.5159, allocations: 170.9 kB / 0.6359 GB, free: 3.945 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.833e-05/0.516, allocations: 51.97 kB / 0.6359 GB, free: 3.895 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.0004777/0.5165, allocations: 295.7 kB / 0.6362 GB, free: 3.598 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001982/0.5167, allocations: 126.4 kB / 0.6363 GB, free: 3.473 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003775/0.5205, allocations: 1.358 MB / 0.6376 GB, free: 2.105 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.78e-05/0.5205, allocations: 8 kB / 0.6377 GB, free: 2.098 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.834e-06/0.5205, allocations: 4 kB / 0.6377 GB, free: 2.094 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.005e-05/0.5205, allocations: 7.984 kB / 0.6377 GB, free: 2.086 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004915/0.5255, allocations: 2.362 MB / 0.64 GB, free: 15.65 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/0.5255, allocations: 7.938 kB / 0.64 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001028/0.5265, allocations: 187.9 kB / 0.6402 GB, free: 15.46 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.708e-06/0.5265, allocations: 4 kB / 0.6402 GB, free: 15.46 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.368e-05/0.5266, allocations: 27.97 kB / 0.6402 GB, free: 15.43 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.462e-06/0.5266, allocations: 4 kB / 0.6402 GB, free: 15.43 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.5266, allocations: 0 / 0.6402 GB, free: 15.43 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005102/0.5317, allocations: 1.981 MB / 0.6421 GB, free: 13.41 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000436/0.5322, allocations: 283.3 kB / 0.6424 GB, free: 13.11 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001508/0.5324, allocations: 15.98 kB / 0.6424 GB, free: 13.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009326/0.5333, allocations: 107.9 kB / 0.6425 GB, free: 12.99 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/0.5334, allocations: 48.44 kB / 0.6426 GB, free: 12.95 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.978e-05/0.5335, allocations: 39.97 kB / 0.6426 GB, free: 12.91 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0008771/0.5344, allocations: 0.7638 MB / 0.6433 GB, free: 12.14 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5344, allocations: 0 / 0.6433 GB, free: 12.14 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001055/0.5354, allocations: 343.6 kB / 0.6437 GB, free: 11.8 MB / 494.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.001442/0.5369, allocations: 0.652 MB / 0.6443 GB, free: 11.34 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003679/0.5406, allocations: 1.185 MB / 0.6455 GB, free: 10.15 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.5406, allocations: 0 / 0.6455 GB, free: 10.15 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001634/0.5422, allocations: 0.5774 MB / 0.646 GB, free: 9.574 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00201/0.5443, allocations: 456.4 kB / 0.6465 GB, free: 9.152 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004954/0.5492, allocations: 2.41 MB / 0.6488 GB, free: 6.691 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006592/0.5499, allocations: 1.099 MB / 0.6499 GB, free: 5.566 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004107/0.5503, allocations: 123.3 kB / 0.65 GB, free: 5.445 MB / 494.1 MB Notification: Performance of SimCode: time 4.51e-07/0.5503, allocations: 0 / 0.65 GB, free: 5.445 MB / 494.1 MB Notification: Performance of Templates: time 0.02906/0.5794, allocations: 19 MB / 0.6686 GB, free: 2.594 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)