Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.Tutorial.SpaceCooling.System2.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.System2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.Tutorial.SpaceCooling.System2") translateModel(Buildings.Examples.Tutorial.SpaceCooling.System2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.Tutorial.SpaceCooling.System2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 3.616/3.616, allocations: 251.1 MB / 266.7 MB, free: 11.62 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.002583/0.002582, allocations: 176 kB / 326.2 MB, free: 2.863 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.075/4.075, allocations: 205.4 MB / 0.5772 GB, free: 20.73 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.001484/0.001483, allocations: 96.23 kB / 0.6817 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0008071/0.0008077, allocations: 9.25 kB / 0.7957 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3795/0.3803, allocations: 106.3 MB / 0.8995 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 12.96/13.34, allocations: 2.546 GB / 3.446 GB, free: 222 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005143/13.34, allocations: 98.45 kB / 3.446 GB, free: 222 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 34.23/47.57, allocations: 3.983 GB / 7.429 GB, free: 71.25 MB / 1.026 GB Notification: Performance of FrontEnd: time 3.838e-06/47.57, allocations: 0 / 7.429 GB, free: 71.25 MB / 1.026 GB Notification: Performance of Transformations before backend: time 0.004105/47.57, allocations: 228.6 kB / 7.43 GB, free: 71.22 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: 1757 * Number of variables: 1757 Notification: Performance of Generate backend data structure: time 0.08275/47.66, allocations: 10.32 MB / 7.44 GB, free: 67.31 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 5.751e-05/47.66, allocations: 7.188 kB / 7.44 GB, free: 67.31 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04651/47.7, allocations: 2.625 MB / 7.442 GB, free: 66.78 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06583/47.77, allocations: 9.747 MB / 7.452 GB, free: 65.53 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001373/47.77, allocations: 0.5128 MB / 7.452 GB, free: 65.52 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005634/47.78, allocations: 0.6946 MB / 7.453 GB, free: 65.51 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05769/47.83, allocations: 9.044 MB / 7.462 GB, free: 64.83 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000879/47.84, allocations: 16.45 kB / 7.462 GB, free: 64.83 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005072/47.84, allocations: 281.1 kB / 7.462 GB, free: 64.83 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007243/47.84, allocations: 300.5 kB / 7.462 GB, free: 64.81 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05005/47.89, allocations: 8.312 MB / 7.47 GB, free: 64.75 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.164/48.06, allocations: 37.28 MB / 7.507 GB, free: 50.5 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0228/48.08, allocations: 5.142 MB / 7.512 GB, free: 50.32 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0147/48.09, allocations: 3.297 MB / 7.515 GB, free: 50.29 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003249/48.1, allocations: 1.06 MB / 7.516 GB, free: 49.25 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01626/48.11, allocations: 3.205 MB / 7.519 GB, free: 49.11 MB / 1.026 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00959/48.12, allocations: 386.1 kB / 7.52 GB, free: 48.91 MB / 1.026 GB Notification: Performance of pre-optimization done (n=457): time 4.012e-05/48.12, allocations: 3.781 kB / 7.52 GB, free: 48.91 MB / 1.026 GB Notification: Performance of matching and sorting (n=461): time 0.1045/48.23, allocations: 15.67 MB / 7.535 GB, free: 46.47 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002686/48.23, allocations: 365.8 kB / 7.535 GB, free: 46.09 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02928/48.26, allocations: 6.569 MB / 7.542 GB, free: 45.65 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.002238/48.26, allocations: 126.9 kB / 7.542 GB, free: 45.62 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.009756/48.27, allocations: 3.713 MB / 7.545 GB, free: 44.45 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.004718/48.27, allocations: 1.587 MB / 7.547 GB, free: 43.43 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001835/48.28, allocations: 93.42 kB / 7.547 GB, free: 43.43 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.000872/48.28, allocations: 0.493 MB / 7.548 GB, free: 43.11 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01188/48.29, allocations: 2.345 MB / 7.55 GB, free: 43.1 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01464/48.3, allocations: 3.616 MB / 7.553 GB, free: 41.83 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01451/48.32, allocations: 2.954 MB / 7.556 GB, free: 41.78 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.794e-05/48.32, allocations: 7.375 kB / 7.556 GB, free: 41.78 MB / 1.026 GB Notification: Performance of matching and sorting (n=597) (initialization): time 0.04126/48.36, allocations: 6.956 MB / 7.563 GB, free: 41.27 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009243/48.36, allocations: 0.7556 MB / 7.564 GB, free: 40.38 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000115/48.36, allocations: 26.38 kB / 7.564 GB, free: 40.38 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003579/48.36, allocations: 394.2 kB / 7.564 GB, free: 40.35 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01396/48.38, allocations: 1.093 MB / 7.565 GB, free: 40.35 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01496/48.39, allocations: 6.62 MB / 7.572 GB, free: 35.36 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01972/48.41, allocations: 0.6998 MB / 7.572 GB, free: 35.32 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002238/48.42, allocations: 200.6 kB / 7.573 GB, free: 35.32 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/48.42, allocations: 4.5 kB / 7.573 GB, free: 35.32 MB / 1.026 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03524/48.45, allocations: 6.368 MB / 7.579 GB, free: 35.1 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001833/48.45, allocations: 20.69 kB / 7.579 GB, free: 35.1 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003212/48.45, allocations: 376.5 kB / 7.579 GB, free: 35.06 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01322/48.47, allocations: 1.081 MB / 7.58 GB, free: 35.06 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01612/48.48, allocations: 7.059 MB / 7.587 GB, free: 29.84 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01969/48.5, allocations: 0.6967 MB / 7.588 GB, free: 29.79 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0024/48.51, allocations: 194.3 kB / 7.588 GB, free: 29.79 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: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (576): * Single equations (assignments): 568 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 3 {1 4,1 5,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.01452/48.52, allocations: 2.836 MB / 7.591 GB, free: 29.59 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004682/48.53, allocations: 0.6937 MB / 7.591 GB, free: 29.23 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04759/48.57, allocations: 7.059 MB / 7.598 GB, free: 28.81 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001391/48.57, allocations: 46.09 kB / 7.598 GB, free: 28.81 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-05/48.57, allocations: 2 kB / 7.598 GB, free: 28.81 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03318/48.61, allocations: 5.632 MB / 7.604 GB, free: 28.32 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.08832/48.69, allocations: 15.44 MB / 7.619 GB, free: 43.3 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.38e-05/48.69, allocations: 0 / 7.619 GB, free: 43.3 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01516/48.71, allocations: 1.016 MB / 7.62 GB, free: 43.3 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003453/48.71, allocations: 372.8 kB / 7.62 GB, free: 43.26 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001893/48.72, allocations: 128 kB / 7.62 GB, free: 43.26 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02068/48.74, allocations: 9.451 MB / 7.63 GB, free: 35.63 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.548e-06/48.74, allocations: 6.781 kB / 7.63 GB, free: 35.63 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05241/48.79, allocations: 10.01 MB / 7.639 GB, free: 34.66 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01175/48.8, allocations: 1.604 MB / 7.641 GB, free: 34.2 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005471/48.81, allocations: 112.1 kB / 7.641 GB, free: 34.2 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01928/48.83, allocations: 0.6304 MB / 7.642 GB, free: 34.16 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002232/48.83, allocations: 289.5 kB / 7.642 GB, free: 34.16 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002291/48.83, allocations: 177.3 kB / 7.642 GB, free: 34.16 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.023/48.85, allocations: 4.666 MB / 7.647 GB, free: 33.94 MB / 1.042 GB Notification: Performance of sort global known variables: time 1.964e-06/48.85, allocations: 0 / 7.647 GB, free: 33.94 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.04411/48.9, allocations: 4.391 MB / 7.651 GB, free: 33.83 MB / 1.042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 24 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],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: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (460): * Single equations (assignments): 447 * 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: 5 * 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: 3 {(1,100.0%) 7,(1,100.0%) 3,(1,100.0%) 2} * Non-linear torn systems: 2 {1 4,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.02695/48.92, allocations: 7.905 MB / 7.659 GB, free: 30.1 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.04865/48.97, allocations: 9.932 MB / 7.668 GB, free: 29.14 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.967e-05/48.97, allocations: 8.125 kB / 7.668 GB, free: 29.14 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.01662/48.99, allocations: 3.497 MB / 7.672 GB, free: 28.56 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05869/49.05, allocations: 4.23 MB / 7.676 GB, free: 28.5 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09397/49.14, allocations: 20.85 MB / 7.696 GB, free: 21.04 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0221/49.17, allocations: 5.531 MB / 7.702 GB, free: 20.14 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.03644/49.2, allocations: 3.413 MB / 7.705 GB, free: 19.88 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006913/49.21, allocations: 0.5528 MB / 7.706 GB, free: 19.88 MB / 1.042 GB Notification: Performance of SimCode: time 1.814e-06/49.21, allocations: 0 / 7.706 GB, free: 19.88 MB / 1.042 GB Notification: Performance of Templates: time 2.275/51.48, allocations: 211 MB / 7.912 GB, free: 80.19 MB / 1.057 GB make -j1 -f Buildings_7.0.0_Buildings.Examples.Tutorial.SpaceCooling.System2.makefile (rm -f Buildings_7.0.0_Buildings.Examples.Tutorial.SpaceCooling.System2.pipe ; mkfifo Buildings_7.0.0_Buildings.Examples.Tutorial.SpaceCooling.System2.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Examples.Tutorial.SpaceCooling.System2.pipe >> ../files/Buildings_7.0.0_Buildings.Examples.Tutorial.SpaceCooling.System2.sim & ./Buildings_7.0.0_Buildings.Examples.Tutorial.SpaceCooling.System2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Examples.Tutorial.SpaceCooling.System2.pipe 2>&1)