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.6003/0.6003, allocations: 94.77 MB / 102.2 MB, free: 14.11 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.001673/0.001673, allocations: 176.1 kB / 125.6 MB, free: 7.93 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.545/1.545, allocations: 170.6 MB / 319.4 MB, free: 1.168 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.00159/0.00159, allocations: 110.6 kB / 381.4 MB, free: 3.145 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.8e-05/1.801e-05, allocations: 0 / 449.1 MB, free: 44.84 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1758/0.1758, allocations: 61.53 MB / 0.4987 GB, free: 15.26 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 17.02/17.2, allocations: 5.292 GB / 5.791 GB, free: 114.6 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003558/17.2, allocations: 80.83 kB / 5.791 GB, free: 114.6 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.7569/17.96, allocations: 138.4 MB / 5.926 GB, free: 140.3 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.395e-06/17.96, allocations: 0 / 5.926 GB, free: 140.3 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.033e-05/17.96, allocations: 11.25 kB / 5.926 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001726/17.96, allocations: 0.6529 MB / 5.927 GB, free: 139.8 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.571e-05/17.96, allocations: 14.55 kB / 5.927 GB, free: 139.8 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003749/17.96, allocations: 45.55 kB / 5.927 GB, free: 139.8 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001282/17.96, allocations: 0.496 MB / 5.927 GB, free: 139.6 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.259e-05/17.96, allocations: 14.38 kB / 5.927 GB, free: 139.6 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.929e-05/17.96, allocations: 16.81 kB / 5.927 GB, free: 139.6 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005591/17.96, allocations: 229.1 kB / 5.928 GB, free: 139.6 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004553/17.96, allocations: 208.9 kB / 5.928 GB, free: 139.5 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/17.96, allocations: 0 / 5.928 GB, free: 139.5 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.431e-05/17.96, allocations: 1.125 kB / 5.928 GB, free: 139.5 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/17.96, allocations: 5.156 kB / 5.928 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.001873/17.96, allocations: 0.9027 MB / 5.929 GB, free: 139.1 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004838/17.97, allocations: 210.6 kB / 5.929 GB, free: 139.1 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002037/17.97, allocations: 113.9 kB / 5.929 GB, free: 139.1 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001727/17.97, allocations: 93.88 kB / 5.929 GB, free: 139 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.155e-05/17.97, allocations: 36.53 kB / 5.929 GB, free: 139 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=26): time 2.235e-06/17.97, allocations: 0 / 5.929 GB, free: 139 MB / 0.5261 GB Notification: Performance of matching and sorting (n=33): time 0.005183/17.97, allocations: 1.334 MB / 5.93 GB, free: 138.6 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.919e-05/17.97, allocations: 57.97 kB / 5.93 GB, free: 138.6 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005538/17.97, allocations: 270.1 kB / 5.931 GB, free: 138.5 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.712e-05/17.97, allocations: 27.02 kB / 5.931 GB, free: 138.5 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001385/17.97, allocations: 182.4 kB / 5.931 GB, free: 138.4 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001147/17.97, allocations: 114.8 kB / 5.931 GB, free: 138.3 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.646e-05/17.97, allocations: 1.531 kB / 5.931 GB, free: 138.3 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001137/17.97, allocations: 344.7 kB / 5.931 GB, free: 138 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002091/17.97, allocations: 113.5 kB / 5.931 GB, free: 138 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002414/17.97, allocations: 158.6 kB / 5.932 GB, free: 137.9 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006102/17.97, allocations: 200.7 kB / 5.932 GB, free: 137.9 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/17.97, allocations: 1.281 kB / 5.932 GB, free: 137.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001322/17.97, allocations: 493 kB / 5.932 GB, free: 137.9 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.718e-05/17.97, allocations: 5.75 kB / 5.932 GB, free: 137.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/17.97, allocations: 7.391 kB / 5.932 GB, free: 137.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003803/17.97, allocations: 79.62 kB / 5.932 GB, free: 137.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004006/17.98, allocations: 68.17 kB / 5.932 GB, free: 137.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001733/17.98, allocations: 1.655 MB / 5.934 GB, free: 136.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003328/17.98, allocations: 12.95 kB / 5.934 GB, free: 136.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.343e-05/17.98, allocations: 11.94 kB / 5.934 GB, free: 136.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: 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 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002755/17.98, allocations: 149.5 kB / 5.934 GB, free: 136.5 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001172/17.98, allocations: 39.2 kB / 5.934 GB, free: 136.5 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00142/17.98, allocations: 0.5088 MB / 5.935 GB, free: 136.4 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/17.98, allocations: 5.781 kB / 5.935 GB, free: 136.4 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/17.98, allocations: 1.312 kB / 5.935 GB, free: 136.4 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/17.98, allocations: 5.203 kB / 5.935 GB, free: 136.4 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002219/17.98, allocations: 1.062 MB / 5.936 GB, free: 136.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/17.98, allocations: 1.031 kB / 5.936 GB, free: 136.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004044/17.98, allocations: 74.34 kB / 5.936 GB, free: 136.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003141/17.98, allocations: 77 kB / 5.936 GB, free: 136.1 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.869e-05/17.98, allocations: 8.406 kB / 5.936 GB, free: 136.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001366/17.98, allocations: 1.479 MB / 5.937 GB, free: 134.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.096e-05/17.98, allocations: 1.344 kB / 5.937 GB, free: 134.9 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001514/17.99, allocations: 0.7224 MB / 5.938 GB, free: 134.6 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002675/17.99, allocations: 151.6 kB / 5.938 GB, free: 134.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.754e-05/17.99, allocations: 7.531 kB / 5.938 GB, free: 134.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003078/17.99, allocations: 14.14 kB / 5.938 GB, free: 134.5 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.905e-05/17.99, allocations: 26.36 kB / 5.938 GB, free: 134.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-05/17.99, allocations: 13.33 kB / 5.938 GB, free: 134.5 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002554/17.99, allocations: 217.3 kB / 5.938 GB, free: 134.4 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.224e-06/17.99, allocations: 2.594 kB / 5.938 GB, free: 134.4 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001206/17.99, allocations: 257 kB / 5.939 GB, free: 134.4 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.001748/17.99, allocations: 0.9637 MB / 5.94 GB, free: 134.2 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0007166/17.99, allocations: 411.9 kB / 5.94 GB, free: 134.1 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/17.99, allocations: 0 / 5.94 GB, free: 134.1 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002819/17.99, allocations: 263.2 kB / 5.94 GB, free: 134 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001087/17.99, allocations: 206.2 kB / 5.941 GB, free: 134 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001873/17.99, allocations: 0.7281 MB / 5.941 GB, free: 133.8 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003691/17.99, allocations: 0.8155 MB / 5.942 GB, free: 133.1 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0004288/17.99, allocations: 79.55 kB / 5.942 GB, free: 133.1 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001121/17.99, allocations: 40.83 kB / 5.942 GB, free: 133.1 MB / 0.5261 GB Notification: Performance of SimCode: time 4.21e-07/17.99, allocations: 0 / 5.942 GB, free: 133.1 MB / 0.5261 GB Notification: Performance of Templates: time 0.02426/18.02, allocations: 13.07 MB / 5.955 GB, free: 132 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)