Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.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,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet",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.00152/0.00152, allocations: 96.03 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.002288/0.002289, allocations: 174.5 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.834/2.834, allocations: 223.2 MB / 240.5 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.14/1.14, allocations: 113.7 MB / 405.3 MB, free: 4.688 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005714/0.0005715, allocations: 12 kB / 493 MB, free: 8.613 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3387/0.3393, allocations: 77.12 MB / 0.5567 GB, free: 11.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet): time 1.142/1.482, allocations: 160.7 MB / 0.7137 GB, free: 9.348 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01672/1.499, allocations: 5.03 MB / 0.7186 GB, free: 4.309 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003454/1.502, allocations: 39.69 kB / 0.7186 GB, free: 4.27 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.004062/1.506, allocations: 0.7743 MB / 0.7194 GB, free: 3.492 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.01051/1.517, allocations: 1.784 MB / 0.7211 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.006717/1.524, allocations: 1.173 MB / 0.7223 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.006382/1.53, allocations: 1.685 MB / 0.7239 GB, free: 14.86 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002847/1.533, allocations: 0.8208 MB / 0.7247 GB, free: 14.02 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004045/1.537, allocations: 0.9695 MB / 0.7257 GB, free: 13.04 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002181/1.539, allocations: 0.7122 MB / 0.7264 GB, free: 12.33 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002592/1.539, allocations: 48 kB / 0.7264 GB, free: 12.28 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004791/1.544, allocations: 0.9321 MB / 0.7273 GB, free: 11.35 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0007009/1.545, allocations: 382.8 kB / 0.7277 GB, free: 10.97 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0007302/1.546, allocations: 265 kB / 0.728 GB, free: 10.71 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003543/1.549, allocations: 1.334 MB / 0.7293 GB, free: 9.375 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/1.549, allocations: 0 / 0.7293 GB, free: 9.375 MB / 0.545 GB Notification: Performance of FrontEnd: time 5.25e-06/1.549, allocations: 0 / 0.7293 GB, free: 9.375 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.748e-05/1.549, allocations: 0 / 0.7293 GB, free: 9.375 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.008022/1.557, allocations: 1.697 MB / 0.7309 GB, free: 7.625 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 9.895e-05/1.558, allocations: 12.03 kB / 0.7309 GB, free: 7.613 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006234/1.558, allocations: 149.2 kB / 0.7311 GB, free: 7.461 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008079/1.566, allocations: 0.9267 MB / 0.732 GB, free: 6.531 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003638/1.57, allocations: 0.8562 MB / 0.7328 GB, free: 5.617 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001407/1.57, allocations: 70 kB / 0.7329 GB, free: 5.551 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003499/1.571, allocations: 95.89 kB / 0.733 GB, free: 5.457 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005541/1.576, allocations: 1.563 MB / 0.7345 GB, free: 3.859 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.87e-05/1.576, allocations: 3.938 kB / 0.7345 GB, free: 3.855 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001711/1.576, allocations: 39.98 kB / 0.7345 GB, free: 3.816 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001185/1.577, allocations: 49.98 kB / 0.7346 GB, free: 3.77 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007488/1.584, allocations: 1.831 MB / 0.7364 GB, free: 1.938 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.01056/1.595, allocations: 4.288 MB / 0.7406 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006378/1.601, allocations: 1.6 MB / 0.7421 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007137/1.602, allocations: 178 kB / 0.7423 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003523/1.605, allocations: 0.9027 MB / 0.7432 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=95): time 5.39e-06/1.605, allocations: 0 / 0.7432 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of matching and sorting (n=95): time 0.01083/1.616, allocations: 2.431 MB / 0.7455 GB, free: 8.277 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.014e-05/1.616, allocations: 60.41 kB / 0.7456 GB, free: 8.207 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002759/1.619, allocations: 1.189 MB / 0.7468 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000288/1.62, allocations: 50.14 kB / 0.7468 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000684/1.62, allocations: 0.541 MB / 0.7473 GB, free: 6.406 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004999/1.621, allocations: 327.3 kB / 0.7476 GB, free: 6.082 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.455e-05/1.621, allocations: 19.94 kB / 0.7477 GB, free: 6.062 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001965/1.621, allocations: 345.9 kB / 0.748 GB, free: 5.719 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00293/1.624, allocations: 0.6967 MB / 0.7487 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003095/1.627, allocations: 0.884 MB / 0.7495 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00291/1.63, allocations: 0.7211 MB / 0.7502 GB, free: 3.352 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.875e-06/1.63, allocations: 0 / 0.7502 GB, free: 3.352 MB / 0.5606 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.006831/1.637, allocations: 1.756 MB / 0.752 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.495e-05/1.637, allocations: 10.34 kB / 0.752 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.839e-05/1.637, allocations: 4.438 kB / 0.752 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.536e-05/1.637, allocations: 12.75 kB / 0.752 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002411/1.64, allocations: 343.5 kB / 0.7523 GB, free: 1.227 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.908e-05/1.64, allocations: 11.94 kB / 0.7523 GB, free: 1.215 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002573/1.642, allocations: 250.8 kB / 0.7526 GB, free: 0.9688 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001709/1.642, allocations: 47.97 kB / 0.7526 GB, free: 0.9219 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (121): * Single equations (assignments): 121 * 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.0009231/1.643, allocations: 339.7 kB / 0.7529 GB, free: 0.5859 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003819/1.644, allocations: 142.2 kB / 0.7531 GB, free: 456 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006918/1.651, allocations: 1.78 MB / 0.7548 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.775e-05/1.651, allocations: 16 kB / 0.7548 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.266e-05/1.651, allocations: 0 / 0.7548 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.576e-05/1.651, allocations: 3.984 kB / 0.7548 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01055/1.661, allocations: 3.289 MB / 0.758 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.544e-05/1.661, allocations: 4 kB / 0.758 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002324/1.664, allocations: 296.1 kB / 0.7583 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-05/1.664, allocations: 8 kB / 0.7583 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001641/1.664, allocations: 31.97 kB / 0.7584 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.159e-05/1.664, allocations: 15.92 kB / 0.7584 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.017e-05/1.664, allocations: 8 kB / 0.7584 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01057/1.675, allocations: 3.009 MB / 0.7613 GB, free: 7.734 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001215/1.676, allocations: 331.2 kB / 0.7616 GB, free: 7.391 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003163/1.676, allocations: 23.98 kB / 0.7617 GB, free: 7.367 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001959/1.678, allocations: 179.9 kB / 0.7618 GB, free: 7.191 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002343/1.678, allocations: 68.41 kB / 0.7619 GB, free: 7.121 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001465/1.679, allocations: 43.97 kB / 0.7619 GB, free: 7.078 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00157/1.68, allocations: 0.8275 MB / 0.7628 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.2e-07/1.68, allocations: 0 / 0.7628 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001778/1.682, allocations: 347.5 kB / 0.7631 GB, free: 5.906 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,heaCooUnl.Xi) * 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 (95): * Single equations (assignments): 89 * 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.01366/1.696, allocations: 5.076 MB / 0.768 GB, free: 0.8828 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.006874/1.703, allocations: 1.595 MB / 0.7696 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.311e-05/1.703, allocations: 0 / 0.7696 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003324/1.706, allocations: 0.8283 MB / 0.7704 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004277/1.71, allocations: 0.5731 MB / 0.771 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02986/1.74, allocations: 12.11 MB / 0.7828 GB, free: 1.332 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001329/1.742, allocations: 1.212 MB / 0.784 GB, free: 96 kB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.002976/1.745, allocations: 358 kB / 0.7843 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00125/1.746, allocations: 0.5032 MB / 0.7848 GB, free: 15.24 MB / 0.6075 GB Notification: Performance of SimCode: time 4.298e-06/1.746, allocations: 3.938 kB / 0.7848 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1052/1.851, allocations: 33.7 MB / 0.8177 GB, free: 13.97 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003944/1.852, allocations: 217.5 kB / 0.8179 GB, free: 13.73 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.188/7.039, allocations: 3.938 kB / 0.8179 GB, free: 13.73 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1) Environment - environmentSimulation: