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.5609/0.5609, allocations: 95.62 MB / 110.6 MB, free: 9.371 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.001224/0.001224, allocations: 160.2 kB / 134.2 MB, free: 2.262 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.673/1.673, allocations: 170.7 MB / 328.4 MB, free: 12.25 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.002117/0.002117, allocations: 111.3 kB / 390.7 MB, free: 13.93 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003955/0.0003955, allocations: 12 kB / 462.7 MB, free: 35.69 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1811/0.1816, allocations: 61.54 MB / 0.512 GB, free: 6.082 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 14.62/14.8, allocations: 5.293 GB / 5.805 GB, free: 128.9 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002607/14.81, allocations: 83.95 kB / 5.805 GB, free: 128.8 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.6076/15.41, allocations: 140.4 MB / 5.942 GB, free: 136.6 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.967e-06/15.41, allocations: 0 / 5.942 GB, free: 136.6 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.882e-05/15.41, allocations: 11.27 kB / 5.942 GB, free: 136.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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001618/15.41, allocations: 0.7105 MB / 5.943 GB, free: 136.1 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 9.413e-05/15.41, allocations: 15.08 kB / 5.943 GB, free: 136.1 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002581/15.41, allocations: 47.5 kB / 5.943 GB, free: 136.1 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000938/15.42, allocations: 0.4969 MB / 5.943 GB, free: 135.9 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.398e-05/15.42, allocations: 22.97 kB / 5.943 GB, free: 135.9 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.567e-05/15.42, allocations: 25.69 kB / 5.943 GB, free: 135.9 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005779/15.42, allocations: 250.6 kB / 5.943 GB, free: 135.9 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.809e-05/15.42, allocations: 1.375 kB / 5.943 GB, free: 135.9 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.221e-05/15.42, allocations: 8.75 kB / 5.943 GB, free: 135.9 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.852e-05/15.42, allocations: 8.875 kB / 5.943 GB, free: 135.9 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005296/15.42, allocations: 248.1 kB / 5.944 GB, free: 135.9 MB / 0.5261 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.001803/15.42, allocations: 0.9537 MB / 5.945 GB, free: 135.4 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005006/15.42, allocations: 228.5 kB / 5.945 GB, free: 135.4 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001827/15.42, allocations: 94.45 kB / 5.945 GB, free: 135.3 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/15.42, allocations: 36.06 kB / 5.945 GB, free: 135.3 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=26): time 1.894e-06/15.42, allocations: 0 / 5.945 GB, free: 135.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=33): time 0.007006/15.43, allocations: 1.705 MB / 5.947 GB, free: 134.9 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.183e-05/15.43, allocations: 55.53 kB / 5.947 GB, free: 134.9 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004324/15.43, allocations: 295.5 kB / 5.947 GB, free: 134.8 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.058e-05/15.43, allocations: 34.14 kB / 5.947 GB, free: 134.8 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001656/15.43, allocations: 186.3 kB / 5.947 GB, free: 134.7 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001144/15.43, allocations: 116.4 kB / 5.947 GB, free: 134.6 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.85e-05/15.43, allocations: 4.438 kB / 5.947 GB, free: 134.6 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001218/15.43, allocations: 349.8 kB / 5.948 GB, free: 134.3 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002268/15.43, allocations: 120.7 kB / 5.948 GB, free: 134.3 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002663/15.43, allocations: 169.1 kB / 5.948 GB, free: 134.2 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002781/15.43, allocations: 146.2 kB / 5.948 GB, free: 134.2 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/15.43, allocations: 0 / 5.948 GB, free: 134.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001001/15.43, allocations: 458.3 kB / 5.948 GB, free: 134.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.769e-05/15.43, allocations: 12.05 kB / 5.948 GB, free: 134.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/15.43, allocations: 1.062 kB / 5.948 GB, free: 134.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004074/15.43, allocations: 81.48 kB / 5.948 GB, free: 134.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004136/15.43, allocations: 69.89 kB / 5.949 GB, free: 134.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001966/15.43, allocations: 1.778 MB / 5.95 GB, free: 132.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000319/15.43, allocations: 21.59 kB / 5.95 GB, free: 132.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.283e-05/15.43, allocations: 12.5 kB / 5.95 GB, free: 132.8 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" fixed = true 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" fixed = true 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" fixed = true 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 () * Number of clocked 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.000423/15.43, allocations: 206.8 kB / 5.951 GB, free: 132.7 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.777e-05/15.43, allocations: 33.34 kB / 5.951 GB, free: 132.7 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001134/15.43, allocations: 494.4 kB / 5.951 GB, free: 132.6 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.944e-06/15.43, allocations: 4.594 kB / 5.951 GB, free: 132.6 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/15.43, allocations: 0.875 kB / 5.951 GB, free: 132.6 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/15.43, allocations: 3.422 kB / 5.951 GB, free: 132.6 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002014/15.44, allocations: 1.076 MB / 5.952 GB, free: 132.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/15.44, allocations: 0 / 5.952 GB, free: 132.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004353/15.44, allocations: 72.31 kB / 5.952 GB, free: 132.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003557/15.44, allocations: 77.67 kB / 5.952 GB, free: 132.3 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.725e-05/15.44, allocations: 8.062 kB / 5.952 GB, free: 132.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001495/15.44, allocations: 1.584 MB / 5.954 GB, free: 131 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/15.44, allocations: 2.75 kB / 5.954 GB, free: 131 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001341/15.44, allocations: 0.6973 MB / 5.954 GB, free: 130.8 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002637/15.44, allocations: 150.6 kB / 5.955 GB, free: 130.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.282e-05/15.44, allocations: 11.69 kB / 5.955 GB, free: 130.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003288/15.44, allocations: 19.44 kB / 5.955 GB, free: 130.7 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/15.44, allocations: 31.33 kB / 5.955 GB, free: 130.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.245e-05/15.44, allocations: 17.39 kB / 5.955 GB, free: 130.6 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003946/15.44, allocations: 240 kB / 5.955 GB, free: 130.6 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/15.44, allocations: 1.125 kB / 5.955 GB, free: 130.6 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001678/15.44, allocations: 274.8 kB / 5.955 GB, free: 130.5 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 () * Number of clocked 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.001812/15.45, allocations: 0.8483 MB / 5.956 GB, free: 130.4 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001134/15.45, allocations: 470.4 kB / 5.956 GB, free: 130.2 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/15.45, allocations: 0 / 5.956 GB, free: 130.2 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003957/15.45, allocations: 283.2 kB / 5.957 GB, free: 130.1 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001037/15.45, allocations: 210.7 kB / 5.957 GB, free: 130.1 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002399/15.45, allocations: 1.193 MB / 5.958 GB, free: 129.7 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004224/15.45, allocations: 0.8223 MB / 5.959 GB, free: 129 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0004263/15.45, allocations: 75.14 kB / 5.959 GB, free: 129 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001293/15.45, allocations: 40.41 kB / 5.959 GB, free: 128.9 MB / 0.5261 GB Notification: Performance of SimCode: time 8.52e-07/15.45, allocations: 2.625 kB / 5.959 GB, free: 128.9 MB / 0.5261 GB Notification: Performance of Templates: time 0.03522/15.49, allocations: 18.73 MB / 5.977 GB, free: 127.8 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)