Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.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: "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007013/0.0007013, allocations: 87.69 kB / 15.69 MB, free: 468 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.0007321/0.000732, allocations: 168.7 kB / 16.57 MB, free: 6.871 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.165/1.165, allocations: 223.3 MB / 240.6 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6035/0.6035, allocations: 113.7 MB / 405.4 MB, free: 4.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002795/0.0002795, allocations: 12 kB / 493.1 MB, free: 8.543 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1175, allocations: 77.11 MB / 0.5569 GB, free: 11.63 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.3796/0.4972, allocations: 176.3 MB / 0.7291 GB, free: 10.48 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006755/0.504, allocations: 4.882 MB / 0.7338 GB, free: 5.59 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006511/0.5046, allocations: 39.69 kB / 0.7339 GB, free: 5.551 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001184/0.5058, allocations: 0.6257 MB / 0.7345 GB, free: 4.922 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003533/0.5094, allocations: 1.882 MB / 0.7363 GB, free: 3.031 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001839/0.5112, allocations: 0.9041 MB / 0.7372 GB, free: 2.137 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00255/0.5138, allocations: 3.007 MB / 0.7401 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008889/0.5147, allocations: 0.7266 MB / 0.7408 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0013/0.516, allocations: 0.9804 MB / 0.7418 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009178/0.5169, allocations: 0.9263 MB / 0.7427 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.593e-05/0.517, allocations: 48 kB / 0.7428 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001857/0.5189, allocations: 0.9275 MB / 0.7437 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003212/0.5192, allocations: 410.6 kB / 0.7441 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002198/0.5194, allocations: 261 kB / 0.7443 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001174/0.5206, allocations: 1.356 MB / 0.7456 GB, free: 9.461 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.5206, allocations: 4 kB / 0.7456 GB, free: 9.457 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.282e-06/0.5206, allocations: 4 kB / 0.7456 GB, free: 9.453 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.062e-05/0.5207, allocations: 0 / 0.7456 GB, free: 9.453 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.003712/0.5244, allocations: 1.686 MB / 0.7473 GB, free: 7.715 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.5244, allocations: 12.03 kB / 0.7473 GB, free: 7.703 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001435/0.5246, allocations: 135.5 kB / 0.7474 GB, free: 7.562 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00348/0.5281, allocations: 0.7482 MB / 0.7482 GB, free: 6.812 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001072/0.5291, allocations: 0.8483 MB / 0.749 GB, free: 5.906 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.008e-05/0.5292, allocations: 73.97 kB / 0.7491 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001277/0.5293, allocations: 88 kB / 0.7491 GB, free: 5.75 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002506/0.5318, allocations: 1.469 MB / 0.7506 GB, free: 4.223 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.954e-05/0.5319, allocations: 3.938 kB / 0.7506 GB, free: 4.219 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.97e-05/0.532, allocations: 35.98 kB / 0.7506 GB, free: 4.184 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-05/0.532, allocations: 53.97 kB / 0.7507 GB, free: 4.133 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003346/0.5354, allocations: 1.569 MB / 0.7522 GB, free: 2.562 MB / 0.5606 GB 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.005199/0.5406, allocations: 5.079 MB / 0.7572 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002752/0.5434, allocations: 1.224 MB / 0.7583 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001398/0.5448, allocations: 0.675 MB / 0.759 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00105/0.5458, allocations: 0.9566 MB / 0.7599 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001528/0.5474, allocations: 0.7341 MB / 0.7607 GB, free: 9.426 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=82): time 2.585e-06/0.5474, allocations: 0 / 0.7607 GB, free: 9.426 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.004786/0.5522, allocations: 1.983 MB / 0.7626 GB, free: 7.438 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.464e-05/0.5522, allocations: 60.06 kB / 0.7627 GB, free: 7.367 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001195/0.5534, allocations: 1.259 MB / 0.7639 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.719e-05/0.5535, allocations: 45.7 kB / 0.7639 GB, free: 6.051 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003686/0.5539, allocations: 0.5716 MB / 0.7645 GB, free: 5.473 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001985/0.5541, allocations: 292 kB / 0.7648 GB, free: 5.184 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.535e-05/0.5541, allocations: 16 kB / 0.7648 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.878e-05/0.5542, allocations: 338 kB / 0.7651 GB, free: 4.832 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001349/0.5556, allocations: 0.5562 MB / 0.7656 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001461/0.5571, allocations: 0.8247 MB / 0.7664 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001372/0.5584, allocations: 0.6079 MB / 0.767 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.5585, allocations: 4 kB / 0.767 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003127/0.5616, allocations: 1.534 MB / 0.7685 GB, free: 1.195 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.5616, allocations: 8 kB / 0.7686 GB, free: 1.188 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.5616, allocations: 8 kB / 0.7686 GB, free: 1.18 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.049e-05/0.5617, allocations: 12 kB / 0.7686 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001207/0.5629, allocations: 299.7 kB / 0.7689 GB, free: 0.875 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.676e-05/0.5629, allocations: 16.05 kB / 0.7689 GB, free: 0.8594 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001093/0.564, allocations: 234.6 kB / 0.7691 GB, free: 0.6289 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.147e-05/0.5641, allocations: 43.98 kB / 0.7691 GB, free: 0.5859 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$PRE.setHeaHigPow.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaCooUnl.nextTimeEvent,setHeaHigPow.nextTimeEvent,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 117 * 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.0004166/0.5645, allocations: 337.2 kB / 0.7695 GB, free: 256 kB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001372/0.5647, allocations: 134.3 kB / 0.7696 GB, free: 120 kB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003266/0.5679, allocations: 1.475 MB / 0.771 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.944e-06/0.568, allocations: 8 kB / 0.771 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.568, allocations: 0 / 0.771 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.026e-05/0.568, allocations: 7.938 kB / 0.771 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004815/0.5728, allocations: 2.874 MB / 0.7738 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/0.5728, allocations: 4 kB / 0.7739 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001053/0.5739, allocations: 235.7 kB / 0.7741 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.218e-06/0.5739, allocations: 8 kB / 0.7741 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.912e-05/0.574, allocations: 27.97 kB / 0.7741 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.234e-06/0.574, allocations: 7.953 kB / 0.7741 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.574, allocations: 11.94 kB / 0.7741 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004484/0.5785, allocations: 2.334 MB / 0.7764 GB, free: 8.953 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003759/0.5789, allocations: 315.1 kB / 0.7767 GB, free: 8.625 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000154/0.579, allocations: 20 kB / 0.7767 GB, free: 8.605 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009216/0.58, allocations: 135.9 kB / 0.7769 GB, free: 8.473 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001088/0.5801, allocations: 68.38 kB / 0.7769 GB, free: 8.406 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.886e-05/0.5801, allocations: 35.97 kB / 0.777 GB, free: 8.371 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0008816/0.581, allocations: 0.8645 MB / 0.7778 GB, free: 7.504 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.91e-07/0.581, allocations: 0 / 0.7778 GB, free: 7.504 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008204/0.5819, allocations: 315.7 kB / 0.7781 GB, free: 7.195 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (82): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.005634/0.5875, allocations: 3.319 MB / 0.7813 GB, free: 3.984 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002953/0.5905, allocations: 1.32 MB / 0.7826 GB, free: 2.668 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.5905, allocations: 4 kB / 0.7826 GB, free: 2.664 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001463/0.592, allocations: 0.6638 MB / 0.7833 GB, free: 2.004 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002263/0.5942, allocations: 0.5993 MB / 0.7839 GB, free: 1.406 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01301/0.6073, allocations: 8.803 MB / 0.7925 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000602/0.6079, allocations: 1.171 MB / 0.7936 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.00131/0.6092, allocations: 358.2 kB / 0.794 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006527/0.6099, allocations: 499.2 kB / 0.7944 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of SimCode: time 7.52e-07/0.6099, allocations: 0 / 0.7944 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2491/0.859, allocations: 33.17 MB / 0.8268 GB, free: 217 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000138/0.8591, allocations: 232.7 kB / 0.827 GB, free: 216.8 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.174/3.033, allocations: 2.672 kB / 0.827 GB, free: 216.8 MB / 0.6231 GB (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.fmu > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1) Environment - environmentSimulation: