Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.718/1.718, allocations: 285.4 MB / 298 MB, free: 6.008 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.001195/0.001195, allocations: 180.8 kB / 366.4 MB, free: 2.109 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.931/1.931, allocations: 205.1 MB / 0.6248 GB, free: 7.762 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.0008538/0.0008539, allocations: 105.7 kB / 0.738 GB, free: 40.3 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.214e-05/4.216e-05, allocations: 4 kB / 0.8584 GB, free: 13.04 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9166/0.9166, allocations: 115.3 MB / 0.971 GB, free: 77.85 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.371/7.288, allocations: 2.318 GB / 3.289 GB, free: 134.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002235/7.288, allocations: 83.56 kB / 3.289 GB, free: 134.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.48/9.768, allocations: 0.5991 GB / 3.888 GB, free: 220.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.473e-06/9.768, allocations: 0 / 3.888 GB, free: 220.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001024/9.769, allocations: 37.23 kB / 3.888 GB, free: 220.3 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.002563/9.771, allocations: 1.342 MB / 3.889 GB, free: 219.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/9.771, allocations: 14.44 kB / 3.889 GB, free: 219.6 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001279/9.771, allocations: 115.8 kB / 3.889 GB, free: 219.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002886/9.774, allocations: 0.578 MB / 3.89 GB, free: 219.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00321/9.777, allocations: 0.9182 MB / 3.891 GB, free: 219.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.465e-05/9.777, allocations: 63.38 kB / 3.891 GB, free: 219.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001414/9.778, allocations: 79.08 kB / 3.891 GB, free: 219.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001329/9.779, allocations: 0.8977 MB / 3.892 GB, free: 218.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.849e-05/9.779, allocations: 3.844 kB / 3.892 GB, free: 218.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.156e-05/9.779, allocations: 31.41 kB / 3.892 GB, free: 218.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.936e-05/9.779, allocations: 17.72 kB / 3.892 GB, free: 218.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009716/9.78, allocations: 0.6347 MB / 3.892 GB, free: 218.9 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.005082/9.785, allocations: 4.979 MB / 3.897 GB, free: 215.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001047/9.786, allocations: 0.5771 MB / 3.898 GB, free: 215.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000429/9.787, allocations: 311.7 kB / 3.898 GB, free: 215.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001068/9.788, allocations: 1.593 MB / 3.9 GB, free: 214 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005832/9.788, allocations: 401.7 kB / 3.9 GB, free: 214 MB / 0.948 GB Notification: Performance of pre-optimization done (n=61): time 3.437e-06/9.788, allocations: 0 / 3.9 GB, free: 214 MB / 0.948 GB Notification: Performance of matching and sorting (n=61): time 0.001401/9.79, allocations: 0.717 MB / 3.901 GB, free: 213.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.308e-05/9.79, allocations: 59.28 kB / 3.901 GB, free: 213.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001135/9.791, allocations: 0.9929 MB / 3.902 GB, free: 213.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.967e-05/9.791, allocations: 42.3 kB / 3.902 GB, free: 213.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003744/9.791, allocations: 0.5495 MB / 3.902 GB, free: 213.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001474/9.792, allocations: 208.8 kB / 3.902 GB, free: 213.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.453e-05/9.792, allocations: 18.44 kB / 3.902 GB, free: 213.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.139e-05/9.792, allocations: 336.6 kB / 3.903 GB, free: 213 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004038/9.792, allocations: 263.5 kB / 3.903 GB, free: 213 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005939/9.793, allocations: 0.5925 MB / 3.904 GB, free: 212.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004922/9.793, allocations: 318.4 kB / 3.904 GB, free: 212.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/9.793, allocations: 0 / 3.904 GB, free: 212.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001444/9.795, allocations: 0.9101 MB / 3.905 GB, free: 212.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/9.795, allocations: 12.59 kB / 3.905 GB, free: 212.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/9.795, allocations: 10.44 kB / 3.905 GB, free: 212.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.943e-05/9.795, allocations: 10.44 kB / 3.905 GB, free: 212.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001155/9.796, allocations: 278.8 kB / 3.905 GB, free: 212.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.945e-05/9.796, allocations: 18.89 kB / 3.905 GB, free: 212.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001288/9.797, allocations: 212.3 kB / 3.905 GB, free: 212.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001049/9.797, allocations: 51.08 kB / 3.905 GB, free: 212.4 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.0001994/9.798, allocations: 170.5 kB / 3.906 GB, free: 212.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001569/9.798, allocations: 126.3 kB / 3.906 GB, free: 212.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001813/9.8, allocations: 1.052 MB / 3.907 GB, free: 212.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-05/9.8, allocations: 17.97 kB / 3.907 GB, free: 212.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/9.8, allocations: 3.953 kB / 3.907 GB, free: 212.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.849e-06/9.8, allocations: 3.938 kB / 3.907 GB, free: 212.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003003/9.803, allocations: 2.105 MB / 3.909 GB, free: 211.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.095e-06/9.803, allocations: 3.844 kB / 3.909 GB, free: 211.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001007/9.804, allocations: 206.4 kB / 3.909 GB, free: 211.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.218e-05/9.804, allocations: 9.469 kB / 3.909 GB, free: 211.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.471e-05/9.804, allocations: 22.25 kB / 3.909 GB, free: 211.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.224e-06/9.804, allocations: 10.3 kB / 3.909 GB, free: 211.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/9.804, allocations: 3.844 kB / 3.909 GB, free: 211.8 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002326/9.806, allocations: 1.566 MB / 3.911 GB, free: 211.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005878/9.807, allocations: 306.5 kB / 3.911 GB, free: 211.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001503/9.807, allocations: 18.92 kB / 3.911 GB, free: 211.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009641/9.808, allocations: 134.8 kB / 3.911 GB, free: 211.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/9.808, allocations: 59 kB / 3.911 GB, free: 211.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.985e-05/9.808, allocations: 32.19 kB / 3.911 GB, free: 211.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.000976/9.809, allocations: 0.7553 MB / 3.912 GB, free: 211.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.9e-07/9.809, allocations: 3.219 kB / 3.912 GB, free: 211.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00134/9.81, allocations: 395.6 kB / 3.912 GB, free: 211.1 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.003868/9.814, allocations: 3.178 MB / 3.915 GB, free: 209.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001361/9.816, allocations: 0.7648 MB / 3.916 GB, free: 209.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/9.816, allocations: 6.781 kB / 3.916 GB, free: 209.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005788/9.816, allocations: 419.4 kB / 3.916 GB, free: 209.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002195/9.818, allocations: 441.8 kB / 3.917 GB, free: 209.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004501/9.823, allocations: 2.103 MB / 3.919 GB, free: 209.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005024/9.824, allocations: 1.141 MB / 3.92 GB, free: 208.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001115/9.825, allocations: 256.1 kB / 3.92 GB, free: 208.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006557/9.825, allocations: 474.3 kB / 3.921 GB, free: 208.2 MB / 0.948 GB Notification: Performance of SimCode: time 1.322e-06/9.825, allocations: 0 / 3.921 GB, free: 208.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05364/9.879, allocations: 33.27 MB / 3.953 GB, free: 205 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001602/9.879, allocations: 220.2 kB / 3.953 GB, free: 204.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.255/13.13, allocations: 0 / 3.953 GB, free: 204.8 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)