Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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_Water,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_Water",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.001123/0.001123, allocations: 104.9 kB / 16.27 MB, free: 6.109 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.001168/0.001168, allocations: 191.5 kB / 17.2 MB, free: 5.723 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.278/1.278, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7504/0.7504, allocations: 122.8 MB / 413.9 MB, free: 15.95 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 63.91 kB / 0.4912 GB, free: 7.434 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3738/0.3751, allocations: 77.93 MB / 0.5673 GB, free: 32.63 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.02424/0.3994, allocations: 29.32 MB / 0.5959 GB, free: 10.9 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.009519/0.409, allocations: 6.868 MB / 0.6026 GB, free: 5.332 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001853/0.4109, allocations: 51.41 kB / 0.6027 GB, free: 5.309 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001596/0.4125, allocations: 0.6854 MB / 0.6033 GB, free: 4.797 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003452/0.416, allocations: 1.463 MB / 0.6048 GB, free: 3.668 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002528/0.4186, allocations: 1.149 MB / 0.6059 GB, free: 2.809 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002577/0.4212, allocations: 2.466 MB / 0.6083 GB, free: 0.8008 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009157/0.4221, allocations: 0.8004 MB / 0.6091 GB, free: 15.99 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001697/0.4238, allocations: 1.004 MB / 0.6101 GB, free: 14.98 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009629/0.4248, allocations: 0.813 MB / 0.6109 GB, free: 14.16 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001233/0.4249, allocations: 68 kB / 0.6109 GB, free: 14.1 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001725/0.4267, allocations: 0.8149 MB / 0.6117 GB, free: 13.28 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002622/0.4269, allocations: 278.9 kB / 0.612 GB, free: 13.01 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005099/0.4274, allocations: 0.5553 MB / 0.6125 GB, free: 12.45 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002073/0.4295, allocations: 1.585 MB / 0.6141 GB, free: 10.86 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.4295, allocations: 0 / 0.6141 GB, free: 10.86 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.4296, allocations: 0 / 0.6141 GB, free: 10.86 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.776e-05/0.4296, allocations: 4 kB / 0.6141 GB, free: 10.86 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.002586/0.4322, allocations: 1.562 MB / 0.6156 GB, free: 9.238 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.4322, allocations: 8.625 kB / 0.6156 GB, free: 9.23 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001275/0.4324, allocations: 118.7 kB / 0.6157 GB, free: 9.105 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003396/0.4358, allocations: 0.5885 MB / 0.6163 GB, free: 8.516 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001287/0.4371, allocations: 0.8017 MB / 0.6171 GB, free: 7.66 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.935e-05/0.4371, allocations: 62.12 kB / 0.6171 GB, free: 7.598 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000134/0.4373, allocations: 75.98 kB / 0.6172 GB, free: 7.523 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002446/0.4397, allocations: 1.099 MB / 0.6183 GB, free: 6.344 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/0.4398, allocations: 4 kB / 0.6183 GB, free: 6.34 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.803e-05/0.4398, allocations: 28 kB / 0.6183 GB, free: 6.312 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.004e-05/0.4399, allocations: 23.88 kB / 0.6183 GB, free: 6.289 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002985/0.4429, allocations: 1 MB / 0.6193 GB, free: 5.289 MB / 462.1 MB 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.005245/0.4481, allocations: 4.968 MB / 0.6242 GB, free: 36 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002971/0.4511, allocations: 0.9028 MB / 0.625 GB, free: 15.12 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001464/0.4526, allocations: 494.1 kB / 0.6255 GB, free: 14.64 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001431/0.454, allocations: 1.588 MB / 0.6271 GB, free: 12.7 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001702/0.4557, allocations: 0.5807 MB / 0.6276 GB, free: 12.11 MB / 478.1 MB Notification: Performance of pre-optimization done (n=61): time 5.21e-06/0.4558, allocations: 0 / 0.6276 GB, free: 12.11 MB / 478.1 MB Notification: Performance of matching and sorting (n=61): time 0.004787/0.4606, allocations: 1.477 MB / 0.6291 GB, free: 10.62 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.342e-05/0.4606, allocations: 67.95 kB / 0.6291 GB, free: 10.54 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001599/0.4622, allocations: 1.116 MB / 0.6302 GB, free: 9.41 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 7.468e-05/0.4623, allocations: 37.7 kB / 0.6303 GB, free: 9.367 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004888/0.4628, allocations: 0.5434 MB / 0.6308 GB, free: 8.816 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002298/0.463, allocations: 209.1 kB / 0.631 GB, free: 8.609 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000294/0.4633, allocations: 166.5 kB / 0.6312 GB, free: 8.441 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.4635, allocations: 334 kB / 0.6315 GB, free: 8.109 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001472/0.465, allocations: 449.6 kB / 0.6319 GB, free: 7.672 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001721/0.4667, allocations: 0.7203 MB / 0.6326 GB, free: 6.836 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00316/0.4699, allocations: 1.117 MB / 0.6337 GB, free: 5.617 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.151e-05/0.4699, allocations: 0 / 0.6337 GB, free: 5.617 MB / 478.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003747/0.4736, allocations: 1.278 MB / 0.6349 GB, free: 4.328 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.207e-05/0.4737, allocations: 8.938 kB / 0.635 GB, free: 4.32 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.174e-05/0.4737, allocations: 8 kB / 0.635 GB, free: 4.312 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.56e-05/0.4738, allocations: 16 kB / 0.635 GB, free: 4.297 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001246/0.475, allocations: 263.6 kB / 0.6352 GB, free: 4.039 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.859e-05/0.4751, allocations: 19.92 kB / 0.6353 GB, free: 4.02 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001335/0.4764, allocations: 182.9 kB / 0.6354 GB, free: 3.84 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001364/0.4766, allocations: 43.98 kB / 0.6355 GB, free: 3.797 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (100): * Single equations (assignments): 100 * 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.000615/0.4772, allocations: 295.8 kB / 0.6357 GB, free: 3.5 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000318/0.4775, allocations: 122.4 kB / 0.6359 GB, free: 3.379 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003948/0.4815, allocations: 1.369 MB / 0.6372 GB, free: 2 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.799e-05/0.4815, allocations: 8 kB / 0.6372 GB, free: 1.992 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/0.4815, allocations: 3.984 kB / 0.6372 GB, free: 1.988 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.747e-06/0.4815, allocations: 0 / 0.6372 GB, free: 1.988 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005218/0.4867, allocations: 2.37 MB / 0.6395 GB, free: 15.55 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-05/0.4868, allocations: 8.172 kB / 0.6395 GB, free: 15.54 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001035/0.4878, allocations: 183.8 kB / 0.6397 GB, free: 15.36 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.167e-05/0.4878, allocations: 4 kB / 0.6397 GB, free: 15.36 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.785e-05/0.4879, allocations: 31.97 kB / 0.6397 GB, free: 15.32 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.876e-06/0.4879, allocations: 11.88 kB / 0.6398 GB, free: 15.31 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.4879, allocations: 3.938 kB / 0.6398 GB, free: 15.31 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005234/0.4932, allocations: 1.973 MB / 0.6417 GB, free: 13.3 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005518/0.4937, allocations: 275.3 kB / 0.642 GB, free: 13.01 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002168/0.494, allocations: 16 kB / 0.642 GB, free: 13 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009939/0.495, allocations: 107.9 kB / 0.6421 GB, free: 12.89 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001225/0.4951, allocations: 52.42 kB / 0.6421 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.292e-05/0.4952, allocations: 39.97 kB / 0.6422 GB, free: 12.8 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0009819/0.4962, allocations: 0.7599 MB / 0.6429 GB, free: 12.04 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4962, allocations: 0 / 0.6429 GB, free: 12.04 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001046/0.4972, allocations: 351.5 kB / 0.6432 GB, free: 11.69 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (70): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.006861/0.5041, allocations: 3.074 MB / 0.6462 GB, free: 8.77 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003777/0.5079, allocations: 1.181 MB / 0.6474 GB, free: 7.594 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.5079, allocations: 0 / 0.6474 GB, free: 7.594 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001672/0.5096, allocations: 0.5814 MB / 0.648 GB, free: 7.016 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00224/0.5119, allocations: 452.6 kB / 0.6484 GB, free: 6.59 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01872/0.5306, allocations: 10.2 MB / 0.6584 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000718/0.5314, allocations: 1.108 MB / 0.6594 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00105/0.5324, allocations: 244.6 kB / 0.6597 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006385/0.5331, allocations: 467.2 kB / 0.6601 GB, free: 9.98 MB / 0.4981 GB Notification: Performance of SimCode: time 8.22e-07/0.5331, allocations: 0 / 0.6601 GB, free: 9.98 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06106/0.5941, allocations: 30.32 MB / 0.6897 GB, free: 12 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.039/8.633, allocations: 2.031 kB / 0.6897 GB, free: 12 MB / 0.5294 GB (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water_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_Water.fmu > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)