Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System1") translateModel(Buildings.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5578/0.5578, allocations: 94.76 MB / 102.2 MB, free: 14.07 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00176/0.00176, allocations: 178.1 kB / 125.6 MB, free: 7.898 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.821/1.821, allocations: 170.6 MB / 319.4 MB, free: 1.102 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001791/0.001791, allocations: 105.9 kB / 381.4 MB, free: 3.102 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.061e-05/2.063e-05, allocations: 0 / 449.1 MB, free: 44.84 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.189/0.189, allocations: 61.52 MB / 0.4987 GB, free: 15.27 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 17.26/17.44, allocations: 5.295 GB / 5.794 GB, free: 111.3 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003079/17.45, allocations: 89.05 kB / 5.794 GB, free: 111.2 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.6277/18.07, allocations: 140.4 MB / 5.931 GB, free: 140.3 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.172e-06/18.07, allocations: 0 / 5.931 GB, free: 140.3 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.165e-05/18.07, allocations: 9.094 kB / 5.931 GB, free: 140.3 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001342/18.07, allocations: 0.7495 MB / 5.932 GB, free: 139.8 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.557e-05/18.07, allocations: 15.11 kB / 5.932 GB, free: 139.8 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002284/18.07, allocations: 50.75 kB / 5.932 GB, free: 139.8 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009625/18.08, allocations: 0.5328 MB / 5.932 GB, free: 139.5 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.391e-05/18.08, allocations: 7.719 kB / 5.932 GB, free: 139.5 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.595e-05/18.08, allocations: 16.22 kB / 5.932 GB, free: 139.5 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004817/18.08, allocations: 240.6 kB / 5.932 GB, free: 139.5 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004037/18.08, allocations: 225.1 kB / 5.933 GB, free: 139.5 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/18.08, allocations: 0 / 5.933 GB, free: 139.5 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.948e-05/18.08, allocations: 0 / 5.933 GB, free: 139.5 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.768e-06/18.08, allocations: 6.562 kB / 5.933 GB, free: 139.5 MB / 0.5261 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.001581/18.08, allocations: 0.9619 MB / 5.934 GB, free: 139.1 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004387/18.08, allocations: 221 kB / 5.934 GB, free: 139.1 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001889/18.08, allocations: 118.3 kB / 5.934 GB, free: 139.1 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00015/18.08, allocations: 95.34 kB / 5.934 GB, free: 139 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003042/18.08, allocations: 168.6 kB / 5.934 GB, free: 138.9 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=29): time 1.423e-06/18.08, allocations: 6.375 kB / 5.934 GB, free: 138.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=36): time 0.00466/18.08, allocations: 1.394 MB / 5.936 GB, free: 138.6 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.63e-05/18.08, allocations: 55.19 kB / 5.936 GB, free: 138.5 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003878/18.08, allocations: 340.4 kB / 5.936 GB, free: 138.4 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.492e-05/18.08, allocations: 25.7 kB / 5.936 GB, free: 138.4 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001523/18.08, allocations: 213.2 kB / 5.936 GB, free: 138.3 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.944e-05/18.08, allocations: 117 kB / 5.936 GB, free: 138.2 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.975e-05/18.08, allocations: 0 / 5.936 GB, free: 138.2 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001046/18.09, allocations: 359.7 kB / 5.937 GB, free: 137.9 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001788/18.09, allocations: 127 kB / 5.937 GB, free: 137.9 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002015/18.09, allocations: 177.7 kB / 5.937 GB, free: 137.9 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005393/18.09, allocations: 227.9 kB / 5.937 GB, free: 137.9 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/18.09, allocations: 0 / 5.937 GB, free: 137.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001147/18.09, allocations: 0.5436 MB / 5.938 GB, free: 137.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.106e-05/18.09, allocations: 32.89 kB / 5.938 GB, free: 137.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.647e-06/18.09, allocations: 0 / 5.938 GB, free: 137.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003339/18.09, allocations: 81.92 kB / 5.938 GB, free: 137.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003671/18.09, allocations: 78.27 kB / 5.938 GB, free: 137.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001563/18.09, allocations: 1.694 MB / 5.939 GB, free: 136.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002928/18.09, allocations: 13.81 kB / 5.94 GB, free: 136.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.033e-05/18.09, allocations: 18.47 kB / 5.94 GB, free: 136.5 MB / 0.5261 GB Warning: Assuming fixed start value for the following 3 variables: vol.dynBal.medium.T:VARIABLE(min = max(1.0, 1.0) max = min(10000.0, 10000.0) start = vol.dynBal.T_start unit = "K" nominal = 293.15 stateSelect=StateSelect.prefer protected = true ) "Temperature of medium" type: Real vol.dynBal.medium.Xi[1]:VARIABLE(min = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0))))) max = min(1.0, min(1.0, min(1.0, min(1.0, min(1.0, 1.0))))) start = 0.01 unit = "1" nominal = 0.01 stateSelect=StateSelect.prefer protected = true ) "Structurally independent mass fractions" type: Real [1] vol.dynBal.medium.p:VARIABLE(min = max(0.0, 0.0) max = 100000000.0 start = vol.dynBal.p_start unit = "Pa" nominal = 101325.0 stateSelect=StateSelect.prefer protected = true ) "Absolute pressure of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.timTab.nextTimeEvent,timTab.nextTimeEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002456/18.09, allocations: 161.8 kB / 5.94 GB, free: 136.4 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.14e-05/18.09, allocations: 39.12 kB / 5.94 GB, free: 136.4 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001372/18.09, allocations: 0.5354 MB / 5.94 GB, free: 136.3 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/18.09, allocations: 7.359 kB / 5.94 GB, free: 136.3 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/18.09, allocations: 3.172 kB / 5.94 GB, free: 136.3 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/18.09, allocations: 3.422 kB / 5.94 GB, free: 136.3 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001947/18.09, allocations: 1.142 MB / 5.941 GB, free: 136 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/18.09, allocations: 0 / 5.941 GB, free: 136 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003822/18.09, allocations: 77.56 kB / 5.941 GB, free: 136 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002797/18.09, allocations: 76.33 kB / 5.942 GB, free: 136 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.137e-05/18.09, allocations: 13.05 kB / 5.942 GB, free: 136 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001032/18.1, allocations: 1.467 MB / 5.943 GB, free: 134.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.758e-06/18.1, allocations: 0.6562 kB / 5.943 GB, free: 134.8 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001346/18.1, allocations: 0.7741 MB / 5.944 GB, free: 134.5 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002202/18.1, allocations: 168.1 kB / 5.944 GB, free: 134.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.419e-05/18.1, allocations: 10.81 kB / 5.944 GB, free: 134.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003037/18.1, allocations: 21.73 kB / 5.944 GB, free: 134.4 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.395e-05/18.1, allocations: 25.34 kB / 5.944 GB, free: 134.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.769e-05/18.1, allocations: 16.36 kB / 5.944 GB, free: 134.4 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002951/18.1, allocations: 263.6 kB / 5.944 GB, free: 134.3 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.8e-07/18.1, allocations: 0 / 5.944 GB, free: 134.3 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001166/18.1, allocations: 286.6 kB / 5.944 GB, free: 134.3 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (vol.dynBal.medium.p,vol.dynBal.medium.Xi[1],vol.dynBal.medium.T) * Number of discrete variables: 2 ($whenCondition1,timTab.nextTimeEvent) * Number of discrete states: 1 (timTab.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001846/18.1, allocations: 1.137 MB / 5.946 GB, free: 134 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0008961/18.1, allocations: 0.523 MB / 5.946 GB, free: 133.9 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/18.1, allocations: 0 / 5.946 GB, free: 133.9 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002809/18.1, allocations: 276.2 kB / 5.946 GB, free: 133.8 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001044/18.1, allocations: 221.8 kB / 5.947 GB, free: 133.8 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001731/18.1, allocations: 0.7992 MB / 5.947 GB, free: 133.5 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002807/18.11, allocations: 0.8427 MB / 5.948 GB, free: 132.8 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003763/18.11, allocations: 89.09 kB / 5.948 GB, free: 132.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001164/18.11, allocations: 43.92 kB / 5.948 GB, free: 132.8 MB / 0.5261 GB Notification: Performance of SimCode: time 1.553e-06/18.11, allocations: 0 / 5.948 GB, free: 132.8 MB / 0.5261 GB Notification: Performance of Templates: time 0.02106/18.13, allocations: 14.14 MB / 5.962 GB, free: 131.5 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System1.makefile (rm -f Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System1.sim & ./Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1)