Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="BuildSysPro_BuildSysPro_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.0007021/0.0007021, allocations: 91.45 kB / 15.06 MB, free: 1.098 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.0007847/0.0007848, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.304/1.304, allocations: 223.3 MB / 240 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.015/1.015, allocations: 143.4 MB / 434.4 MB, free: 13.61 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003018/0.0003018, allocations: 12 kB / 0.5161 GB, free: 11.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1443, allocations: 83.41 MB / 0.5975 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.3077/0.4521, allocations: 26.91 MB / 0.6238 GB, free: 29.27 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007683/0.4598, allocations: 6.484 MB / 0.6301 GB, free: 24.66 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00104/0.4609, allocations: 44.88 kB / 0.6302 GB, free: 24.64 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001136/0.462, allocations: 0.5464 MB / 0.6307 GB, free: 24.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002351/0.4644, allocations: 1.199 MB / 0.6319 GB, free: 23.78 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002141/0.4666, allocations: 0.9417 MB / 0.6328 GB, free: 23.32 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002246/0.4688, allocations: 2.761 MB / 0.6355 GB, free: 22.21 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000734/0.4696, allocations: 0.6404 MB / 0.6361 GB, free: 21.99 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001207/0.4708, allocations: 0.8936 MB / 0.637 GB, free: 21.64 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007108/0.4715, allocations: 0.7566 MB / 0.6377 GB, free: 21.35 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.079e-05/0.4716, allocations: 38.12 kB / 0.6378 GB, free: 21.35 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001178/0.4728, allocations: 0.4897 MB / 0.6383 GB, free: 21.18 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001943/0.473, allocations: 237.8 kB / 0.6385 GB, free: 21.08 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001945/0.4732, allocations: 229.3 kB / 0.6387 GB, free: 20.95 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009284/0.4741, allocations: 1.062 MB / 0.6397 GB, free: 20.66 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.4741, allocations: 0 / 0.6397 GB, free: 20.66 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.433e-06/0.4741, allocations: 0 / 0.6397 GB, free: 20.66 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.131e-05/0.4741, allocations: 0 / 0.6397 GB, free: 20.66 MB / 0.4981 GB 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.001979/0.4761, allocations: 1.383 MB / 0.6411 GB, free: 19.71 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.4762, allocations: 7.875 kB / 0.6411 GB, free: 19.71 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001085/0.4763, allocations: 115.3 kB / 0.6412 GB, free: 19.62 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002845/0.4791, allocations: 0.6319 MB / 0.6418 GB, free: 19.52 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001009/0.4802, allocations: 0.76 MB / 0.6426 GB, free: 19.05 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.501e-05/0.4802, allocations: 60.42 kB / 0.6426 GB, free: 19.03 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001068/0.4803, allocations: 71.78 kB / 0.6427 GB, free: 19 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001926/0.4823, allocations: 1.112 MB / 0.6438 GB, free: 18.49 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.821e-05/0.4823, allocations: 0 / 0.6438 GB, free: 18.49 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.665e-05/0.4824, allocations: 34.5 kB / 0.6438 GB, free: 18.46 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.72e-05/0.4824, allocations: 18.38 kB / 0.6438 GB, free: 18.46 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002409/0.4848, allocations: 1.02 MB / 0.6448 GB, free: 18.2 MB / 0.4981 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.004278/0.4891, allocations: 4.981 MB / 0.6497 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002489/0.4916, allocations: 0.9481 MB / 0.6506 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001251/0.4929, allocations: 498.2 kB / 0.6511 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001011/0.4939, allocations: 1.602 MB / 0.6527 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001492/0.4954, allocations: 0.5824 MB / 0.6532 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=61): time 2.996e-06/0.4954, allocations: 0 / 0.6532 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of matching and sorting (n=61): time 0.004326/0.4997, allocations: 1.516 MB / 0.6547 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.027e-05/0.4998, allocations: 63.77 kB / 0.6548 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001351/0.5011, allocations: 1.103 MB / 0.6558 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.079e-05/0.5012, allocations: 38.67 kB / 0.6559 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003672/0.5016, allocations: 0.5462 MB / 0.6564 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001623/0.5018, allocations: 213.5 kB / 0.6566 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.467e-05/0.5018, allocations: 15 kB / 0.6566 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.038e-05/0.5019, allocations: 338.8 kB / 0.657 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001332/0.5032, allocations: 457.8 kB / 0.6574 GB, free: 9.984 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001497/0.5047, allocations: 0.7237 MB / 0.6581 GB, free: 9.543 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001393/0.5061, allocations: 0.4888 MB / 0.6586 GB, free: 9.387 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.314e-06/0.5062, allocations: 6.625 kB / 0.6586 GB, free: 9.383 MB / 0.4981 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0032/0.5094, allocations: 1.284 MB / 0.6598 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/0.5094, allocations: 8.781 kB / 0.6598 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.391e-05/0.5094, allocations: 7.906 kB / 0.6599 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.623e-05/0.5094, allocations: 17.56 kB / 0.6599 GB, free: 8.961 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001163/0.5106, allocations: 278.6 kB / 0.6601 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.349e-05/0.5106, allocations: 17.09 kB / 0.6602 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001173/0.5118, allocations: 212.4 kB / 0.6604 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.63e-05/0.5119, allocations: 44.36 kB / 0.6604 GB, free: 8.852 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$PRE.setHeaHigPow.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaCooUnl.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 (100): * Single equations (assignments): 100 * 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.0004143/0.5124, allocations: 292.6 kB / 0.6607 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001374/0.5125, allocations: 119.3 kB / 0.6608 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003558/0.5161, allocations: 1.376 MB / 0.6621 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.268e-05/0.5161, allocations: 12.69 kB / 0.6621 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.5161, allocations: 2.109 kB / 0.6621 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.179e-05/0.5161, allocations: 7.078 kB / 0.6622 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004613/0.5207, allocations: 2.389 MB / 0.6645 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.446e-06/0.5208, allocations: 1.875 kB / 0.6645 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009559/0.5217, allocations: 197.7 kB / 0.6647 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-05/0.5218, allocations: 8.797 kB / 0.6647 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.811e-05/0.5218, allocations: 26.67 kB / 0.6647 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.384e-06/0.5218, allocations: 4.344 kB / 0.6647 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.5219, allocations: 2.031 kB / 0.6647 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004646/0.5265, allocations: 2.001 MB / 0.6667 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005864/0.5271, allocations: 289.2 kB / 0.6669 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001462/0.5273, allocations: 19.48 kB / 0.667 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009122/0.5282, allocations: 129.9 kB / 0.6671 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001304/0.5283, allocations: 49.33 kB / 0.6671 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.166e-05/0.5284, allocations: 34.03 kB / 0.6672 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00122/0.5296, allocations: 0.755 MB / 0.6679 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.21e-07/0.5296, allocations: 0 / 0.6679 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001253/0.5309, allocations: 343.1 kB / 0.6682 GB, free: 5.758 MB / 0.4981 GB 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 (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.006037/0.537, allocations: 3.104 MB / 0.6713 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003235/0.5402, allocations: 1.127 MB / 0.6724 GB, free: 4 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.5402, allocations: 0 / 0.6724 GB, free: 4 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001555/0.5418, allocations: 0.584 MB / 0.6729 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002756/0.5446, allocations: 437.3 kB / 0.6734 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01456/0.5591, allocations: 7.645 MB / 0.6808 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007847/0.5599, allocations: 1.108 MB / 0.6819 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001277/0.5612, allocations: 253.5 kB / 0.6821 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006749/0.5619, allocations: 457.3 kB / 0.6826 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of SimCode: time 1.002e-06/0.5619, allocations: 0 / 0.6826 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04975/0.6117, allocations: 29.38 MB / 0.7113 GB, free: 6.891 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001803/0.6119, allocations: 238.8 kB / 0.7115 GB, free: 6.602 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.368/2.98, allocations: 3.5 kB / 0.7115 GB, free: 6.602 MB / 0.5294 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_Water_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_Water.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) Environment - environmentSimulation: