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/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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/BuildSysPro 3.5.0/package.mo): time 0.7795/0.7795, allocations: 127.4 MB / 134.9 MB, free: 3.73 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001702/0.001702, allocations: 176.8 kB / 164.7 MB, free: 6.531 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.901/1.901, allocations: 205.2 MB / 399.5 MB, free: 5.871 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001163/0.001163, allocations: 82.38 kB / 476.7 MB, free: 8.609 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.346e-05/2.348e-05, allocations: 4 kB / 0.5467 GB, free: 60.4 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1834/0.1835, allocations: 76.76 MB / 0.6216 GB, free: 15.57 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.514/6.698, allocations: 2.387 GB / 3.009 GB, free: 119.3 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002618/6.698, allocations: 92.33 kB / 3.009 GB, free: 119.3 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 2.117/8.816, allocations: 0.5796 GB / 3.589 GB, free: 55.82 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.385e-06/8.816, allocations: 0 / 3.589 GB, free: 55.82 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001161/8.816, allocations: 47.61 kB / 3.589 GB, free: 55.78 MB / 0.6511 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.002936/8.819, allocations: 1.33 MB / 3.59 GB, free: 54.41 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.582e-05/8.819, allocations: 8.031 kB / 3.59 GB, free: 54.4 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002924/8.822, allocations: 0.5903 MB / 3.591 GB, free: 53.82 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002315/8.824, allocations: 0.9158 MB / 3.591 GB, free: 52.87 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.316e-05/8.824, allocations: 24 kB / 3.591 GB, free: 52.85 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001142/8.824, allocations: 48 kB / 3.592 GB, free: 52.8 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001029/8.826, allocations: 0.5623 MB / 3.592 GB, free: 52.24 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00109/8.827, allocations: 0.803 MB / 3.593 GB, free: 51.36 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.148e-05/8.827, allocations: 4 kB / 3.593 GB, free: 51.35 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.648e-05/8.827, allocations: 0 / 3.593 GB, free: 51.35 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.653e-05/8.827, allocations: 27.89 kB / 3.593 GB, free: 51.32 MB / 0.6511 GB Warning: The model contains alias variables with conflicting start and/or 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.005405/8.832, allocations: 5.602 MB / 3.598 GB, free: 45.3 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009083/8.833, allocations: 0.5876 MB / 3.599 GB, free: 44.71 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002793/8.833, allocations: 230.1 kB / 3.599 GB, free: 44.48 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006333/8.834, allocations: 0.7743 MB / 3.6 GB, free: 43.55 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004543/8.834, allocations: 342.7 kB / 3.6 GB, free: 43.2 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=50): time 3.076e-06/8.834, allocations: 0 / 3.6 GB, free: 43.2 MB / 0.6511 GB Notification: Performance of matching and sorting (n=50): time 0.001278/8.836, allocations: 0.612 MB / 3.601 GB, free: 42.58 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.286e-05/8.836, allocations: 55.84 kB / 3.601 GB, free: 42.52 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009312/8.837, allocations: 0.8872 MB / 3.602 GB, free: 41.61 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.516e-05/8.837, allocations: 33.81 kB / 3.602 GB, free: 41.57 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003499/8.837, allocations: 0.5924 MB / 3.602 GB, free: 40.97 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001243/8.837, allocations: 165.7 kB / 3.603 GB, free: 40.81 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.385e-05/8.837, allocations: 0 / 3.603 GB, free: 40.81 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.517e-05/8.837, allocations: 341.9 kB / 3.603 GB, free: 40.47 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003298/8.838, allocations: 242.6 kB / 3.603 GB, free: 40.23 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004967/8.838, allocations: 0.5596 MB / 3.604 GB, free: 39.52 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007678/8.839, allocations: 341.8 kB / 3.604 GB, free: 39.19 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/8.839, allocations: 0 / 3.604 GB, free: 39.19 MB / 0.6511 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.00147/8.841, allocations: 0.8687 MB / 3.605 GB, free: 38.32 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/8.841, allocations: 8 kB / 3.605 GB, free: 38.31 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/8.841, allocations: 8 kB / 3.605 GB, free: 38.3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.576e-05/8.841, allocations: 16 kB / 3.605 GB, free: 38.29 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00112/8.842, allocations: 271.9 kB / 3.605 GB, free: 38.02 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.308e-05/8.842, allocations: 15.94 kB / 3.605 GB, free: 38 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001209/8.843, allocations: 185.9 kB / 3.605 GB, free: 37.82 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-05/8.843, allocations: 47.97 kB / 3.605 GB, free: 37.78 MB / 0.6511 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 99 * 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.0001955/8.843, allocations: 142.9 kB / 3.605 GB, free: 37.63 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001032/8.844, allocations: 0.6158 MB / 3.606 GB, free: 37.01 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001191/8.845, allocations: 106.7 kB / 3.606 GB, free: 36.9 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001536/8.846, allocations: 0.8255 MB / 3.607 GB, free: 36.07 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.498e-06/8.846, allocations: 4 kB / 3.607 GB, free: 36.07 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/8.846, allocations: 0 / 3.607 GB, free: 36.07 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.026e-06/8.846, allocations: 3.984 kB / 3.607 GB, free: 36.06 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00108/8.847, allocations: 0.774 MB / 3.608 GB, free: 35.27 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.135e-06/8.847, allocations: 3.984 kB / 3.608 GB, free: 35.26 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009402/8.848, allocations: 183.1 kB / 3.608 GB, free: 35.09 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.087e-06/8.848, allocations: 7.938 kB / 3.608 GB, free: 35.08 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.276e-05/8.848, allocations: 19.97 kB / 3.608 GB, free: 35.06 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/8.848, allocations: 0 / 3.608 GB, free: 35.06 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/8.848, allocations: 0 / 3.608 GB, free: 35.06 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001602/8.85, allocations: 1.082 MB / 3.609 GB, free: 33.96 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003363/8.85, allocations: 219.5 kB / 3.609 GB, free: 33.72 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001487/8.85, allocations: 8 kB / 3.609 GB, free: 33.71 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000855/8.851, allocations: 119.8 kB / 3.609 GB, free: 33.6 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/8.851, allocations: 40.5 kB / 3.609 GB, free: 33.56 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.672e-05/8.851, allocations: 23.97 kB / 3.609 GB, free: 33.54 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0008485/8.852, allocations: 0.6643 MB / 3.61 GB, free: 32.86 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.9e-07/8.852, allocations: 0 / 3.61 GB, free: 32.86 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001657/8.854, allocations: 375.4 kB / 3.61 GB, free: 32.5 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.004405/8.858, allocations: 2.285 MB / 3.613 GB, free: 30.29 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001399/8.86, allocations: 0.6377 MB / 3.613 GB, free: 29.65 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/8.86, allocations: 0 / 3.613 GB, free: 29.65 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004539/8.86, allocations: 312 kB / 3.614 GB, free: 29.35 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002377/8.863, allocations: 321.2 kB / 3.614 GB, free: 29.04 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005173/8.868, allocations: 1.832 MB / 3.616 GB, free: 27.16 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006426/8.869, allocations: 1.118 MB / 3.617 GB, free: 26.01 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001151/8.87, allocations: 230.7 kB / 3.617 GB, free: 25.79 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007426/8.87, allocations: 447.2 kB / 3.617 GB, free: 25.35 MB / 0.6511 GB Notification: Performance of SimCode: time 1.293e-06/8.87, allocations: 0 / 3.617 GB, free: 25.35 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5508/9.421, allocations: 26.97 MB / 3.644 GB, free: 120.9 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002401/9.422, allocations: 188.2 kB / 3.644 GB, free: 120.7 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.148/12.57, allocations: 0 / 3.644 GB, free: 120.7 MB / 0.6511 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)