Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="Buildings_8_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="Buildings_8_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.66/1.66, allocations: 292.6 MB / 307.5 MB, free: 5.207 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.001066/0.001066, allocations: 189 kB / 377.1 MB, free: 1.527 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.389/1.389, allocations: 205.4 MB / 0.6366 GB, free: 8.629 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.0008406/0.0008406, allocations: 92.89 kB / 0.7509 GB, free: 62.99 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003298/0.0003297, allocations: 8 kB / 0.8749 GB, free: 11.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2176/0.2179, allocations: 116.3 MB / 0.9884 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.607/4.825, allocations: 2.069 GB / 3.057 GB, free: 128.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002584/4.826, allocations: 88.89 kB / 3.057 GB, free: 128.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.698/7.523, allocations: 0.6812 GB / 3.739 GB, free: 152.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.883e-06/7.523, allocations: 0 / 3.739 GB, free: 152.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001342/7.524, allocations: 51.61 kB / 3.739 GB, free: 152.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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.00773/7.531, allocations: 1.956 MB / 3.74 GB, free: 151.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 7.524e-05/7.531, allocations: 7.312 kB / 3.741 GB, free: 151.2 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002945/7.532, allocations: 145.7 kB / 3.741 GB, free: 151.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005309/7.537, allocations: 0.8815 MB / 3.742 GB, free: 150.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003531/7.541, allocations: 1.112 MB / 3.743 GB, free: 150.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.583e-05/7.541, allocations: 77.52 kB / 3.743 GB, free: 150.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001837/7.541, allocations: 89.5 kB / 3.743 GB, free: 150.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003631/7.545, allocations: 1.545 MB / 3.744 GB, free: 149.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.61e-05/7.545, allocations: 7.938 kB / 3.744 GB, free: 149.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001096/7.545, allocations: 31.84 kB / 3.744 GB, free: 149.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.166e-05/7.545, allocations: 48.7 kB / 3.744 GB, free: 149.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004469/7.549, allocations: 1.783 MB / 3.746 GB, free: 148.3 MB / 0.948 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.008064/7.557, allocations: 4.805 MB / 3.751 GB, free: 144.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004083/7.561, allocations: 1.573 MB / 3.752 GB, free: 143.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00132/7.563, allocations: 0.9465 MB / 3.753 GB, free: 142.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002164/7.565, allocations: 0.8933 MB / 3.754 GB, free: 142.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=95): time 4.979e-06/7.565, allocations: 0 / 3.754 GB, free: 142.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=95): time 0.007181/7.572, allocations: 2.431 MB / 3.756 GB, free: 141.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.467e-05/7.572, allocations: 67.05 kB / 3.757 GB, free: 141.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00148/7.574, allocations: 1.069 MB / 3.758 GB, free: 140.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001461/7.574, allocations: 53.53 kB / 3.758 GB, free: 140.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004455/7.574, allocations: 0.5524 MB / 3.758 GB, free: 140 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002677/7.575, allocations: 325.4 kB / 3.758 GB, free: 139.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.748e-05/7.575, allocations: 19.94 kB / 3.759 GB, free: 139.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001019/7.575, allocations: 349.1 kB / 3.759 GB, free: 139.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001891/7.577, allocations: 0.69 MB / 3.76 GB, free: 139.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002013/7.579, allocations: 0.9498 MB / 3.76 GB, free: 138.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001913/7.581, allocations: 0.7433 MB / 3.761 GB, free: 138.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/7.581, allocations: 3.812 kB / 3.761 GB, free: 138.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004682/7.585, allocations: 1.759 MB / 3.763 GB, free: 137.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.017e-05/7.585, allocations: 5.906 kB / 3.763 GB, free: 137.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/7.585, allocations: 3.875 kB / 3.763 GB, free: 137.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.08e-05/7.585, allocations: 10.41 kB / 3.763 GB, free: 137.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001757/7.587, allocations: 342.2 kB / 3.763 GB, free: 137.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.579e-05/7.587, allocations: 7.156 kB / 3.763 GB, free: 137.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001973/7.589, allocations: 270.7 kB / 3.764 GB, free: 137 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001344/7.589, allocations: 51.75 kB / 3.764 GB, free: 137 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (121): * Single equations (assignments): 121 * 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.0008142/7.59, allocations: 333.4 kB / 3.764 GB, free: 136.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000233/7.59, allocations: 143.2 kB / 3.764 GB, free: 136.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004663/7.595, allocations: 1.844 MB / 3.766 GB, free: 135.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/7.595, allocations: 17.69 kB / 3.766 GB, free: 135.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/7.595, allocations: 0 / 3.766 GB, free: 135.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/7.595, allocations: 6.766 kB / 3.766 GB, free: 135.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007104/7.602, allocations: 3.415 MB / 3.769 GB, free: 133.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.426e-06/7.602, allocations: 3.562 kB / 3.769 GB, free: 133.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001653/7.604, allocations: 307.8 kB / 3.769 GB, free: 133.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.768e-05/7.604, allocations: 7.531 kB / 3.769 GB, free: 133.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.612e-05/7.604, allocations: 34.31 kB / 3.77 GB, free: 133.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.776e-06/7.604, allocations: 6.875 kB / 3.77 GB, free: 133.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/7.604, allocations: 7.844 kB / 3.77 GB, free: 133.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006622/7.611, allocations: 3.076 MB / 3.773 GB, free: 130.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009563/7.612, allocations: 355.1 kB / 3.773 GB, free: 130.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001972/7.612, allocations: 27.98 kB / 3.773 GB, free: 130.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001394/7.613, allocations: 175.8 kB / 3.773 GB, free: 130.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001496/7.613, allocations: 76.8 kB / 3.773 GB, free: 130.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.237e-05/7.614, allocations: 43.97 kB / 3.773 GB, free: 130 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001114/7.615, allocations: 0.8357 MB / 3.774 GB, free: 129.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.3e-07/7.615, allocations: 0 / 3.774 GB, free: 129.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002009/7.617, allocations: 0.5191 MB / 3.774 GB, free: 128.7 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,heaCooUnl.Xi) * 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 (101): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.01013/7.627, allocations: 6.623 MB / 3.781 GB, free: 122 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0044/7.631, allocations: 1.625 MB / 3.783 GB, free: 120.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.625e-06/7.631, allocations: 0 / 3.783 GB, free: 120.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002085/7.633, allocations: 0.8342 MB / 3.783 GB, free: 119.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002925/7.636, allocations: 0.5955 MB / 3.784 GB, free: 118.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02/7.656, allocations: 12.24 MB / 3.796 GB, free: 106.2 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007709/7.657, allocations: 1.22 MB / 3.797 GB, free: 105 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001969/7.659, allocations: 381.9 kB / 3.797 GB, free: 104.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008406/7.66, allocations: 0.511 MB / 3.798 GB, free: 104.1 MB / 0.948 GB Notification: Performance of SimCode: time 1.543e-06/7.66, allocations: 3.938 kB / 3.798 GB, free: 104.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09496/7.755, allocations: 60.52 MB / 3.857 GB, free: 43.8 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002241/7.755, allocations: 219.5 kB / 3.857 GB, free: 43.56 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.636/12.39, allocations: 3.234 kB / 3.857 GB, free: 43.56 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)