Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.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 Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.691/2.691, allocations: 284.9 MB / 292.4 MB, free: 10.58 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001527/0.001527, allocations: 180.9 kB / 360.6 MB, free: 7.301 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.163/2.163, allocations: 205.3 MB / 0.6191 GB, free: 12.18 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00112/0.001119, allocations: 95.34 kB / 0.7321 GB, free: 44.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.97e-05/2.971e-05, allocations: 4 kB / 0.8509 GB, free: 3.344 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8193/0.8193, allocations: 115.3 MB / 0.9634 GB, free: 78.6 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.959/7.779, allocations: 2.317 GB / 3.28 GB, free: 163.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003009/7.779, allocations: 91.02 kB / 3.28 GB, free: 163.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.368/11.15, allocations: 0.5958 GB / 3.876 GB, free: 216.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.904e-06/11.15, allocations: 0 / 3.876 GB, free: 216.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001599/11.15, allocations: 39.44 kB / 3.876 GB, free: 216.4 MB / 0.948 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.004201/11.15, allocations: 1.338 MB / 3.877 GB, free: 215.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.593e-05/11.15, allocations: 12.7 kB / 3.877 GB, free: 215.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005714/11.16, allocations: 0.5704 MB / 3.878 GB, free: 215.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004235/11.16, allocations: 0.9349 MB / 3.879 GB, free: 215.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.418e-05/11.16, allocations: 28.72 kB / 3.879 GB, free: 215.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002189/11.16, allocations: 46.75 kB / 3.879 GB, free: 215.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00187/11.16, allocations: 0.5653 MB / 3.879 GB, free: 215.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001859/11.17, allocations: 0.7997 MB / 3.88 GB, free: 215.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.655e-05/11.17, allocations: 8.719 kB / 3.88 GB, free: 215.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001084/11.17, allocations: 2.75 kB / 3.88 GB, free: 215.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.018e-05/11.17, allocations: 17.59 kB / 3.88 GB, free: 215.2 MB / 0.948 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.009307/11.18, allocations: 4.819 MB / 3.885 GB, free: 212.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001793/11.18, allocations: 0.5555 MB / 3.885 GB, free: 212.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007812/11.18, allocations: 291.4 kB / 3.886 GB, free: 212.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001568/11.18, allocations: 1.594 MB / 3.887 GB, free: 210.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00107/11.18, allocations: 381.9 kB / 3.888 GB, free: 210.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=61): time 4.529e-06/11.18, allocations: 0 / 3.888 GB, free: 210.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=61): time 0.002933/11.18, allocations: 0.7272 MB / 3.888 GB, free: 210.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.27e-05/11.18, allocations: 62.2 kB / 3.888 GB, free: 210.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0019/11.19, allocations: 0.8391 MB / 3.889 GB, free: 210 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002619/11.19, allocations: 28.2 kB / 3.889 GB, free: 209.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005849/11.19, allocations: 0.5612 MB / 3.89 GB, free: 209.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003418/11.19, allocations: 202.8 kB / 3.89 GB, free: 209.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.048e-05/11.19, allocations: 0 / 3.89 GB, free: 209.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.322e-05/11.19, allocations: 338.9 kB / 3.89 GB, free: 209.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007468/11.19, allocations: 247.1 kB / 3.891 GB, free: 209.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000978/11.19, allocations: 0.5686 MB / 3.891 GB, free: 209 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001512/11.19, allocations: 356.4 kB / 3.891 GB, free: 209 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.065e-05/11.19, allocations: 1.531 kB / 3.891 GB, free: 209 MB / 0.948 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00324/11.19, allocations: 0.8765 MB / 3.892 GB, free: 208.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.494e-05/11.19, allocations: 8.594 kB / 3.892 GB, free: 208.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.187e-05/11.19, allocations: 7.469 kB / 3.892 GB, free: 208.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.615e-05/11.19, allocations: 15.41 kB / 3.892 GB, free: 208.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002371/11.2, allocations: 276.4 kB / 3.893 GB, free: 208.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.208e-05/11.2, allocations: 25.02 kB / 3.893 GB, free: 208.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002482/11.2, allocations: 175.1 kB / 3.893 GB, free: 208.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002371/11.2, allocations: 50.89 kB / 3.893 GB, free: 208.8 MB / 0.948 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 (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.0003048/11.2, allocations: 153.5 kB / 3.893 GB, free: 208.7 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002789/11.2, allocations: 0.7162 MB / 3.894 GB, free: 208.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002944/11.2, allocations: 111.8 kB / 3.894 GB, free: 208.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003687/11.21, allocations: 1.026 MB / 3.895 GB, free: 208.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.671e-05/11.21, allocations: 11.59 kB / 3.895 GB, free: 208.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/11.21, allocations: 1.406 kB / 3.895 GB, free: 208.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.334e-05/11.21, allocations: 3.75 kB / 3.895 GB, free: 208.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006003/11.21, allocations: 1.992 MB / 3.897 GB, free: 208.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-05/11.21, allocations: 2.188 kB / 3.897 GB, free: 208.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001997/11.21, allocations: 210.6 kB / 3.897 GB, free: 208.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.609e-05/11.21, allocations: 5.281 kB / 3.897 GB, free: 208.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001235/11.21, allocations: 20.98 kB / 3.897 GB, free: 208.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.093e-05/11.21, allocations: 4.156 kB / 3.897 GB, free: 208.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.553e-06/11.21, allocations: 6.125 kB / 3.897 GB, free: 208.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004151/11.22, allocations: 1.524 MB / 3.899 GB, free: 207.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009518/11.22, allocations: 298.6 kB / 3.899 GB, free: 207.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002535/11.22, allocations: 14.48 kB / 3.899 GB, free: 207.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001837/11.22, allocations: 115.5 kB / 3.899 GB, free: 207.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001598/11.22, allocations: 56.03 kB / 3.899 GB, free: 207.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001261/11.22, allocations: 38.11 kB / 3.899 GB, free: 207.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001145/11.22, allocations: 0.6373 MB / 3.9 GB, free: 207.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 6.31e-07/11.22, allocations: 0 / 3.9 GB, free: 207.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002106/11.23, allocations: 373.1 kB / 3.9 GB, free: 207.4 MB / 0.948 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 61 * 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.00605/11.23, allocations: 3.12 MB / 3.903 GB, free: 206.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002041/11.23, allocations: 0.7301 MB / 3.904 GB, free: 206 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.511e-06/11.23, allocations: 3.625 kB / 3.904 GB, free: 206 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009656/11.23, allocations: 397.2 kB / 3.904 GB, free: 206 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003222/11.24, allocations: 352.3 kB / 3.904 GB, free: 206 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007802/11.25, allocations: 2.019 MB / 3.906 GB, free: 205.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007604/11.25, allocations: 1.139 MB / 3.908 GB, free: 204.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002073/11.25, allocations: 247.7 kB / 3.908 GB, free: 204.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001256/11.25, allocations: 461.5 kB / 3.908 GB, free: 204.8 MB / 0.948 GB Notification: Performance of SimCode: time 1.262e-06/11.25, allocations: 0 / 3.908 GB, free: 204.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1126/11.36, allocations: 27.57 MB / 3.935 GB, free: 203.9 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000213/11.36, allocations: 178.3 kB / 3.935 GB, free: 203.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.695/15.06, allocations: 4 kB / 3.935 GB, free: 203.7 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water.fmu > Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)