Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.SpaceCooling.System2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T|cooCoi.sta_b2.T",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System2") translateModel(Buildings.Examples.Tutorial.SpaceCooling.System2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T|cooCoi.sta_b2.T",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.439/2.439, allocations: 390.3 MB / 405.3 MB, free: 13.48 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001231/0.001231, allocations: 185 kB / 498.1 MB, free: 5.73 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.696/1.696, allocations: 223.2 MB / 0.7948 GB, free: 18.84 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009249/0.0009247, allocations: 96.33 kB / 0.9346 GB, free: 7.133 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004596/0.0004598, allocations: 12.11 kB / 1.084 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.35/0.3505, allocations: 142.3 MB / 1.223 GB, free: 89.59 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.343/6.693, allocations: 2.344 GB / 3.567 GB, free: 75.75 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002738/6.694, allocations: 97.08 kB / 3.567 GB, free: 75.66 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 10.44/17.13, allocations: 2.725 GB / 6.292 GB, free: 46.07 MB / 1.229 GB Notification: Performance of FrontEnd: time 3.286e-06/17.13, allocations: 0 / 6.292 GB, free: 46.07 MB / 1.229 GB Notification: Performance of Transformations before backend: time 0.0008435/17.13, allocations: 135.7 kB / 6.292 GB, free: 45.95 MB / 1.229 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1024 * Number of variables: 1024 Notification: Performance of Generate backend data structure: time 0.02471/17.16, allocations: 6.572 MB / 6.299 GB, free: 39.28 MB / 1.229 GB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/17.16, allocations: 12.02 kB / 6.299 GB, free: 39.27 MB / 1.229 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02316/17.18, allocations: 3.329 MB / 6.302 GB, free: 35.93 MB / 1.229 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01709/17.2, allocations: 5.203 MB / 6.307 GB, free: 30.68 MB / 1.229 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004898/17.2, allocations: 350.1 kB / 6.307 GB, free: 30.33 MB / 1.229 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001889/17.2, allocations: 408 kB / 6.308 GB, free: 29.93 MB / 1.229 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01572/17.22, allocations: 5.389 MB / 6.313 GB, free: 24.42 MB / 1.229 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001053/17.22, allocations: 7.844 kB / 6.313 GB, free: 24.41 MB / 1.229 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006288/17.22, allocations: 164 kB / 6.313 GB, free: 24.25 MB / 1.229 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001411/17.22, allocations: 159.8 kB / 6.313 GB, free: 24.09 MB / 1.229 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01667/17.24, allocations: 5.886 MB / 6.319 GB, free: 18.2 MB / 1.229 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.05065/17.29, allocations: 20.91 MB / 6.339 GB, free: 12.32 MB / 1.245 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01119/17.3, allocations: 4.057 MB / 6.343 GB, free: 8.184 MB / 1.245 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02171/17.32, allocations: 7.612 MB / 6.351 GB, free: 280 kB / 1.245 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007251/17.33, allocations: 2.441 MB / 6.353 GB, free: 13.79 MB / 1.26 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003439/17.33, allocations: 273.3 kB / 6.353 GB, free: 13.52 MB / 1.26 GB Notification: Performance of pre-optimization done (n=310): time 2.295e-05/17.33, allocations: 0 / 6.353 GB, free: 13.52 MB / 1.26 GB Notification: Performance of matching and sorting (n=310): time 0.02671/17.36, allocations: 7.101 MB / 6.36 GB, free: 6.262 MB / 1.26 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001912/17.36, allocations: 291.5 kB / 6.361 GB, free: 5.914 MB / 1.26 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007261/17.36, allocations: 3.069 MB / 6.364 GB, free: 2.828 MB / 1.26 GB Notification: Performance of collectPreVariables (initialization): time 0.001165/17.37, allocations: 93.7 kB / 6.364 GB, free: 2.73 MB / 1.26 GB Notification: Performance of collectInitialEqns (initialization): time 0.002577/17.37, allocations: 2.094 MB / 6.366 GB, free: 0.6211 MB / 1.26 GB Notification: Performance of collectInitialBindings (initialization): time 0.001927/17.37, allocations: 1.047 MB / 6.367 GB, free: 15.55 MB / 1.276 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003377/17.37, allocations: 68 kB / 6.367 GB, free: 15.49 MB / 1.276 GB Notification: Performance of setup shared object (initialization): time 0.0003114/17.37, allocations: 436.5 kB / 6.367 GB, free: 15.06 MB / 1.276 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005927/17.38, allocations: 1.892 MB / 6.369 GB, free: 13.16 MB / 1.276 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006937/17.38, allocations: 2.614 MB / 6.372 GB, free: 10.29 MB / 1.276 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006819/17.39, allocations: 2.094 MB / 6.374 GB, free: 8.184 MB / 1.276 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.821e-05/17.39, allocations: 0 / 6.374 GB, free: 8.184 MB / 1.276 GB Notification: Performance of matching and sorting (n=417) (initialization): time 0.01887/17.41, allocations: 5.413 MB / 6.379 GB, free: 2.727 MB / 1.276 GB Notification: Performance of prepare postOptimizeDAE: time 0.689/18.1, allocations: 5.719 MB / 6.385 GB, free: 126.2 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.083e-05/18.1, allocations: 16.23 kB / 6.385 GB, free: 126.2 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002442/18.1, allocations: 0.4898 MB / 6.385 GB, free: 126.2 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006876/18.11, allocations: 1.027 MB / 6.386 GB, free: 126.2 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007324/18.12, allocations: 7.237 MB / 6.393 GB, free: 120.2 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007411/18.12, allocations: 0.5898 MB / 6.394 GB, free: 120.2 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008583/18.12, allocations: 164.5 kB / 6.394 GB, free: 120.2 MB / 1.276 GB Notification: Performance of prepare postOptimizeDAE: time 1.058e-05/18.12, allocations: 4.938 kB / 6.394 GB, free: 120.2 MB / 1.276 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01601/18.14, allocations: 5.074 MB / 6.399 GB, free: 120 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.986e-05/18.14, allocations: 12.78 kB / 6.399 GB, free: 120 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002124/18.14, allocations: 0.4898 MB / 6.399 GB, free: 119.9 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006319/18.15, allocations: 1.016 MB / 6.4 GB, free: 119.9 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007708/18.16, allocations: 7.526 MB / 6.408 GB, free: 113.7 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008257/18.16, allocations: 0.5569 MB / 6.408 GB, free: 113.7 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00104/18.16, allocations: 162.1 kB / 6.408 GB, free: 113.7 MB / 1.276 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 10 (cooCoi.flowRegime_nominal,$whenCondition2,$whenCondition1,cooCoi.flowRegime,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,cooCoi.UAFroRated.isFulDry,cooCoi.UAFroRated.isFulWet) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (399): * Single equations (assignments): 391 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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: 0 * Non-linear torn systems: 5 {1 2,1 4,5 2,1 3,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.003857/18.17, allocations: 1.091 MB / 6.409 GB, free: 113.5 MB / 1.276 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001306/18.17, allocations: 439.3 kB / 6.41 GB, free: 113.5 MB / 1.276 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01681/18.19, allocations: 5.384 MB / 6.415 GB, free: 113.2 MB / 1.276 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.92e-05/18.19, allocations: 33.16 kB / 6.415 GB, free: 113.2 MB / 1.276 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.616e-05/18.19, allocations: 7.766 kB / 6.415 GB, free: 113.2 MB / 1.276 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01235/18.2, allocations: 4.335 MB / 6.419 GB, free: 112.9 MB / 1.276 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.02385/18.22, allocations: 10.32 MB / 6.429 GB, free: 112.1 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.269e-05/18.22, allocations: 7.391 kB / 6.429 GB, free: 112.1 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004483/18.23, allocations: 0.7764 MB / 6.43 GB, free: 112.1 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001626/18.23, allocations: 381.5 kB / 6.431 GB, free: 112.1 MB / 1.276 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004178/18.23, allocations: 97.34 kB / 6.431 GB, free: 112.1 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006408/18.24, allocations: 9.265 MB / 6.44 GB, free: 104 MB / 1.276 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/18.24, allocations: 0 / 6.44 GB, free: 104 MB / 1.276 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01858/18.25, allocations: 7.446 MB / 6.447 GB, free: 103.3 MB / 1.276 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003196/18.26, allocations: 1.031 MB / 6.448 GB, free: 103 MB / 1.276 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009066/18.26, allocations: 63.7 kB / 6.448 GB, free: 103 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005007/18.26, allocations: 498.6 kB / 6.449 GB, free: 102.9 MB / 1.276 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004491/18.26, allocations: 212.6 kB / 6.449 GB, free: 102.9 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003586/18.26, allocations: 134.3 kB / 6.449 GB, free: 102.9 MB / 1.276 GB Notification: Performance of sorting global known variables: time 0.004027/18.27, allocations: 2.377 MB / 6.451 GB, free: 102.8 MB / 1.276 GB Notification: Performance of sort global known variables: time 2.3e-07/18.27, allocations: 3.875 kB / 6.451 GB, free: 102.8 MB / 1.276 GB Notification: Performance of remove unused functions: time 0.01319/18.28, allocations: 3.373 MB / 6.454 GB, free: 102.6 MB / 1.276 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 12 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,fan.filter.s[1],fan.filter.s[2],cooCoi.heaCoo.vol.dynBal.U,cooCoi.heaCooHum_u.vol.dynBal.medium.Xi[1],cooCoi.heaCooHum_u.vol.dynBal.U,cooCoi.heaCooHum_u.vol.dynBal.m,cooCoi.dryWetCalcs.fullyWet.TWatOutEst,senTemHXOut.T,senTemSupAir.T) * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,cooCoi.flowRegime,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (319): * Single equations (assignments): 307 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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: 2 {(1,100.0%) 2,(1,100.0%) 1} * Non-linear torn systems: 4 {1 2,1 4,1 1,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.01133/18.29, allocations: 7.339 MB / 6.462 GB, free: 99.36 MB / 1.276 GB Notification: Performance of simCode: created initialization part: time 0.02656/18.32, allocations: 7.856 MB / 6.469 GB, free: 98.7 MB / 1.276 GB Notification: Performance of simCode: created event and clocks part: time 9.708e-06/18.32, allocations: 4.531 kB / 6.469 GB, free: 98.7 MB / 1.276 GB Notification: Performance of simCode: created simulation system equations: time 0.006124/18.33, allocations: 2.843 MB / 6.472 GB, free: 98.12 MB / 1.276 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009094/18.34, allocations: 1.988 MB / 6.474 GB, free: 98.09 MB / 1.276 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02194/18.36, allocations: 11.55 MB / 6.485 GB, free: 93.67 MB / 1.276 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002162/18.36, allocations: 2.805 MB / 6.488 GB, free: 92.86 MB / 1.276 GB Notification: Performance of simCode: alias equations: time 0.008511/18.37, allocations: 1.518 MB / 6.49 GB, free: 92.82 MB / 1.276 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001581/18.37, allocations: 403.4 kB / 6.49 GB, free: 92.82 MB / 1.276 GB Notification: Performance of SimCode: time 7.12e-07/18.37, allocations: 0 / 6.49 GB, free: 92.82 MB / 1.276 GB Notification: Performance of Templates: time 0.1918/18.56, allocations: 144.8 MB / 6.631 GB, free: 85.05 MB / 1.276 GB make -j1 -f Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System2.makefile (rm -f Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System2.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System2.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System2.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System2.sim & ./Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System2.pipe 2>&1)