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.001733/0.001733, allocations: 111.3 kB / 16.41 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.001898/0.001898, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.359/1.359, 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.7501/0.7501, allocations: 122.9 MB / 414.1 MB, free: 15.83 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 68.66 kB / 0.568 GB, free: 29.01 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.1489, allocations: 77.92 MB / 0.6441 GB, free: 9.531 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.5882/0.7372, allocations: 193.8 MB / 0.8334 GB, free: 3.473 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.00897/0.7462, allocations: 5.146 MB / 0.8384 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001459/0.7477, allocations: 47.56 kB / 0.8384 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002123/0.7498, allocations: 0.8322 MB / 0.8392 GB, free: 14.65 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.007537/0.7574, allocations: 2.688 MB / 0.8419 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003118/0.7606, allocations: 1.106 MB / 0.8429 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003483/0.7641, allocations: 2.616 MB / 0.8455 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001391/0.7655, allocations: 0.8848 MB / 0.8464 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002167/0.7677, allocations: 1.125 MB / 0.8475 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00127/0.7689, allocations: 0.9533 MB / 0.8484 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001684/0.7691, allocations: 82.12 kB / 0.8485 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003459/0.7726, allocations: 1.794 MB / 0.8502 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000448/0.7731, allocations: 446.4 kB / 0.8506 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0007593/0.7738, allocations: 0.6472 MB / 0.8513 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003616/0.7775, allocations: 2.181 MB / 0.8534 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.7775, allocations: 0 / 0.8534 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.994e-06/0.7775, allocations: 0 / 0.8534 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.776e-05/0.7775, allocations: 0 / 0.8534 GB, free: 5.559 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.005128/0.7827, allocations: 1.976 MB / 0.8553 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.7827, allocations: 12.62 kB / 0.8554 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001607/0.7829, allocations: 131.5 kB / 0.8555 GB, free: 3.508 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004431/0.7873, allocations: 0.7162 MB / 0.8562 GB, free: 2.793 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001788/0.7891, allocations: 0.9694 MB / 0.8571 GB, free: 1.766 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.517e-05/0.7892, allocations: 66 kB / 0.8572 GB, free: 1.703 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001822/0.7894, allocations: 95.97 kB / 0.8573 GB, free: 1.609 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003162/0.7926, allocations: 1.461 MB / 0.8587 GB, free: 92 kB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.39e-05/0.7926, allocations: 7.938 kB / 0.8587 GB, free: 84 kB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001064/0.7927, allocations: 35.98 kB / 0.8587 GB, free: 48 kB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.472e-05/0.7928, allocations: 54.02 kB / 0.8588 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004109/0.7969, allocations: 1.553 MB / 0.8603 GB, free: 14.44 MB / 0.6231 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.006781/0.8037, allocations: 5.035 MB / 0.8652 GB, free: 9.145 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003429/0.8071, allocations: 1.192 MB / 0.8664 GB, free: 7.941 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00174/0.8089, allocations: 0.6624 MB / 0.867 GB, free: 7.273 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001244/0.8102, allocations: 0.9371 MB / 0.868 GB, free: 6.152 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001945/0.8121, allocations: 0.7302 MB / 0.8687 GB, free: 5.41 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=82): time 2.785e-06/0.8121, allocations: 0 / 0.8687 GB, free: 5.41 MB / 0.6231 GB Notification: Performance of matching and sorting (n=82): time 0.006183/0.8183, allocations: 1.953 MB / 0.8706 GB, free: 3.449 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.86e-05/0.8184, allocations: 60.06 kB / 0.8706 GB, free: 3.379 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001521/0.8199, allocations: 1.272 MB / 0.8719 GB, free: 2.102 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001218/0.8201, allocations: 45.64 kB / 0.8719 GB, free: 2.051 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004283/0.8205, allocations: 0.5763 MB / 0.8725 GB, free: 1.469 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002672/0.8208, allocations: 297.5 kB / 0.8728 GB, free: 1.176 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002984/0.8211, allocations: 182.6 kB / 0.8729 GB, free: 0.9922 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.8212, allocations: 341.9 kB / 0.8733 GB, free: 0.6523 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001659/0.8229, allocations: 0.5562 MB / 0.8738 GB, free: 96 kB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001841/0.8247, allocations: 0.8208 MB / 0.8746 GB, free: 15.17 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003446/0.8282, allocations: 1.336 MB / 0.8759 GB, free: 13.74 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/0.8282, allocations: 4 kB / 0.8759 GB, free: 13.74 MB / 0.6387 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004205/0.8324, allocations: 1.527 MB / 0.8774 GB, free: 12.2 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.009e-05/0.8325, allocations: 8 kB / 0.8774 GB, free: 12.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.368e-05/0.8325, allocations: 8 kB / 0.8774 GB, free: 12.19 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.698e-05/0.8325, allocations: 12 kB / 0.8774 GB, free: 12.18 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001515/0.834, allocations: 287.7 kB / 0.8777 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.237e-05/0.8341, allocations: 15.94 kB / 0.8777 GB, free: 11.88 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001466/0.8356, allocations: 199 kB / 0.8779 GB, free: 11.68 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001028/0.8357, allocations: 55.91 kB / 0.878 GB, free: 11.63 MB / 0.6387 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 ($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 (117): * Single equations (assignments): 117 * 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.0006046/0.8363, allocations: 335.7 kB / 0.8783 GB, free: 11.29 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002692/0.8366, allocations: 151.9 kB / 0.8784 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004042/0.8406, allocations: 1.444 MB / 0.8798 GB, free: 9.688 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.191e-05/0.8406, allocations: 8 kB / 0.8799 GB, free: 9.68 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.8407, allocations: 0 / 0.8799 GB, free: 9.68 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/0.8407, allocations: 7.922 kB / 0.8799 GB, free: 9.672 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006237/0.8469, allocations: 2.859 MB / 0.8827 GB, free: 6.703 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.436e-06/0.847, allocations: 4 kB / 0.8827 GB, free: 6.699 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001286/0.8483, allocations: 220.2 kB / 0.8829 GB, free: 6.484 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.802e-05/0.8483, allocations: 11.98 kB / 0.8829 GB, free: 6.473 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.409e-05/0.8484, allocations: 32.02 kB / 0.8829 GB, free: 6.441 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-05/0.8484, allocations: 17.48 kB / 0.8829 GB, free: 6.426 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/0.8484, allocations: 5.062 kB / 0.8829 GB, free: 6.422 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005704/0.8541, allocations: 2.315 MB / 0.8852 GB, free: 4.035 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006881/0.8548, allocations: 311.9 kB / 0.8855 GB, free: 3.711 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002086/0.855, allocations: 23.98 kB / 0.8855 GB, free: 3.688 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001126/0.8562, allocations: 103.9 kB / 0.8856 GB, free: 3.586 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001487/0.8563, allocations: 68.42 kB / 0.8857 GB, free: 3.52 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.914e-05/0.8564, allocations: 39.91 kB / 0.8857 GB, free: 3.48 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001106/0.8575, allocations: 0.8723 MB / 0.8866 GB, free: 2.605 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8575, allocations: 0 / 0.8866 GB, free: 2.605 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001104/0.8587, allocations: 319.7 kB / 0.8869 GB, free: 2.293 MB / 0.6387 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 (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.007127/0.8658, allocations: 3.293 MB / 0.8901 GB, free: 15.1 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003765/0.8696, allocations: 1.32 MB / 0.8914 GB, free: 13.78 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 8.425e-06/0.8696, allocations: 0 / 0.8914 GB, free: 13.78 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.00178/0.8714, allocations: 0.6599 MB / 0.892 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002918/0.8744, allocations: 0.6194 MB / 0.8926 GB, free: 12.51 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01964/0.894, allocations: 11.16 MB / 0.9035 GB, free: 0.9414 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006827/0.8947, allocations: 1.167 MB / 0.9047 GB, free: 15.75 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001203/0.8959, allocations: 350.2 kB / 0.905 GB, free: 15.4 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007314/0.8967, allocations: 499.2 kB / 0.9055 GB, free: 14.91 MB / 0.67 GB Notification: Performance of SimCode: time 7.41e-07/0.8967, allocations: 3.938 kB / 0.9055 GB, free: 14.91 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0644/0.9611, allocations: 35 MB / 0.9397 GB, free: 12.26 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.47/11.43, allocations: 2.75 kB / 0.9397 GB, free: 12.26 MB / 0.7012 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly_res.csv --start-time 0 --stop-time 1200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.48 IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.fmu > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1)