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.516/1.516, allocations: 249.5 MB / 257 MB, free: 6.895 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001087/0.001087, allocations: 180.8 kB / 316.3 MB, free: 3.227 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.62/1.62, allocations: 205.3 MB / 0.5671 GB, free: 15.88 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.000878/0.0008782, allocations: 97.16 kB / 0.6714 GB, free: 4.992 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.09e-05/2.092e-05, allocations: 8 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2041/0.2041, allocations: 106.3 MB / 0.8853 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.929/6.133, allocations: 2.186 GB / 3.072 GB, free: 221.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002856/6.134, allocations: 83.95 kB / 3.072 GB, free: 221.6 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.559/9.692, allocations: 0.9645 GB / 4.036 GB, free: 172.6 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.603e-06/9.692, allocations: 3.719 kB / 4.036 GB, free: 172.6 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 9.374e-05/9.692, allocations: 38.06 kB / 4.036 GB, free: 172.6 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.00519/9.698, allocations: 1.721 MB / 4.038 GB, free: 171.9 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/9.698, allocations: 11 kB / 4.038 GB, free: 171.9 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003823/9.702, allocations: 0.6924 MB / 4.039 GB, free: 171.8 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002374/9.704, allocations: 1.02 MB / 4.04 GB, free: 171.5 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.386e-05/9.704, allocations: 34.56 kB / 4.04 GB, free: 171.5 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000146/9.704, allocations: 54.03 kB / 4.04 GB, free: 171.5 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001441/9.706, allocations: 0.9595 MB / 4.041 GB, free: 171.5 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001476/9.707, allocations: 1.112 MB / 4.042 GB, free: 171.3 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.287e-05/9.707, allocations: 7.125 kB / 4.042 GB, free: 171.3 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.963e-05/9.707, allocations: 3.891 kB / 4.042 GB, free: 171.3 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.742e-05/9.707, allocations: 49.17 kB / 4.042 GB, free: 171.3 MB / 0.8855 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.006016/9.713, allocations: 5.084 MB / 4.047 GB, free: 168.9 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001205/9.715, allocations: 0.8765 MB / 4.048 GB, free: 168.9 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005293/9.715, allocations: 480.1 kB / 4.048 GB, free: 168.9 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001056/9.716, allocations: 0.9399 MB / 4.049 GB, free: 167.9 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007781/9.717, allocations: 0.5893 MB / 4.05 GB, free: 167.9 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=82): time 3.396e-06/9.717, allocations: 0 / 4.05 GB, free: 167.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=82): time 0.002524/9.719, allocations: 1.123 MB / 4.051 GB, free: 167.8 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.032e-05/9.72, allocations: 66.28 kB / 4.051 GB, free: 167.7 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009504/9.72, allocations: 0.8475 MB / 4.052 GB, free: 167.6 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 9.973e-05/9.721, allocations: 29.45 kB / 4.052 GB, free: 167.5 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003679/9.721, allocations: 0.5916 MB / 4.052 GB, free: 167.3 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002112/9.721, allocations: 277.7 kB / 4.052 GB, free: 167.2 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.674e-05/9.721, allocations: 0 / 4.052 GB, free: 167.2 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 6.617e-05/9.721, allocations: 347.9 kB / 4.053 GB, free: 166.9 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005117/9.722, allocations: 405.4 kB / 4.053 GB, free: 166.9 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006692/9.723, allocations: 0.7207 MB / 4.054 GB, free: 166.5 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006145/9.723, allocations: 461 kB / 4.054 GB, free: 166.5 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/9.723, allocations: 3.625 kB / 4.054 GB, free: 166.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001597/9.725, allocations: 1.157 MB / 4.055 GB, free: 166.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/9.725, allocations: 7.562 kB / 4.055 GB, free: 166.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/9.725, allocations: 10.19 kB / 4.055 GB, free: 166.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.789e-05/9.725, allocations: 15.25 kB / 4.055 GB, free: 166.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001426/9.726, allocations: 307.1 kB / 4.056 GB, free: 166.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.487e-05/9.726, allocations: 17.03 kB / 4.056 GB, free: 166.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001372/9.728, allocations: 193.5 kB / 4.056 GB, free: 166.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001236/9.728, allocations: 60.84 kB / 4.056 GB, free: 166.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 () * 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.0002321/9.728, allocations: 145 kB / 4.056 GB, free: 166.3 MB / 0.8855 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001457/9.73, allocations: 1.025 MB / 4.057 GB, free: 166.2 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001471/9.73, allocations: 113.7 kB / 4.057 GB, free: 166.1 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001893/9.732, allocations: 1.179 MB / 4.058 GB, free: 166 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.478e-06/9.732, allocations: 16.2 kB / 4.058 GB, free: 166 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/9.732, allocations: 3.844 kB / 4.058 GB, free: 166 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.778e-06/9.732, allocations: 7.016 kB / 4.058 GB, free: 166 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00395/9.736, allocations: 2.598 MB / 4.061 GB, free: 165.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.247e-06/9.736, allocations: 6.719 kB / 4.061 GB, free: 165.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00136/9.737, allocations: 251.2 kB / 4.061 GB, free: 165.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-05/9.737, allocations: 8.938 kB / 4.061 GB, free: 165.6 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-05/9.737, allocations: 33.7 kB / 4.061 GB, free: 165.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.16e-05/9.737, allocations: 10.19 kB / 4.061 GB, free: 165.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/9.737, allocations: 7.312 kB / 4.061 GB, free: 165.6 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00306/9.74, allocations: 2.118 MB / 4.063 GB, free: 165 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007063/9.741, allocations: 328.1 kB / 4.064 GB, free: 164.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002017/9.741, allocations: 13.45 kB / 4.064 GB, free: 164.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001255/9.742, allocations: 128.7 kB / 4.064 GB, free: 164.8 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001518/9.743, allocations: 65.47 kB / 4.064 GB, free: 164.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001042/9.743, allocations: 50.53 kB / 4.064 GB, free: 164.8 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001002/9.744, allocations: 0.6419 MB / 4.064 GB, free: 164.7 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.01e-07/9.744, allocations: 0 / 4.064 GB, free: 164.7 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001831/9.746, allocations: 447.5 kB / 4.065 GB, free: 164.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) * 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.005685/9.751, allocations: 5.806 MB / 4.071 GB, free: 162 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001529/9.753, allocations: 0.9984 MB / 4.072 GB, free: 162 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/9.753, allocations: 0 / 4.072 GB, free: 162 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0006811/9.754, allocations: 0.5188 MB / 4.072 GB, free: 162 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002198/9.756, allocations: 426.2 kB / 4.072 GB, free: 161.9 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004659/9.76, allocations: 2.244 MB / 4.075 GB, free: 161.3 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006212/9.761, allocations: 1.216 MB / 4.076 GB, free: 160.6 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001552/9.763, allocations: 358.4 kB / 4.076 GB, free: 160.6 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006741/9.763, allocations: 0.5009 MB / 4.077 GB, free: 160.6 MB / 0.8855 GB Notification: Performance of SimCode: time 1.202e-06/9.763, allocations: 3.5 kB / 4.077 GB, free: 160.6 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06745/9.831, allocations: 41.15 MB / 4.117 GB, free: 157.5 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001671/9.831, allocations: 197 kB / 4.117 GB, free: 157.3 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.208/13.04, allocations: 0 / 4.117 GB, free: 157.3 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)