Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.396/1.396, allocations: 251.9 MB / 266.8 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001204/0.001204, allocations: 171.9 kB / 326.5 MB, free: 2.262 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.757/1.757, allocations: 205.4 MB / 0.5775 GB, free: 20.24 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000945/0.0009447, allocations: 95.7 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003847/0.0003847, allocations: 10.09 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2556/0.256, allocations: 106.3 MB / 0.9002 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.451/6.707, allocations: 2.186 GB / 3.086 GB, free: 246.9 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004242/6.707, allocations: 88.3 kB / 3.086 GB, free: 246.9 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.261/9.969, allocations: 0.9771 GB / 4.063 GB, free: 17.37 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.026e-06/9.969, allocations: 0 / 4.063 GB, free: 17.37 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001344/9.969, allocations: 43.92 kB / 4.063 GB, free: 17.33 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.00763/9.976, allocations: 1.926 MB / 4.065 GB, free: 15.34 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/9.976, allocations: 8.031 kB / 4.065 GB, free: 15.34 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004731/9.977, allocations: 147.4 kB / 4.066 GB, free: 15.18 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004316/9.981, allocations: 0.6967 MB / 4.066 GB, free: 14.48 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003393/9.985, allocations: 1.032 MB / 4.067 GB, free: 13.4 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.63e-05/9.985, allocations: 66 kB / 4.067 GB, free: 13.33 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002518/9.985, allocations: 88 kB / 4.067 GB, free: 13.25 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002966/9.988, allocations: 1.439 MB / 4.069 GB, free: 11.75 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.751e-05/9.988, allocations: 7.984 kB / 4.069 GB, free: 11.75 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001075/9.988, allocations: 39.95 kB / 4.069 GB, free: 11.71 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.091e-05/9.988, allocations: 41.98 kB / 4.069 GB, free: 11.66 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003583/9.992, allocations: 1.534 MB / 4.07 GB, free: 10.13 MB / 0.8855 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.007259/9.999, allocations: 5.092 MB / 4.075 GB, free: 4.785 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003006/10, allocations: 1.233 MB / 4.077 GB, free: 3.543 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001085/10, allocations: 0.941 MB / 4.077 GB, free: 2.418 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001681/10.01, allocations: 0.7263 MB / 4.078 GB, free: 1.684 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=82): time 4.148e-06/10.01, allocations: 0 / 4.078 GB, free: 1.684 MB / 0.8855 GB Notification: Performance of matching and sorting (n=82): time 0.6599/10.66, allocations: 1.971 MB / 4.08 GB, free: 176.6 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.467e-05/10.67, allocations: 65.89 kB / 4.08 GB, free: 176.6 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001987/10.67, allocations: 1.126 MB / 4.081 GB, free: 176.4 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002945/10.67, allocations: 44.45 kB / 4.081 GB, free: 176.4 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005313/10.67, allocations: 0.5892 MB / 4.082 GB, free: 176.3 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003077/10.67, allocations: 280 kB / 4.082 GB, free: 176.2 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.402e-05/10.67, allocations: 23.09 kB / 4.082 GB, free: 176.2 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.777e-05/10.67, allocations: 342.2 kB / 4.082 GB, free: 175.9 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001543/10.67, allocations: 0.5504 MB / 4.083 GB, free: 175.9 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001664/10.67, allocations: 0.8832 MB / 4.084 GB, free: 175.5 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001616/10.67, allocations: 0.6172 MB / 4.084 GB, free: 175.5 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.264e-05/10.67, allocations: 3.812 kB / 4.084 GB, free: 175.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004286/10.68, allocations: 1.538 MB / 4.086 GB, free: 175.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.36e-05/10.68, allocations: 9.188 kB / 4.086 GB, free: 175.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.696e-05/10.68, allocations: 8.812 kB / 4.086 GB, free: 175.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.105e-05/10.68, allocations: 14.55 kB / 4.086 GB, free: 175.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001485/10.68, allocations: 298.7 kB / 4.086 GB, free: 175.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.516e-05/10.68, allocations: 14.83 kB / 4.086 GB, free: 175.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001923/10.68, allocations: 232.8 kB / 4.087 GB, free: 175.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001464/10.68, allocations: 53.44 kB / 4.087 GB, free: 175.4 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (117): * Single equations (assignments): 117 * 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.0008461/10.68, allocations: 344.3 kB / 4.087 GB, free: 175.3 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003001/10.68, allocations: 139.2 kB / 4.087 GB, free: 175.2 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004632/10.69, allocations: 1.517 MB / 4.089 GB, free: 175.1 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.001e-05/10.69, allocations: 9.969 kB / 4.089 GB, free: 175.1 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/10.69, allocations: 2.906 kB / 4.089 GB, free: 175.1 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.512e-05/10.69, allocations: 4.422 kB / 4.089 GB, free: 175.1 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008818/10.7, allocations: 2.976 MB / 4.091 GB, free: 174.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.508e-05/10.7, allocations: 4.719 kB / 4.091 GB, free: 174.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001607/10.7, allocations: 234.6 kB / 4.092 GB, free: 174.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.436e-05/10.7, allocations: 11.41 kB / 4.092 GB, free: 174.7 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001225/10.7, allocations: 35.3 kB / 4.092 GB, free: 174.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-05/10.7, allocations: 9.188 kB / 4.092 GB, free: 174.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.618e-06/10.7, allocations: 7.781 kB / 4.092 GB, free: 174.7 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007107/10.71, allocations: 2.606 MB / 4.094 GB, free: 173.9 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001203/10.71, allocations: 341.8 kB / 4.095 GB, free: 173.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000308/10.71, allocations: 24.22 kB / 4.095 GB, free: 173.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00132/10.71, allocations: 137.4 kB / 4.095 GB, free: 173.8 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001907/10.71, allocations: 62.78 kB / 4.095 GB, free: 173.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001208/10.71, allocations: 43.25 kB / 4.095 GB, free: 173.8 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001792/10.71, allocations: 0.8802 MB / 4.096 GB, free: 173.7 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.4e-07/10.71, allocations: 0 / 4.096 GB, free: 173.7 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002697/10.71, allocations: 0.4914 MB / 4.096 GB, free: 173.7 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 82 * 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.01106/10.72, allocations: 6.136 MB / 4.102 GB, free: 171 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004144/10.73, allocations: 1.328 MB / 4.103 GB, free: 171 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.15e-05/10.73, allocations: 7.531 kB / 4.103 GB, free: 171 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001813/10.73, allocations: 0.6712 MB / 4.104 GB, free: 171 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003457/10.73, allocations: 0.603 MB / 4.105 GB, free: 171 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02024/10.75, allocations: 13.32 MB / 4.118 GB, free: 163.6 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007065/10.75, allocations: 1.21 MB / 4.119 GB, free: 162.9 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002027/10.76, allocations: 361.5 kB / 4.119 GB, free: 162.9 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008644/10.76, allocations: 0.501 MB / 4.12 GB, free: 162.9 MB / 0.8855 GB Notification: Performance of SimCode: time 8.52e-07/10.76, allocations: 5.875 kB / 4.12 GB, free: 162.9 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1136/10.87, allocations: 59.95 MB / 4.178 GB, free: 161.5 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002606/10.87, allocations: 237.1 kB / 4.179 GB, free: 161.2 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.313/15.18, allocations: 0 / 4.179 GB, free: 161.2 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1)