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.001627/0.001627, allocations: 95.88 kB / 15.68 MB, free: 488 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.001785/0.001785, allocations: 175.9 kB / 16.57 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.532/2.532, allocations: 223.2 MB / 240.5 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.229/1.229, allocations: 113.7 MB / 405.3 MB, free: 4.598 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006757/0.0006761, allocations: 8 kB / 493 MB, free: 8.582 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3246/0.3254, allocations: 77.12 MB / 0.5567 GB, free: 11.67 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 1.072/1.397, allocations: 160.8 MB / 0.7137 GB, free: 9.336 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01659/1.414, allocations: 5.015 MB / 0.7186 GB, free: 4.316 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002533/1.416, allocations: 43.69 kB / 0.7186 GB, free: 4.273 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.004048/1.421, allocations: 0.7782 MB / 0.7194 GB, free: 3.492 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.01154/1.432, allocations: 1.788 MB / 0.7212 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.008217/1.44, allocations: 1.165 MB / 0.7223 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.00721/1.448, allocations: 1.622 MB / 0.7239 GB, free: 14.92 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003882/1.452, allocations: 0.7767 MB / 0.7246 GB, free: 14.12 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004798/1.457, allocations: 0.9539 MB / 0.7256 GB, free: 13.17 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002849/1.459, allocations: 0.6849 MB / 0.7262 GB, free: 12.48 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0005171/1.46, allocations: 52 kB / 0.7263 GB, free: 12.43 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005959/1.466, allocations: 0.9321 MB / 0.7272 GB, free: 11.5 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.001148/1.467, allocations: 370.8 kB / 0.7275 GB, free: 11.13 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001115/1.468, allocations: 276.9 kB / 0.7278 GB, free: 10.86 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.004515/1.473, allocations: 1.307 MB / 0.7291 GB, free: 9.551 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/1.473, allocations: 0 / 0.7291 GB, free: 9.551 MB / 0.545 GB Notification: Performance of FrontEnd: time 4.689e-06/1.473, allocations: 0 / 0.7291 GB, free: 9.551 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.763e-05/1.473, allocations: 0 / 0.7291 GB, free: 9.551 MB / 0.545 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.01008/1.483, allocations: 1.666 MB / 0.7307 GB, free: 7.832 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 9.914e-05/1.483, allocations: 11.97 kB / 0.7307 GB, free: 7.82 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007268/1.484, allocations: 143.5 kB / 0.7309 GB, free: 7.672 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008104/1.492, allocations: 0.7474 MB / 0.7316 GB, free: 6.922 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003679/1.496, allocations: 0.8444 MB / 0.7324 GB, free: 6.02 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001479/1.496, allocations: 65.98 kB / 0.7325 GB, free: 5.957 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004254/1.497, allocations: 91.98 kB / 0.7326 GB, free: 5.867 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006327/1.503, allocations: 1.461 MB / 0.734 GB, free: 4.348 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.673e-05/1.503, allocations: 4 kB / 0.734 GB, free: 4.344 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000187/1.503, allocations: 39.98 kB / 0.734 GB, free: 4.305 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001174/1.503, allocations: 49.97 kB / 0.7341 GB, free: 4.258 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007716/1.511, allocations: 1.573 MB / 0.7356 GB, free: 2.684 MB / 0.545 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.0129/1.524, allocations: 4.666 MB / 0.7402 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006155/1.53, allocations: 1.243 MB / 0.7414 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007729/1.531, allocations: 169.7 kB / 0.7416 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003363/1.535, allocations: 0.7419 MB / 0.7423 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=82): time 6.182e-06/1.535, allocations: 0 / 0.7423 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of matching and sorting (n=82): time 0.0112/1.546, allocations: 2.011 MB / 0.7442 GB, free: 9.555 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.827e-05/1.546, allocations: 60.06 kB / 0.7443 GB, free: 9.484 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00301/1.549, allocations: 1.251 MB / 0.7455 GB, free: 8.227 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0003596/1.549, allocations: 45.7 kB / 0.7456 GB, free: 8.176 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009717/1.55, allocations: 0.5716 MB / 0.7461 GB, free: 7.598 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006031/1.551, allocations: 280 kB / 0.7464 GB, free: 7.32 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/1.551, allocations: 20 kB / 0.7464 GB, free: 7.301 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002313/1.551, allocations: 345.9 kB / 0.7467 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002891/1.554, allocations: 0.5562 MB / 0.7473 GB, free: 6.398 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003435/1.558, allocations: 0.8166 MB / 0.7481 GB, free: 5.496 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003157/1.561, allocations: 0.6079 MB / 0.7487 GB, free: 4.891 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.54e-05/1.561, allocations: 4 kB / 0.7487 GB, free: 4.887 MB / 0.5606 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.007332/1.568, allocations: 1.523 MB / 0.7502 GB, free: 3.352 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.528e-05/1.568, allocations: 15.92 kB / 0.7502 GB, free: 3.336 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.057e-05/1.568, allocations: 4 kB / 0.7502 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.931e-05/1.568, allocations: 12 kB / 0.7502 GB, free: 3.32 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00265/1.571, allocations: 295.1 kB / 0.7505 GB, free: 3.035 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-05/1.571, allocations: 19.92 kB / 0.7505 GB, free: 3.016 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002819/1.574, allocations: 226.7 kB / 0.7507 GB, free: 2.793 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002289/1.574, allocations: 47.97 kB / 0.7508 GB, free: 2.746 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaHigPow.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.001114/1.575, allocations: 335.7 kB / 0.7511 GB, free: 2.41 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004885/1.576, allocations: 134.3 kB / 0.7512 GB, free: 2.277 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007399/1.583, allocations: 1.468 MB / 0.7526 GB, free: 0.8008 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.07e-05/1.583, allocations: 12 kB / 0.7526 GB, free: 0.7891 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.297e-05/1.583, allocations: 4.094 kB / 0.7527 GB, free: 0.7852 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.975e-05/1.584, allocations: 7.922 kB / 0.7527 GB, free: 0.7773 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01235/1.596, allocations: 2.895 MB / 0.7555 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.939e-05/1.596, allocations: 8.062 kB / 0.7555 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002371/1.598, allocations: 239.5 kB / 0.7557 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.271e-05/1.598, allocations: 11.98 kB / 0.7557 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001463/1.599, allocations: 27.98 kB / 0.7558 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.073e-05/1.599, allocations: 11.98 kB / 0.7558 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.557e-05/1.599, allocations: 7.938 kB / 0.7558 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01078/1.609, allocations: 2.577 MB / 0.7583 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001325/1.611, allocations: 315.1 kB / 0.7586 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004442/1.611, allocations: 20 kB / 0.7586 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002128/1.613, allocations: 136.7 kB / 0.7587 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002628/1.614, allocations: 64.38 kB / 0.7588 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001569/1.614, allocations: 35.97 kB / 0.7588 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0022/1.616, allocations: 0.8684 MB / 0.7597 GB, free: 9.309 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.1e-07/1.616, allocations: 0 / 0.7597 GB, free: 9.309 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002268/1.618, allocations: 315.7 kB / 0.76 GB, free: 9 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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 (setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaHigPow.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.01428/1.633, allocations: 4.697 MB / 0.7646 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.007363/1.64, allocations: 1.324 MB / 0.7659 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.049e-05/1.64, allocations: 0 / 0.7659 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003359/1.644, allocations: 0.6676 MB / 0.7665 GB, free: 2.359 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005171/1.649, allocations: 0.5837 MB / 0.7671 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0333/1.682, allocations: 12.59 MB / 0.7794 GB, free: 4.695 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00142/1.684, allocations: 1.2 MB / 0.7806 GB, free: 3.469 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.003292/1.687, allocations: 354.2 kB / 0.7809 GB, free: 3.121 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001341/1.688, allocations: 499.2 kB / 0.7814 GB, free: 2.637 MB / 0.5919 GB Notification: Performance of SimCode: time 4.799e-06/1.688, allocations: 0 / 0.7814 GB, free: 2.637 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1148/1.803, allocations: 33.19 MB / 0.8138 GB, free: 1.898 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003547/1.804, allocations: 226.5 kB / 0.814 GB, free: 1.66 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.266/7.07, allocations: 0 / 0.814 GB, free: 1.66 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: