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.001109/0.001109, allocations: 100.8 kB / 16.27 MB, free: 5.93 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.001156/0.001156, allocations: 189.6 kB / 17.2 MB, free: 5.574 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.306/1.306, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7324/0.7324, allocations: 122.9 MB / 413.9 MB, free: 15.79 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001439/0.00144, allocations: 67.89 kB / 0.4912 GB, free: 7.355 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3428/0.3443, allocations: 77.91 MB / 0.5673 GB, free: 32.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.5164/0.8607, allocations: 193.8 MB / 0.7565 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01023/0.871, allocations: 5.149 MB / 0.7616 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001866/0.8729, allocations: 49.34 kB / 0.7616 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002218/0.8752, allocations: 0.8115 MB / 0.7624 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00754/0.8828, allocations: 2.601 MB / 0.7649 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003313/0.8861, allocations: 1.109 MB / 0.766 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003878/0.89, allocations: 2.673 MB / 0.7686 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001836/0.8919, allocations: 0.9435 MB / 0.7695 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002451/0.8943, allocations: 1.103 MB / 0.7706 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001828/0.8962, allocations: 0.986 MB / 0.7716 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004168/0.8966, allocations: 87.61 kB / 0.7717 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004168/0.9008, allocations: 1.788 MB / 0.7734 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007983/0.9016, allocations: 460.9 kB / 0.7739 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001854/0.9035, allocations: 0.6621 MB / 0.7745 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00554/0.909, allocations: 2.18 MB / 0.7766 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.9091, allocations: 0.6562 kB / 0.7766 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.964e-06/0.9091, allocations: 0 / 0.7766 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.764e-05/0.9092, allocations: 0.9375 kB / 0.7766 GB, free: 1.379 MB / 0.5762 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.006149/0.9153, allocations: 1.958 MB / 0.7785 GB, free: 16.43 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/0.9154, allocations: 8.656 kB / 0.7786 GB, free: 16.43 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001872/0.9156, allocations: 143.7 kB / 0.7787 GB, free: 16.39 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005654/0.9212, allocations: 0.8958 MB / 0.7796 GB, free: 16.31 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001402/0.9227, allocations: 0.9069 MB / 0.7805 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.372e-05/0.9227, allocations: 72.06 kB / 0.7805 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001548/0.9229, allocations: 89.62 kB / 0.7806 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003395/0.9263, allocations: 1.585 MB / 0.7822 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.962e-05/0.9263, allocations: 3.188 kB / 0.7822 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001056/0.9264, allocations: 33.81 kB / 0.7822 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.832e-05/0.9265, allocations: 47.66 kB / 0.7822 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004749/0.9312, allocations: 1.853 MB / 0.784 GB, free: 15.78 MB / 0.5919 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.00713/0.9384, allocations: 4.752 MB / 0.7887 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004115/0.9425, allocations: 1.554 MB / 0.7902 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002111/0.9446, allocations: 0.8555 MB / 0.791 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001274/0.9459, allocations: 0.9419 MB / 0.792 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002383/0.9483, allocations: 0.9142 MB / 0.7929 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=95): time 4.289e-06/0.9484, allocations: 0 / 0.7929 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of matching and sorting (n=95): time 0.008019/0.9564, allocations: 2.454 MB / 0.7952 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.025e-05/0.9565, allocations: 62.91 kB / 0.7953 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001733/0.9582, allocations: 1.195 MB / 0.7965 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001371/0.9584, allocations: 47.86 kB / 0.7965 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003988/0.9588, allocations: 0.5413 MB / 0.7971 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000316/0.9591, allocations: 330.3 kB / 0.7974 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003362/0.9594, allocations: 182.9 kB / 0.7975 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.9596, allocations: 352.2 kB / 0.7979 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002112/0.9617, allocations: 0.697 MB / 0.7986 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002227/0.9639, allocations: 0.9159 MB / 0.7995 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004369/0.9683, allocations: 1.551 MB / 0.801 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.186e-06/0.9683, allocations: 2.219 kB / 0.801 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005342/0.9737, allocations: 1.781 MB / 0.8027 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.9737, allocations: 6.688 kB / 0.8027 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-05/0.9737, allocations: 10.22 kB / 0.8027 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.31e-05/0.9738, allocations: 7.375 kB / 0.8027 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001714/0.9755, allocations: 344.2 kB / 0.8031 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.664e-05/0.9755, allocations: 16.31 kB / 0.8031 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001748/0.9773, allocations: 233.8 kB / 0.8033 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001312/0.9774, allocations: 52.19 kB / 0.8033 GB, free: 11.04 MB / 0.5919 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.0006166/0.9781, allocations: 334.2 kB / 0.8037 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003728/0.9784, allocations: 134.8 kB / 0.8038 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005122/0.9836, allocations: 1.804 MB / 0.8056 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.171e-05/0.9836, allocations: 8.406 kB / 0.8056 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.378e-06/0.9836, allocations: 0 / 0.8056 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.317e-05/0.9836, allocations: 6.453 kB / 0.8056 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008006/0.9916, allocations: 3.337 MB / 0.8088 GB, free: 9.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.478e-06/0.9917, allocations: 2.938 kB / 0.8088 GB, free: 9.02 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001658/0.9933, allocations: 296.5 kB / 0.8091 GB, free: 8.938 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.788e-05/0.9934, allocations: 6.906 kB / 0.8091 GB, free: 8.938 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001075/0.9935, allocations: 35.97 kB / 0.8092 GB, free: 8.93 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.037e-05/0.9935, allocations: 9.375 kB / 0.8092 GB, free: 8.93 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.917e-06/0.9935, allocations: 10.36 kB / 0.8092 GB, free: 8.926 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00731/1.001, allocations: 2.836 MB / 0.8119 GB, free: 8 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007906/1.002, allocations: 333 kB / 0.8123 GB, free: 7.773 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003431/1.002, allocations: 22.97 kB / 0.8123 GB, free: 7.773 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001565/1.004, allocations: 154.5 kB / 0.8124 GB, free: 7.719 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001828/1.004, allocations: 77.06 kB / 0.8125 GB, free: 7.688 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.886e-05/1.004, allocations: 37.59 kB / 0.8125 GB, free: 7.68 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001343/1.005, allocations: 0.8324 MB / 0.8134 GB, free: 7.445 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.11e-07/1.005, allocations: 0 / 0.8134 GB, free: 7.445 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001237/1.007, allocations: 338.1 kB / 0.8137 GB, free: 7.422 MB / 0.5919 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.008862/1.015, allocations: 3.824 MB / 0.8174 GB, free: 5.383 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.005826/1.021, allocations: 1.785 MB / 0.8192 GB, free: 3.988 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 9.277e-06/1.021, allocations: 0 / 0.8192 GB, free: 3.988 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002569/1.024, allocations: 0.8326 MB / 0.82 GB, free: 3.348 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00376/1.028, allocations: 0.6277 MB / 0.8206 GB, free: 2.84 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0289/1.057, allocations: 12.88 MB / 0.8332 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001092/1.058, allocations: 1.183 MB / 0.8343 GB, free: 4.766 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001902/1.06, allocations: 362 kB / 0.8347 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000878/1.06, allocations: 0.5032 MB / 0.8351 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of SimCode: time 9.92e-07/1.06, allocations: 0 / 0.8351 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06502/1.126, allocations: 35.3 MB / 0.8696 GB, free: 1.027 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.186/9.312, allocations: 17.75 kB / 0.8696 GB, free: 1.012 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_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.fmu > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)