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.001171/0.001171, allocations: 102.3 kB / 16.4 MB, free: 6.496 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.001225/0.001225, allocations: 195.8 kB / 17.34 MB, free: 5.766 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.332/1.332, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7764/0.7764, allocations: 115.3 MB / 406.5 MB, free: 6.184 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 66.69 kB / 0.5572 GB, free: 32.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1519/0.1531, allocations: 76.18 MB / 0.6316 GB, free: 5.035 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.5725/0.7256, allocations: 193.8 MB / 0.8209 GB, free: 9.797 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008706/0.7344, allocations: 5.148 MB / 0.8259 GB, free: 7.434 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001604/0.736, allocations: 44.84 kB / 0.8259 GB, free: 7.414 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001898/0.738, allocations: 0.813 MB / 0.8267 GB, free: 6.848 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006942/0.7449, allocations: 2.594 MB / 0.8293 GB, free: 5.293 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002953/0.7479, allocations: 1.12 MB / 0.8304 GB, free: 4.574 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003676/0.7516, allocations: 2.681 MB / 0.833 GB, free: 3.141 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001711/0.7533, allocations: 0.943 MB / 0.8339 GB, free: 2.562 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002455/0.7558, allocations: 1.13 MB / 0.835 GB, free: 1.992 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001785/0.7576, allocations: 0.9924 MB / 0.836 GB, free: 1.504 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003547/0.758, allocations: 87.25 kB / 0.8361 GB, free: 1.504 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003914/0.7619, allocations: 1.792 MB / 0.8378 GB, free: 0.7422 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0006736/0.7626, allocations: 451.7 kB / 0.8382 GB, free: 464 kB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.00133/0.7639, allocations: 0.663 MB / 0.8389 GB, free: 28 kB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004729/0.7687, allocations: 2.212 MB / 0.841 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.7687, allocations: 2.219 kB / 0.8411 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.743e-06/0.7687, allocations: 0 / 0.8411 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.642e-05/0.7688, allocations: 0 / 0.8411 GB, free: 14.79 MB / 0.6075 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.006131/0.7749, allocations: 1.957 MB / 0.843 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.775, allocations: 10.09 kB / 0.843 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002799/0.7753, allocations: 148.3 kB / 0.8431 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005521/0.7808, allocations: 0.8853 MB / 0.844 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002267/0.7831, allocations: 0.982 MB / 0.8449 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.891e-05/0.7832, allocations: 69.73 kB / 0.845 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002799/0.7835, allocations: 88.59 kB / 0.8451 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003948/0.7874, allocations: 1.581 MB / 0.8466 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.332e-05/0.7875, allocations: 0 / 0.8466 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001226/0.7876, allocations: 39.47 kB / 0.8467 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-05/0.7877, allocations: 49.95 kB / 0.8467 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005155/0.7929, allocations: 1.849 MB / 0.8485 GB, free: 9.277 MB / 0.6075 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.008331/0.8012, allocations: 4.72 MB / 0.8531 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004151/0.8054, allocations: 1.566 MB / 0.8547 GB, free: 2.809 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00216/0.8076, allocations: 0.8551 MB / 0.8555 GB, free: 1.957 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001289/0.8089, allocations: 0.9464 MB / 0.8564 GB, free: 0.832 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002383/0.8113, allocations: 0.9134 MB / 0.8573 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=95): time 3.516e-06/0.8113, allocations: 0 / 0.8573 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of matching and sorting (n=95): time 0.007517/0.8188, allocations: 2.452 MB / 0.8597 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.134e-05/0.8189, allocations: 64.41 kB / 0.8598 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001661/0.8206, allocations: 1.193 MB / 0.8609 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001444/0.8208, allocations: 49.69 kB / 0.861 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004717/0.8213, allocations: 0.5409 MB / 0.8615 GB, free: 11.58 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003437/0.8216, allocations: 335.8 kB / 0.8618 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003619/0.822, allocations: 186.6 kB / 0.862 GB, free: 11.06 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.8221, allocations: 341.9 kB / 0.8623 GB, free: 10.72 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002107/0.8242, allocations: 0.7029 MB / 0.863 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002269/0.8265, allocations: 0.9062 MB / 0.8639 GB, free: 9.055 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004217/0.8307, allocations: 1.559 MB / 0.8654 GB, free: 7.441 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.367e-06/0.8308, allocations: 3.938 kB / 0.8654 GB, free: 7.438 MB / 0.6231 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004992/0.8358, allocations: 1.783 MB / 0.8672 GB, free: 5.656 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.772e-05/0.8358, allocations: 8 kB / 0.8672 GB, free: 5.648 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/0.8358, allocations: 4 kB / 0.8672 GB, free: 5.645 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.586e-05/0.8359, allocations: 8 kB / 0.8672 GB, free: 5.637 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001779/0.8377, allocations: 335.5 kB / 0.8675 GB, free: 5.309 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.659e-05/0.8377, allocations: 15.94 kB / 0.8675 GB, free: 5.293 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001719/0.8394, allocations: 237.4 kB / 0.8678 GB, free: 5.062 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000134/0.8396, allocations: 43.98 kB / 0.8678 GB, free: 5.02 MB / 0.6231 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 ($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 (121): * Single equations (assignments): 121 * 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.0006418/0.8402, allocations: 331.7 kB / 0.8681 GB, free: 4.688 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003593/0.8406, allocations: 130.4 kB / 0.8682 GB, free: 4.559 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004986/0.8456, allocations: 1.82 MB / 0.87 GB, free: 2.73 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-05/0.8456, allocations: 12 kB / 0.87 GB, free: 2.719 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/0.8456, allocations: 0 / 0.87 GB, free: 2.719 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.152e-05/0.8456, allocations: 3.984 kB / 0.87 GB, free: 2.715 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007425/0.8531, allocations: 3.339 MB / 0.8733 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.747e-05/0.8531, allocations: 4 kB / 0.8733 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001713/0.8548, allocations: 287.8 kB / 0.8736 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.921e-05/0.8549, allocations: 4 kB / 0.8736 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001153/0.855, allocations: 35.97 kB / 0.8736 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.545e-05/0.855, allocations: 7.938 kB / 0.8736 GB, free: 14.97 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.845e-06/0.855, allocations: 8 kB / 0.8736 GB, free: 14.96 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007266/0.8623, allocations: 2.843 MB / 0.8764 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006728/0.863, allocations: 319.2 kB / 0.8767 GB, free: 11.73 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003177/0.8633, allocations: 35.92 kB / 0.8767 GB, free: 11.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001573/0.8649, allocations: 162.3 kB / 0.8769 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001467/0.8651, allocations: 60.52 kB / 0.8769 GB, free: 11.48 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.669e-05/0.8652, allocations: 43.97 kB / 0.877 GB, free: 11.44 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001138/0.8663, allocations: 0.8353 MB / 0.8778 GB, free: 10.6 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8663, allocations: 0 / 0.8778 GB, free: 10.6 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001185/0.8675, allocations: 339.6 kB / 0.8781 GB, free: 10.27 MB / 0.6387 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 (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 (95): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.008524/0.8761, allocations: 3.837 MB / 0.8819 GB, free: 6.543 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004715/0.8808, allocations: 1.636 MB / 0.8835 GB, free: 4.914 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.742e-06/0.8808, allocations: 0 / 0.8835 GB, free: 4.914 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002293/0.8831, allocations: 0.8381 MB / 0.8843 GB, free: 4.078 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003124/0.8863, allocations: 0.6171 MB / 0.8849 GB, free: 3.473 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02625/0.9125, allocations: 12.03 MB / 0.8966 GB, free: 7.125 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001104/0.9137, allocations: 1.183 MB / 0.8978 GB, free: 5.914 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001493/0.9152, allocations: 362 kB / 0.8981 GB, free: 5.559 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009438/0.9162, allocations: 0.5032 MB / 0.8986 GB, free: 5.055 MB / 0.6544 GB Notification: Performance of SimCode: time 1.263e-06/0.9162, allocations: 0 / 0.8986 GB, free: 5.055 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07614/0.9923, allocations: 36.27 MB / 0.9341 GB, free: 1.141 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.994/10.99, allocations: 11.92 kB / 0.9341 GB, free: 1.129 MB / 0.6856 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/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)