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.0009387/0.0009386, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009441/0.0009443, allocations: 177.3 kB / 15.94 MB, free: 228 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.338/1.338, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9656/0.9656, allocations: 143.3 MB / 434.3 MB, free: 13.72 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003311/0.0003312, allocations: 8 kB / 0.5159 GB, free: 11.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1614/0.1617, allocations: 83.42 MB / 0.5974 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.3021/0.4638, allocations: 24.55 MB / 0.6213 GB, free: 31.16 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007489/0.4714, allocations: 5.96 MB / 0.6272 GB, free: 26.99 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001044/0.4725, allocations: 40.16 kB / 0.6272 GB, free: 26.97 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001508/0.474, allocations: 0.6432 MB / 0.6278 GB, free: 26.7 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003131/0.4771, allocations: 1.204 MB / 0.629 GB, free: 25.96 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003393/0.4805, allocations: 1.308 MB / 0.6303 GB, free: 25.33 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003022/0.4836, allocations: 1.568 MB / 0.6318 GB, free: 24.54 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001211/0.4848, allocations: 0.6691 MB / 0.6325 GB, free: 24.3 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002121/0.4869, allocations: 0.8314 MB / 0.6333 GB, free: 23.9 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008966/0.4878, allocations: 0.5685 MB / 0.6338 GB, free: 23.67 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.332e-05/0.4879, allocations: 41.16 kB / 0.6339 GB, free: 23.67 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001836/0.4898, allocations: 0.5315 MB / 0.6344 GB, free: 23.52 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002299/0.49, allocations: 231 kB / 0.6346 GB, free: 23.42 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002901/0.4903, allocations: 234.3 kB / 0.6348 GB, free: 23.29 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00121/0.4915, allocations: 1.042 MB / 0.6358 GB, free: 23.01 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.4915, allocations: 0 / 0.6358 GB, free: 23.01 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.776e-06/0.4916, allocations: 3.938 kB / 0.6358 GB, free: 23 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.401e-05/0.4916, allocations: 3.938 kB / 0.6359 GB, free: 23 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.002235/0.4938, allocations: 1.373 MB / 0.6372 GB, free: 22.05 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/0.4939, allocations: 11.62 kB / 0.6372 GB, free: 22.05 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000124/0.494, allocations: 115.6 kB / 0.6373 GB, free: 21.97 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003297/0.4973, allocations: 0.6364 MB / 0.6379 GB, free: 21.87 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001249/0.4986, allocations: 0.76 MB / 0.6387 GB, free: 21.4 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.972e-05/0.4986, allocations: 55.19 kB / 0.6387 GB, free: 21.38 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001147/0.4988, allocations: 76.41 kB / 0.6388 GB, free: 21.35 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002057/0.5008, allocations: 1.102 MB / 0.6399 GB, free: 20.84 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/0.5009, allocations: 6.438 kB / 0.6399 GB, free: 20.83 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.19e-05/0.5009, allocations: 32.19 kB / 0.6399 GB, free: 20.81 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.41e-05/0.501, allocations: 17.91 kB / 0.6399 GB, free: 20.81 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002709/0.5037, allocations: 1.02 MB / 0.6409 GB, free: 20.55 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.004594/0.5083, allocations: 4.988 MB / 0.6458 GB, free: 16.67 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002797/0.5111, allocations: 0.9459 MB / 0.6467 GB, free: 16.43 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001239/0.5124, allocations: 1.599 MB / 0.6483 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001593/0.514, allocations: 0.5811 MB / 0.6489 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=61): time 3.206e-06/0.514, allocations: 0 / 0.6489 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of matching and sorting (n=61): time 0.004923/0.5189, allocations: 1.513 MB / 0.6503 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.86e-05/0.519, allocations: 62.47 kB / 0.6504 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00141/0.5204, allocations: 1.102 MB / 0.6515 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.777e-05/0.5205, allocations: 38.8 kB / 0.6515 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003356/0.5208, allocations: 0.5496 MB / 0.652 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001723/0.521, allocations: 212.9 kB / 0.6522 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.514e-05/0.5211, allocations: 15.81 kB / 0.6523 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.847e-05/0.5211, allocations: 335.6 kB / 0.6526 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001445/0.5226, allocations: 460.7 kB / 0.653 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001575/0.5242, allocations: 0.7211 MB / 0.6537 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001471/0.5257, allocations: 493 kB / 0.6542 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.338e-06/0.5257, allocations: 6.078 kB / 0.6542 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003625/0.5293, allocations: 1.297 MB / 0.6555 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.79e-05/0.5294, allocations: 9 kB / 0.6555 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.673e-05/0.5294, allocations: 8.062 kB / 0.6555 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.631e-05/0.5294, allocations: 13.31 kB / 0.6555 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001297/0.5307, allocations: 271.5 kB / 0.6557 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.285e-05/0.5308, allocations: 16.2 kB / 0.6558 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00144/0.5322, allocations: 207.7 kB / 0.656 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001063/0.5323, allocations: 43.83 kB / 0.656 GB, free: 11.33 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.0004891/0.5328, allocations: 293.2 kB / 0.6563 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000173/0.533, allocations: 123.3 kB / 0.6564 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004071/0.5371, allocations: 1.389 MB / 0.6578 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.143e-05/0.5371, allocations: 13.61 kB / 0.6578 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.5371, allocations: 0.9688 kB / 0.6578 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.129e-05/0.5371, allocations: 3.047 kB / 0.6578 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005349/0.5425, allocations: 2.386 MB / 0.6601 GB, free: 9.633 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.457e-06/0.5425, allocations: 5.719 kB / 0.6601 GB, free: 9.633 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001086/0.5436, allocations: 190.2 kB / 0.6603 GB, free: 9.621 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.054e-05/0.5436, allocations: 4.625 kB / 0.6603 GB, free: 9.621 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.171e-05/0.5437, allocations: 33.14 kB / 0.6603 GB, free: 9.605 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.147e-06/0.5437, allocations: 4.031 kB / 0.6603 GB, free: 9.605 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.471e-06/0.5437, allocations: 6.547 kB / 0.6603 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005454/0.5492, allocations: 2.071 MB / 0.6624 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006489/0.5499, allocations: 289.8 kB / 0.6626 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001584/0.55, allocations: 14.83 kB / 0.6627 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001023/0.5511, allocations: 137.7 kB / 0.6628 GB, free: 8.508 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001173/0.5512, allocations: 54.47 kB / 0.6628 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.173e-05/0.5513, allocations: 37.08 kB / 0.6629 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001091/0.5524, allocations: 0.755 MB / 0.6636 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5524, allocations: 0 / 0.6636 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001397/0.5538, allocations: 344.2 kB / 0.6639 GB, free: 8.125 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.007276/0.5611, allocations: 3.592 MB / 0.6674 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00395/0.5651, allocations: 1.123 MB / 0.6685 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.5651, allocations: 0 / 0.6685 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001652/0.5667, allocations: 0.586 MB / 0.6691 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002171/0.5689, allocations: 413.8 kB / 0.6695 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0181/0.587, allocations: 12.52 MB / 0.6817 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009036/0.588, allocations: 1.132 MB / 0.6828 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001478/0.5895, allocations: 245.2 kB / 0.6831 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008805/0.5904, allocations: 456.2 kB / 0.6835 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of SimCode: time 1.011e-06/0.5904, allocations: 1.25 kB / 0.6835 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05371/0.6441, allocations: 29.36 MB / 0.7122 GB, free: 5.539 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001826/0.6443, allocations: 245.2 kB / 0.7124 GB, free: 5.297 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.529/3.173, allocations: 0 / 0.7124 GB, free: 5.297 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: