Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.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,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.696/1.696, allocations: 288.2 MB / 303.2 MB, free: 8.223 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.00102/0.00102, allocations: 177.1 kB / 371.8 MB, free: 10.3 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.475/1.475, allocations: 205.4 MB / 0.6305 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000835/0.0008347, allocations: 103.4 kB / 0.7439 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004325/0.0004326, allocations: 15.97 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2347/0.2352, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.434/5.669, allocations: 2.068 GB / 3.047 GB, free: 249.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002782/5.669, allocations: 87.95 kB / 3.047 GB, free: 249.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.953/8.622, allocations: 0.6812 GB / 3.729 GB, free: 191.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.454e-06/8.622, allocations: 0 / 3.729 GB, free: 191.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002895/8.622, allocations: 41.56 kB / 3.729 GB, free: 191.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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.009752/8.632, allocations: 1.965 MB / 3.731 GB, free: 190.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.688e-05/8.632, allocations: 7.719 kB / 3.731 GB, free: 190.5 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000727/8.633, allocations: 141.7 kB / 3.731 GB, free: 190.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006004/8.639, allocations: 0.8845 MB / 3.732 GB, free: 190.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005162/8.644, allocations: 1.116 MB / 3.733 GB, free: 190.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001636/8.644, allocations: 67.69 kB / 3.733 GB, free: 190.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006224/8.645, allocations: 97.39 kB / 3.733 GB, free: 190.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005051/8.65, allocations: 1.535 MB / 3.734 GB, free: 190 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.218e-05/8.65, allocations: 4.688 kB / 3.734 GB, free: 190 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002329/8.65, allocations: 38.12 kB / 3.734 GB, free: 190 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.116e-05/8.651, allocations: 47.94 kB / 3.734 GB, free: 190 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005526/8.656, allocations: 1.792 MB / 3.736 GB, free: 190 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.01171/8.668, allocations: 4.796 MB / 3.741 GB, free: 188.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004389/8.672, allocations: 1.583 MB / 3.742 GB, free: 188.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001369/8.674, allocations: 0.9416 MB / 3.743 GB, free: 187.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002472/8.676, allocations: 0.8957 MB / 3.744 GB, free: 187.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=95): time 4.579e-06/8.676, allocations: 0 / 3.744 GB, free: 187.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=95): time 0.008194/8.684, allocations: 2.431 MB / 3.747 GB, free: 187 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.787e-05/8.685, allocations: 62.72 kB / 3.747 GB, free: 186.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002498/8.687, allocations: 1.071 MB / 3.748 GB, free: 186.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002336/8.687, allocations: 47.89 kB / 3.748 GB, free: 186.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000715/8.688, allocations: 0.5584 MB / 3.748 GB, free: 186.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004899/8.689, allocations: 325.8 kB / 3.749 GB, free: 186.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001092/8.689, allocations: 17.88 kB / 3.749 GB, free: 186.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001647/8.689, allocations: 347.8 kB / 3.749 GB, free: 186.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002116/8.691, allocations: 0.6888 MB / 3.75 GB, free: 186.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002473/8.693, allocations: 0.957 MB / 3.751 GB, free: 185.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002271/8.696, allocations: 0.7366 MB / 3.751 GB, free: 185.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.361e-05/8.696, allocations: 3.969 kB / 3.751 GB, free: 185.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005417/8.701, allocations: 1.768 MB / 3.753 GB, free: 185.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 4.597e-05/8.701, allocations: 9.422 kB / 3.753 GB, free: 185.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.949e-05/8.701, allocations: 7.5 kB / 3.753 GB, free: 185.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.729e-05/8.701, allocations: 10.78 kB / 3.753 GB, free: 185.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001903/8.703, allocations: 339.9 kB / 3.753 GB, free: 185.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.995e-05/8.703, allocations: 15.5 kB / 3.753 GB, free: 185.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002448/8.706, allocations: 258.7 kB / 3.754 GB, free: 185.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002309/8.706, allocations: 52.2 kB / 3.754 GB, free: 185.7 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.001131/8.707, allocations: 341.5 kB / 3.754 GB, free: 185.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006618/8.708, allocations: 136.7 kB / 3.754 GB, free: 185.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005603/8.713, allocations: 1.836 MB / 3.756 GB, free: 185.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.311e-05/8.714, allocations: 11.09 kB / 3.756 GB, free: 185.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.163e-05/8.714, allocations: 0 / 3.756 GB, free: 185.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.418e-05/8.714, allocations: 7.547 kB / 3.756 GB, free: 185.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009337/8.723, allocations: 3.42 MB / 3.759 GB, free: 184.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.439e-05/8.723, allocations: 3.594 kB / 3.759 GB, free: 184.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001808/8.725, allocations: 302.9 kB / 3.76 GB, free: 184.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.401e-05/8.725, allocations: 10.62 kB / 3.76 GB, free: 184.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001446/8.725, allocations: 37.47 kB / 3.76 GB, free: 184.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.419e-05/8.725, allocations: 7.875 kB / 3.76 GB, free: 184.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.396e-06/8.725, allocations: 3.906 kB / 3.76 GB, free: 184.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007908/8.733, allocations: 3.079 MB / 3.763 GB, free: 184.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001447/8.735, allocations: 358.1 kB / 3.763 GB, free: 184.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006444/8.735, allocations: 32.77 kB / 3.763 GB, free: 184.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002018/8.737, allocations: 181.7 kB / 3.763 GB, free: 184.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002175/8.737, allocations: 68.58 kB / 3.763 GB, free: 184.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001245/8.738, allocations: 44.42 kB / 3.763 GB, free: 184.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001913/8.74, allocations: 0.8351 MB / 3.764 GB, free: 184 MB / 0.948 GB Notification: Performance of sort global known variables: time 6.52e-07/8.74, allocations: 0 / 3.764 GB, free: 184 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002846/8.742, allocations: 0.521 MB / 3.765 GB, free: 184 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.01287/8.755, allocations: 6.62 MB / 3.771 GB, free: 181.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.005217/8.761, allocations: 1.623 MB / 3.773 GB, free: 181.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.235e-05/8.761, allocations: 0 / 3.773 GB, free: 181.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002515/8.763, allocations: 0.8365 MB / 3.773 GB, free: 181.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003858/8.767, allocations: 0.5888 MB / 3.774 GB, free: 181.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02607/8.793, allocations: 12.24 MB / 3.786 GB, free: 175.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001639/8.795, allocations: 1.23 MB / 3.787 GB, free: 175 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.00252/8.797, allocations: 371.9 kB / 3.788 GB, free: 175 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001355/8.799, allocations: 0.5193 MB / 3.788 GB, free: 175 MB / 0.948 GB Notification: Performance of SimCode: time 2.665e-06/8.799, allocations: 2.844 kB / 3.788 GB, free: 175 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1222/8.921, allocations: 60.52 MB / 3.847 GB, free: 151.9 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000215/8.921, allocations: 233.6 kB / 3.847 GB, free: 151.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.74/13.66, allocations: 0 / 3.847 GB, free: 151.7 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)