Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Examples.Tutorial.SpaceCooling.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.SpaceCooling.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Examples.Tutorial.SpaceCooling.System1") translateModel(Buildings.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Examples.Tutorial.SpaceCooling.System1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5285/0.5285, allocations: 94.69 MB / 107.2 MB, free: 5.188 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.0009479/0.0009479, allocations: 173.1 kB / 130.7 MB, free: 7.555 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.261/1.261, allocations: 170.5 MB / 324.5 MB, free: 4.02 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.001865/0.001865, allocations: 114.3 kB / 386.6 MB, free: 16.33 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.98e-05/3.982e-05, allocations: 0 / 456 MB, free: 11.77 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4461/0.4461, allocations: 61.51 MB / 0.5054 GB, free: 49.7 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 17.24/17.69, allocations: 5.293 GB / 5.798 GB, free: 131.4 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003164/17.69, allocations: 82.75 kB / 5.798 GB, free: 131.4 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.2633/17.95, allocations: 140.2 MB / 5.935 GB, free: 2.867 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.803e-06/17.95, allocations: 0 / 5.935 GB, free: 2.867 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.469e-05/17.95, allocations: 8 kB / 5.935 GB, free: 2.859 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001117/17.95, allocations: 0.647 MB / 5.936 GB, free: 2.168 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.178e-05/17.95, allocations: 8.031 kB / 5.936 GB, free: 2.16 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001916/17.95, allocations: 47.53 kB / 5.936 GB, free: 2.113 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008543/17.96, allocations: 0.4907 MB / 5.936 GB, free: 1.586 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.643e-05/17.96, allocations: 24.5 kB / 5.936 GB, free: 1.562 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.477e-05/17.96, allocations: 24 kB / 5.936 GB, free: 1.539 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004501/17.96, allocations: 244.9 kB / 5.936 GB, free: 1.289 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.261e-05/17.96, allocations: 3.953 kB / 5.936 GB, free: 1.285 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.252e-05/17.96, allocations: 4 kB / 5.936 GB, free: 1.281 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/17.96, allocations: 8 kB / 5.936 GB, free: 1.273 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003745/17.96, allocations: 246.2 kB / 5.937 GB, free: 1.035 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.5454/18.5, allocations: 0.9587 MB / 5.938 GB, free: 120 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001202/18.5, allocations: 217.4 kB / 5.938 GB, free: 119.9 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002954/18.5, allocations: 115.3 kB / 5.938 GB, free: 119.9 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002641/18.5, allocations: 97.61 kB / 5.938 GB, free: 119.8 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.148e-05/18.5, allocations: 39.23 kB / 5.938 GB, free: 119.8 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=26): time 6.362e-06/18.5, allocations: 0 / 5.938 GB, free: 119.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=33): time 0.006535/18.51, allocations: 1.606 MB / 5.94 GB, free: 119.5 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.054e-05/18.51, allocations: 54.72 kB / 5.94 GB, free: 119.4 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004877/18.51, allocations: 307.9 kB / 5.94 GB, free: 119.3 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.57e-05/18.51, allocations: 30.39 kB / 5.94 GB, free: 119.3 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001234/18.51, allocations: 176.4 kB / 5.94 GB, free: 119.2 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.756e-05/18.51, allocations: 119.8 kB / 5.94 GB, free: 119.2 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.805e-05/18.51, allocations: 8.688 kB / 5.94 GB, free: 119.2 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001207/18.51, allocations: 347.8 kB / 5.941 GB, free: 118.8 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001955/18.51, allocations: 115.3 kB / 5.941 GB, free: 118.8 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002242/18.51, allocations: 168.2 kB / 5.941 GB, free: 118.8 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002394/18.51, allocations: 140.7 kB / 5.941 GB, free: 118.8 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/18.51, allocations: 2.062 kB / 5.941 GB, free: 118.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008853/18.51, allocations: 465.7 kB / 5.941 GB, free: 118.7 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.933e-05/18.51, allocations: 8.656 kB / 5.941 GB, free: 118.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.278e-06/18.51, allocations: 2.625 kB / 5.941 GB, free: 118.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000373/18.51, allocations: 82.56 kB / 5.942 GB, free: 118.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003781/18.51, allocations: 69.5 kB / 5.942 GB, free: 118.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001954/18.52, allocations: 1.753 MB / 5.943 GB, free: 117.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002809/18.52, allocations: 24.69 kB / 5.943 GB, free: 117.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.936e-05/18.52, allocations: 11.52 kB / 5.943 GB, free: 117.4 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 33 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002649/18.52, allocations: 163.6 kB / 5.943 GB, free: 117.3 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.505e-05/18.52, allocations: 38.59 kB / 5.944 GB, free: 117.3 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001045/18.52, allocations: 474.2 kB / 5.944 GB, free: 117.2 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.902e-06/18.52, allocations: 6.203 kB / 5.944 GB, free: 117.2 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/18.52, allocations: 0 / 5.944 GB, free: 117.2 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/18.52, allocations: 0 / 5.944 GB, free: 117.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001773/18.52, allocations: 1.08 MB / 5.945 GB, free: 116.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/18.52, allocations: 3.75 kB / 5.945 GB, free: 116.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003689/18.52, allocations: 69.44 kB / 5.945 GB, free: 116.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002969/18.52, allocations: 89.67 kB / 5.945 GB, free: 116.8 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.333e-05/18.52, allocations: 15.31 kB / 5.945 GB, free: 116.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001199/18.52, allocations: 1.537 MB / 5.947 GB, free: 115.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.716e-06/18.52, allocations: 3.531 kB / 5.947 GB, free: 115.6 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001133/18.52, allocations: 0.6841 MB / 5.947 GB, free: 115.4 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000224/18.52, allocations: 155 kB / 5.948 GB, free: 115.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.636e-05/18.52, allocations: 13.53 kB / 5.948 GB, free: 115.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002974/18.52, allocations: 21.08 kB / 5.948 GB, free: 115.2 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.544e-05/18.52, allocations: 26.03 kB / 5.948 GB, free: 115.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.572e-05/18.52, allocations: 19.92 kB / 5.948 GB, free: 115.2 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000297/18.52, allocations: 238.7 kB / 5.948 GB, free: 115.2 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.4e-07/18.52, allocations: 0 / 5.948 GB, free: 115.2 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001412/18.52, allocations: 270.5 kB / 5.948 GB, free: 115.2 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * 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: 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.0019/18.53, allocations: 0.8474 MB / 5.949 GB, free: 115 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001218/18.53, allocations: 469 kB / 5.949 GB, free: 114.9 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/18.53, allocations: 2.875 kB / 5.949 GB, free: 114.9 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003754/18.53, allocations: 277.8 kB / 5.95 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.001143/18.53, allocations: 207.6 kB / 5.95 GB, free: 114.8 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002059/18.53, allocations: 0.743 MB / 5.951 GB, free: 114.6 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006008/18.53, allocations: 0.8193 MB / 5.951 GB, free: 113.9 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0004091/18.53, allocations: 82.22 kB / 5.951 GB, free: 113.9 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001286/18.53, allocations: 35.19 kB / 5.951 GB, free: 113.9 MB / 0.5261 GB Notification: Performance of SimCode: time 6.31e-07/18.53, allocations: 0 / 5.951 GB, free: 113.9 MB / 0.5261 GB Notification: Performance of Templates: time 0.04692/18.58, allocations: 20.86 MB / 5.972 GB, free: 113.2 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Examples.Tutorial.SpaceCooling.System1.makefile (rm -f Buildings_1.6_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_1.6_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_1.6_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & ./Buildings_1.6_Buildings.Examples.Tutorial.SpaceCooling.System1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1)