Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.Tutorial.SpaceCooling.System3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.SpaceCooling.System3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.Tutorial.SpaceCooling.System3") translateModel(Buildings.Examples.Tutorial.SpaceCooling.System3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.Tutorial.SpaceCooling.System3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 3.622/3.622, allocations: 251.1 MB / 266.7 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002464/0.002464, allocations: 176.2 kB / 326.2 MB, free: 2.887 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.1/4.1, allocations: 205.4 MB / 0.5772 GB, free: 20.8 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001514/0.001513, allocations: 98.52 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007633/0.0007637, allocations: 8.438 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.342/0.3428, allocations: 106.3 MB / 0.8995 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 12.99/13.33, allocations: 2.547 GB / 3.446 GB, free: 222.1 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004929/13.33, allocations: 100.6 kB / 3.446 GB, free: 222.1 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 34/47.33, allocations: 3.984 GB / 7.431 GB, free: 70.16 MB / 1.026 GB Notification: Performance of FrontEnd: time 3.446e-06/47.33, allocations: 0 / 7.431 GB, free: 70.16 MB / 1.026 GB Notification: Performance of Transformations before backend: time 0.003557/47.33, allocations: 229.3 kB / 7.431 GB, free: 70.13 MB / 1.026 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1766 * Number of variables: 1766 Notification: Performance of Generate backend data structure: time 0.08421/47.41, allocations: 10.36 MB / 7.441 GB, free: 66.21 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 6.422e-05/47.41, allocations: 11.62 kB / 7.441 GB, free: 66.21 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0493/47.46, allocations: 2.625 MB / 7.444 GB, free: 65.68 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06407/47.53, allocations: 9.769 MB / 7.453 GB, free: 64.43 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001463/47.53, allocations: 0.5248 MB / 7.454 GB, free: 64.41 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005605/47.53, allocations: 0.6885 MB / 7.454 GB, free: 64.41 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05754/47.59, allocations: 9.07 MB / 7.463 GB, free: 63.73 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009083/47.59, allocations: 20.17 kB / 7.463 GB, free: 63.72 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005388/47.6, allocations: 287.9 kB / 7.463 GB, free: 63.72 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007607/47.6, allocations: 305.8 kB / 7.464 GB, free: 63.71 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05141/47.65, allocations: 8.332 MB / 7.472 GB, free: 63.64 MB / 1.026 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.1561/47.81, allocations: 37.41 MB / 7.508 GB, free: 49.39 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03/47.84, allocations: 5.81 MB / 7.514 GB, free: 48.66 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01715/47.85, allocations: 3.283 MB / 7.517 GB, free: 48.62 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003634/47.86, allocations: 1.061 MB / 7.518 GB, free: 47.59 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02168/47.88, allocations: 3.236 MB / 7.522 GB, free: 47.45 MB / 1.026 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01101/47.89, allocations: 383.9 kB / 7.522 GB, free: 47.27 MB / 1.026 GB Notification: Performance of pre-optimization done (n=462): time 4.175e-05/47.89, allocations: 0 / 7.522 GB, free: 47.27 MB / 1.026 GB Notification: Performance of matching and sorting (n=473): time 0.1163/48.01, allocations: 16.13 MB / 7.538 GB, free: 44.89 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000236/48.01, allocations: 339 kB / 7.538 GB, free: 44.54 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03482/48.04, allocations: 6.489 MB / 7.544 GB, free: 44.12 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.002537/48.05, allocations: 130.2 kB / 7.544 GB, free: 44.09 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.01105/48.06, allocations: 3.737 MB / 7.548 GB, free: 42.91 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.005379/48.06, allocations: 1.627 MB / 7.55 GB, free: 41.86 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002051/48.06, allocations: 94.95 kB / 7.55 GB, free: 41.86 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.001017/48.06, allocations: 499.9 kB / 7.55 GB, free: 41.54 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01459/48.08, allocations: 2.397 MB / 7.553 GB, free: 41.53 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0175/48.1, allocations: 3.668 MB / 7.556 GB, free: 40.26 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01756/48.11, allocations: 3.008 MB / 7.559 GB, free: 40.21 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.804e-05/48.11, allocations: 5.344 kB / 7.559 GB, free: 40.21 MB / 1.026 GB Notification: Performance of matching and sorting (n=608) (initialization): time 0.04489/48.16, allocations: 7.148 MB / 7.566 GB, free: 39.69 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009945/48.16, allocations: 0.7593 MB / 7.567 GB, free: 38.8 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001555/48.16, allocations: 26.78 kB / 7.567 GB, free: 38.8 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005812/48.17, allocations: 0.6145 MB / 7.567 GB, free: 38.76 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01546/48.18, allocations: 1.068 MB / 7.568 GB, free: 38.76 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02959/48.21, allocations: 9.578 MB / 7.578 GB, free: 32.97 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02365/48.24, allocations: 0.7336 MB / 7.579 GB, free: 32.93 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002506/48.24, allocations: 202 kB / 7.579 GB, free: 32.93 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/48.24, allocations: 8.188 kB / 7.579 GB, free: 32.93 MB / 1.026 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04177/48.28, allocations: 6.557 MB / 7.585 GB, free: 32.7 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002077/48.28, allocations: 24.12 kB / 7.585 GB, free: 32.7 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005747/48.29, allocations: 0.6075 MB / 7.586 GB, free: 32.65 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01592/48.3, allocations: 1.054 MB / 7.587 GB, free: 32.65 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03138/48.33, allocations: 10.49 MB / 7.597 GB, free: 26.05 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02238/48.36, allocations: 0.732 MB / 7.598 GB, free: 26.01 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002445/48.36, allocations: 194.2 kB / 7.598 GB, free: 26.01 MB / 1.026 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 96 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.con.y,con.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (565): * Single equations (assignments): 557 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 4 {3 22,1 4,1 3,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.01735/48.38, allocations: 2.85 MB / 7.601 GB, free: 25.8 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005537/48.38, allocations: 0.6935 MB / 7.601 GB, free: 25.45 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04697/48.43, allocations: 7.067 MB / 7.608 GB, free: 25.04 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001494/48.43, allocations: 48.06 kB / 7.608 GB, free: 25.04 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.437e-05/48.43, allocations: 3.25 kB / 7.608 GB, free: 25.04 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03549/48.46, allocations: 5.799 MB / 7.614 GB, free: 24.54 MB / 1.026 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 postOpt removeSimpleEquations (simulation): time 0.09092/48.56, allocations: 15.88 MB / 7.63 GB, free: 39.32 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.062e-05/48.56, allocations: 0 / 7.63 GB, free: 39.32 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01567/48.57, allocations: 1.051 MB / 7.631 GB, free: 39.32 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003682/48.58, allocations: 400.2 kB / 7.631 GB, free: 39.27 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001917/48.58, allocations: 132.7 kB / 7.631 GB, free: 39.27 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02336/48.6, allocations: 10.74 MB / 7.642 GB, free: 30.39 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.676e-06/48.6, allocations: 6.625 kB / 7.642 GB, free: 30.39 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05477/48.66, allocations: 10.13 MB / 7.651 GB, free: 29.52 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01203/48.67, allocations: 1.6 MB / 7.653 GB, free: 29.05 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005782/48.67, allocations: 104.2 kB / 7.653 GB, free: 29.05 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01953/48.69, allocations: 0.6732 MB / 7.654 GB, free: 29.02 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002445/48.7, allocations: 300.6 kB / 7.654 GB, free: 29.02 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002152/48.7, allocations: 178.6 kB / 7.654 GB, free: 29.02 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.0224/48.72, allocations: 4.507 MB / 7.659 GB, free: 28.8 MB / 1.042 GB Notification: Performance of sort global known variables: time 1.363e-06/48.72, allocations: 8.234 kB / 7.659 GB, free: 28.8 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.04567/48.77, allocations: 4.494 MB / 7.663 GB, free: 28.7 MB / 1.042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 24 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,fan.filter.x[1],fan.filter.x[2],cooCoi.ele[1].vol1.dynBal.U,cooCoi.ele[1].vol2.dynBal.U,cooCoi.ele[1].vol2.dynBal.mXi[1],cooCoi.ele[1].mas.T,cooCoi.ele[2].vol1.dynBal.U,cooCoi.ele[2].vol2.dynBal.U,cooCoi.ele[2].vol2.dynBal.mXi[1],cooCoi.ele[2].mas.T,cooCoi.ele[3].vol1.dynBal.U,cooCoi.ele[3].vol2.dynBal.U,cooCoi.ele[3].vol2.dynBal.mXi[1],cooCoi.ele[3].mas.T,cooCoi.ele[4].vol1.dynBal.U,cooCoi.ele[4].vol2.dynBal.U,cooCoi.ele[4].vol2.dynBal.m,cooCoi.ele[4].vol2.dynBal.mXi[1],cooCoi.ele[4].mas.T,senTemHXOut.T,senTemSupAir.T) * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext,con.y) * Number of discrete states: 3 (weaDat.conTimMin.tNext,weaDat.conTim.tNext,con.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (476): * Single equations (assignments): 462 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 7,(1,100.0%) 1} * Non-linear torn systems: 2 {1 4,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.02772/48.79, allocations: 7.937 MB / 7.671 GB, free: 24.95 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.05126/48.85, allocations: 10.56 MB / 7.681 GB, free: 23.71 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-05/48.85, allocations: 5.156 kB / 7.681 GB, free: 23.71 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.01752/48.86, allocations: 3.717 MB / 7.685 GB, free: 23.02 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05679/48.92, allocations: 4.069 MB / 7.689 GB, free: 22.97 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09978/49.02, allocations: 21.06 MB / 7.709 GB, free: 15.48 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02539/49.05, allocations: 5.572 MB / 7.715 GB, free: 14.58 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.04137/49.09, allocations: 3.37 MB / 7.718 GB, free: 14.28 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007143/49.09, allocations: 0.5569 MB / 7.719 GB, free: 14.27 MB / 1.042 GB Notification: Performance of SimCode: time 1.924e-06/49.09, allocations: 0 / 7.719 GB, free: 14.27 MB / 1.042 GB Notification: Performance of Templates: time 2.378/51.47, allocations: 213.1 MB / 7.927 GB, free: 86.21 MB / 1.057 GB make -j1 -f Buildings_7.0.0_Buildings.Examples.Tutorial.SpaceCooling.System3.makefile (rm -f Buildings_7.0.0_Buildings.Examples.Tutorial.SpaceCooling.System3.pipe ; mkfifo Buildings_7.0.0_Buildings.Examples.Tutorial.SpaceCooling.System3.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Examples.Tutorial.SpaceCooling.System3.pipe >> ../files/Buildings_7.0.0_Buildings.Examples.Tutorial.SpaceCooling.System3.sim & ./Buildings_7.0.0_Buildings.Examples.Tutorial.SpaceCooling.System3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Examples.Tutorial.SpaceCooling.System3.pipe 2>&1)