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.5468/0.5468, allocations: 94.7 MB / 107.3 MB, free: 5.168 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.001138/0.001138, allocations: 173.9 kB / 130.7 MB, free: 7.527 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.717/1.717, allocations: 170.5 MB / 324.5 MB, free: 3.977 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001743/0.001743, allocations: 104.7 kB / 386.6 MB, free: 16.19 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.072e-05/5.158e-05, allocations: 0 / 456 MB, free: 11.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7366/0.7367, allocations: 61.52 MB / 0.5054 GB, free: 49.35 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 17.25/17.99, allocations: 5.295 GB / 5.801 GB, free: 62.59 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002677/17.99, allocations: 85.92 kB / 5.801 GB, free: 62.5 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.6174/18.61, allocations: 142.3 MB / 5.94 GB, free: 126.6 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.453e-06/18.61, allocations: 0 / 5.94 GB, free: 126.6 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.944e-05/18.61, allocations: 7.75 kB / 5.94 GB, free: 126.6 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.001556/18.61, allocations: 0.7478 MB / 5.94 GB, free: 125.9 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/18.61, allocations: 13.28 kB / 5.94 GB, free: 125.9 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002509/18.61, allocations: 49.88 kB / 5.94 GB, free: 125.9 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00113/18.61, allocations: 0.5368 MB / 5.941 GB, free: 125.5 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.382e-05/18.61, allocations: 24.23 kB / 5.941 GB, free: 125.5 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.84e-05/18.61, allocations: 27.62 kB / 5.941 GB, free: 125.4 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006173/18.61, allocations: 259.3 kB / 5.941 GB, free: 125.3 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/18.61, allocations: 0 / 5.941 GB, free: 125.3 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.307e-05/18.61, allocations: 15.44 kB / 5.941 GB, free: 125.3 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.808e-06/18.61, allocations: 7.188 kB / 5.941 GB, free: 125.3 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005351/18.61, allocations: 252.1 kB / 5.942 GB, free: 125.2 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.001902/18.61, allocations: 1.01 MB / 5.943 GB, free: 124.3 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005397/18.61, allocations: 233.4 kB / 5.943 GB, free: 124.2 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002449/18.61, allocations: 130.6 kB / 5.943 GB, free: 124.2 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001788/18.61, allocations: 98.31 kB / 5.943 GB, free: 124.1 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003599/18.61, allocations: 184.4 kB / 5.943 GB, free: 123.9 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=29): time 3.967e-06/18.61, allocations: 3.984 kB / 5.943 GB, free: 123.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=36): time 0.007937/18.62, allocations: 1.673 MB / 5.945 GB, free: 123 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.837e-05/18.62, allocations: 63.3 kB / 5.945 GB, free: 122.9 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006699/18.62, allocations: 364.3 kB / 5.945 GB, free: 122.7 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.358e-05/18.62, allocations: 33.42 kB / 5.945 GB, free: 122.7 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001753/18.62, allocations: 202.9 kB / 5.945 GB, free: 122.5 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001266/18.62, allocations: 128.1 kB / 5.946 GB, free: 122.4 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.807e-05/18.62, allocations: 9.625 kB / 5.946 GB, free: 122.4 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001253/18.62, allocations: 356.5 kB / 5.946 GB, free: 122 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000318/18.62, allocations: 131.3 kB / 5.946 GB, free: 122 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003467/18.62, allocations: 196.6 kB / 5.946 GB, free: 121.8 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003911/18.62, allocations: 194.5 kB / 5.946 GB, free: 121.7 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/18.62, allocations: 7.922 kB / 5.946 GB, free: 121.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001395/18.63, allocations: 0.5365 MB / 5.947 GB, free: 121.4 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.045e-05/18.63, allocations: 32.64 kB / 5.947 GB, free: 121.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/18.63, allocations: 0 / 5.947 GB, free: 121.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004699/18.63, allocations: 86.42 kB / 5.947 GB, free: 121.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005079/18.63, allocations: 82.36 kB / 5.947 GB, free: 121.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002122/18.63, allocations: 1.755 MB / 5.949 GB, free: 119.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005085/18.63, allocations: 30.5 kB / 5.949 GB, free: 119.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.097e-05/18.63, allocations: 14.75 kB / 5.949 GB, free: 119.6 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.0003326/18.63, allocations: 160.9 kB / 5.949 GB, free: 119.5 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001467/18.63, allocations: 45.5 kB / 5.949 GB, free: 119.5 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001513/18.63, allocations: 0.5021 MB / 5.95 GB, free: 119.2 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/18.63, allocations: 3.969 kB / 5.95 GB, free: 119.2 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.353e-06/18.63, allocations: 3.906 kB / 5.95 GB, free: 119.2 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/18.63, allocations: 3.984 kB / 5.95 GB, free: 119.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002669/18.63, allocations: 1.161 MB / 5.951 GB, free: 118.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/18.63, allocations: 0 / 5.951 GB, free: 118.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005531/18.64, allocations: 76.14 kB / 5.951 GB, free: 118.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003909/18.64, allocations: 78.83 kB / 5.951 GB, free: 118.3 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.196e-05/18.64, allocations: 22.09 kB / 5.951 GB, free: 118.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001453/18.64, allocations: 1.526 MB / 5.952 GB, free: 116.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/18.64, allocations: 0 / 5.952 GB, free: 116.8 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001567/18.64, allocations: 0.7386 MB / 5.953 GB, free: 116.3 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004607/18.64, allocations: 169 kB / 5.953 GB, free: 116.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001442/18.64, allocations: 14.03 kB / 5.953 GB, free: 116.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005105/18.64, allocations: 28.41 kB / 5.953 GB, free: 116.1 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000127/18.64, allocations: 31.36 kB / 5.953 GB, free: 116.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-05/18.64, allocations: 22.44 kB / 5.953 GB, free: 116 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005257/18.64, allocations: 297.2 kB / 5.954 GB, free: 115.9 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.71e-07/18.64, allocations: 0 / 5.954 GB, free: 115.9 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001597/18.64, allocations: 297.6 kB / 5.954 GB, free: 115.8 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.003178/18.65, allocations: 1.029 MB / 5.955 GB, free: 115.3 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001501/18.65, allocations: 0.553 MB / 5.955 GB, free: 115 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.107e-06/18.65, allocations: 0 / 5.955 GB, free: 115 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0004102/18.65, allocations: 285.8 kB / 5.956 GB, free: 114.8 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001324/18.65, allocations: 222 kB / 5.956 GB, free: 114.7 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001989/18.65, allocations: 0.8207 MB / 5.957 GB, free: 114.1 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004116/18.65, allocations: 0.8439 MB / 5.958 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.000495/18.65, allocations: 98.55 kB / 5.958 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001468/18.65, allocations: 44.02 kB / 5.958 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of SimCode: time 1.152e-06/18.65, allocations: 0 / 5.958 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of Templates: time 0.03332/18.69, allocations: 22.04 MB / 5.979 GB, free: 91.95 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)