Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System3.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.System3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T|cooCoi.sta_a2.T|cooCoi.sta_b2.T",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System3") translateModel(Buildings.Examples.Tutorial.SpaceCooling.System3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T|cooCoi.sta_a2.T|cooCoi.sta_b2.T",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.313/2.313, allocations: 387.1 MB / 399.7 MB, free: 9.484 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.001379/0.001379, allocations: 187.7 kB / 492.3 MB, free: 0.6211 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.544/1.544, allocations: 221.3 MB / 0.7872 GB, free: 12.88 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.0009082/0.0009081, allocations: 99.88 kB / 0.9267 GB, free: 13.94 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.876e-05/2.88e-05, allocations: 0 / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2721/0.2721, allocations: 142.3 MB / 1.212 GB, free: 38.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.57/6.843, allocations: 2.345 GB / 3.557 GB, free: 406.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002803/6.843, allocations: 92.8 kB / 3.557 GB, free: 406.7 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 11.3/18.14, allocations: 2.722 GB / 6.279 GB, free: 117.5 MB / 1.26 GB Notification: Performance of FrontEnd: time 4.398e-06/18.14, allocations: 0 / 6.279 GB, free: 117.5 MB / 1.26 GB Notification: Performance of Transformations before backend: time 0.001066/18.14, allocations: 142.4 kB / 6.279 GB, free: 117.5 MB / 1.26 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1033 * Number of variables: 1033 Notification: Performance of Generate backend data structure: time 0.02307/18.16, allocations: 5.632 MB / 6.285 GB, free: 115.5 MB / 1.26 GB Notification: Performance of prepare preOptimizeDAE: time 5.232e-05/18.16, allocations: 12.12 kB / 6.285 GB, free: 115.5 MB / 1.26 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02354/18.19, allocations: 3.339 MB / 6.288 GB, free: 115.2 MB / 1.26 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01761/18.21, allocations: 5.157 MB / 6.293 GB, free: 114.5 MB / 1.26 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005444/18.21, allocations: 355 kB / 6.294 GB, free: 114.5 MB / 1.26 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002094/18.21, allocations: 414.3 kB / 6.294 GB, free: 114.5 MB / 1.26 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01256/18.22, allocations: 4.866 MB / 6.299 GB, free: 114.1 MB / 1.26 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001007/18.22, allocations: 3.656 kB / 6.299 GB, free: 114.1 MB / 1.26 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006526/18.22, allocations: 170.4 kB / 6.299 GB, free: 114.1 MB / 1.26 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002587/18.22, allocations: 165.3 kB / 6.299 GB, free: 114 MB / 1.26 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01432/18.24, allocations: 4.853 MB / 6.304 GB, free: 114 MB / 1.26 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.05614/18.29, allocations: 20.81 MB / 6.324 GB, free: 107 MB / 1.26 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007155/18.3, allocations: 3.718 MB / 6.328 GB, free: 106.3 MB / 1.26 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003922/18.3, allocations: 1.897 MB / 6.33 GB, free: 106.3 MB / 1.26 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02154/18.32, allocations: 8.09 MB / 6.338 GB, free: 104.1 MB / 1.26 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004598/18.33, allocations: 2.15 MB / 6.34 GB, free: 103.9 MB / 1.26 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003231/18.33, allocations: 280.1 kB / 6.34 GB, free: 103.8 MB / 1.26 GB Notification: Performance of pre-optimization done (n=324): time 1.801e-05/18.33, allocations: 0 / 6.34 GB, free: 103.8 MB / 1.26 GB Notification: Performance of matching and sorting (n=330): time 0.02651/18.36, allocations: 8.596 MB / 6.348 GB, free: 102.4 MB / 1.26 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/18.36, allocations: 264.9 kB / 6.349 GB, free: 102.1 MB / 1.26 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007425/18.37, allocations: 2.87 MB / 6.351 GB, free: 101.8 MB / 1.26 GB Notification: Performance of collectPreVariables (initialization): time 0.001171/18.37, allocations: 91.11 kB / 6.351 GB, free: 101.7 MB / 1.26 GB Notification: Performance of collectInitialEqns (initialization): time 0.002574/18.37, allocations: 2.069 MB / 6.353 GB, free: 101.1 MB / 1.26 GB Notification: Performance of collectInitialBindings (initialization): time 0.00195/18.37, allocations: 1.11 MB / 6.355 GB, free: 100.3 MB / 1.26 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008934/18.37, allocations: 66 kB / 6.355 GB, free: 100.3 MB / 1.26 GB Notification: Performance of setup shared object (initialization): time 0.000355/18.37, allocations: 440.2 kB / 6.355 GB, free: 100 MB / 1.26 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003556/18.38, allocations: 1.5 MB / 6.356 GB, free: 100 MB / 1.26 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003916/18.38, allocations: 2.2 MB / 6.359 GB, free: 99.32 MB / 1.26 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003781/18.39, allocations: 1.706 MB / 6.36 GB, free: 99.26 MB / 1.26 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.691e-05/18.39, allocations: 7.156 kB / 6.36 GB, free: 99.26 MB / 1.26 GB Notification: Performance of matching and sorting (n=426) (initialization): time 0.01356/18.4, allocations: 4.832 MB / 6.365 GB, free: 98.86 MB / 1.26 GB Notification: Performance of prepare postOptimizeDAE: time 0.001664/18.4, allocations: 5.717 MB / 6.371 GB, free: 92.98 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-05/18.4, allocations: 13.88 kB / 6.371 GB, free: 92.98 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002708/18.4, allocations: 0.7066 MB / 6.371 GB, free: 92.93 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006942/18.41, allocations: 1.014 MB / 6.372 GB, free: 92.93 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01189/18.42, allocations: 9.852 MB / 6.382 GB, free: 86.1 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008039/18.43, allocations: 0.5473 MB / 6.382 GB, free: 86.08 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001565/18.43, allocations: 167.9 kB / 6.383 GB, free: 86.08 MB / 1.26 GB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/18.43, allocations: 5 kB / 6.383 GB, free: 86.08 MB / 1.26 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01699/18.45, allocations: 4.515 MB / 6.387 GB, free: 85.83 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.695e-05/18.45, allocations: 10.75 kB / 6.387 GB, free: 85.83 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002719/18.45, allocations: 0.7066 MB / 6.388 GB, free: 85.78 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00648/18.46, allocations: 1.005 MB / 6.389 GB, free: 85.78 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01067/18.47, allocations: 10.74 MB / 6.399 GB, free: 78.12 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007476/18.48, allocations: 0.5487 MB / 6.4 GB, free: 78.1 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001268/18.48, allocations: 158.3 kB / 6.4 GB, free: 78.1 MB / 1.26 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 12 (cooCoi.flowRegime_nominal,$whenCondition2,$whenCondition1,cooCoi.flowRegime,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.con.y,con.y,cooCoi.UAFroRated.isFulDry,cooCoi.UAFroRated.isFulWet) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (386): * Single equations (assignments): 378 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {1 2,3 22,1 2,5 2,1 3,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.00229/18.48, allocations: 306.7 kB / 6.4 GB, free: 77.98 MB / 1.26 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002218/18.48, allocations: 445.3 kB / 6.401 GB, free: 77.75 MB / 1.26 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0152/18.5, allocations: 4.886 MB / 6.405 GB, free: 77.38 MB / 1.26 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.665e-05/18.5, allocations: 34.62 kB / 6.405 GB, free: 77.38 MB / 1.26 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.512e-05/18.5, allocations: 6.531 kB / 6.405 GB, free: 77.38 MB / 1.26 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009707/18.51, allocations: 3.792 MB / 6.409 GB, free: 77.08 MB / 1.26 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 postOpt removeSimpleEquations (simulation): time 0.02818/18.54, allocations: 10.03 MB / 6.419 GB, free: 76.27 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-05/18.54, allocations: 0 / 6.419 GB, free: 76.27 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005276/18.54, allocations: 0.8579 MB / 6.42 GB, free: 76.27 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001624/18.54, allocations: 389.8 kB / 6.42 GB, free: 76.22 MB / 1.26 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009739/18.54, allocations: 107.8 kB / 6.42 GB, free: 76.22 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006588/18.55, allocations: 9.163 MB / 6.429 GB, free: 68.12 MB / 1.26 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/18.55, allocations: 3.75 kB / 6.429 GB, free: 68.12 MB / 1.26 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01957/18.57, allocations: 6.729 MB / 6.436 GB, free: 67.27 MB / 1.26 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005568/18.58, allocations: 1.049 MB / 6.437 GB, free: 66.94 MB / 1.26 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002338/18.58, allocations: 67.78 kB / 6.437 GB, free: 66.94 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007106/18.59, allocations: 0.5167 MB / 6.437 GB, free: 66.92 MB / 1.26 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008869/18.59, allocations: 230.5 kB / 6.438 GB, free: 66.91 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000885/18.59, allocations: 144.1 kB / 6.438 GB, free: 66.91 MB / 1.26 GB Notification: Performance of sorting global known variables: time 0.006073/18.59, allocations: 2.19 MB / 6.44 GB, free: 66.71 MB / 1.26 GB Notification: Performance of sort global known variables: time 3.61e-07/18.59, allocations: 3.75 kB / 6.44 GB, free: 66.71 MB / 1.26 GB Notification: Performance of remove unused functions: time 0.02047/18.61, allocations: 3.028 MB / 6.443 GB, free: 66.59 MB / 1.26 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 12 (vol.dynBal.medium.X[2],vol.dynBal.medium.dT,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: 6 ($whenCondition2,$whenCondition1,cooCoi.flowRegime,weaDat.conTimMin.tNext,weaDat.conTim.tNext,con.y) * Number of discrete states: 3 (weaDat.conTim.tNext,weaDat.conTimMin.tNext,con.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (342): * Single equations (assignments): 330 * 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%) 1,(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.01492/18.63, allocations: 7.297 MB / 6.45 GB, free: 63.2 MB / 1.26 GB Notification: Performance of simCode: created initialization part: time 0.02421/18.65, allocations: 7.348 MB / 6.457 GB, free: 62.23 MB / 1.26 GB Notification: Performance of simCode: created event and clocks part: time 1.457e-05/18.65, allocations: 4.438 kB / 6.457 GB, free: 62.23 MB / 1.26 GB Notification: Performance of simCode: created simulation system equations: time 0.006234/18.66, allocations: 2.6 MB / 6.46 GB, free: 61.67 MB / 1.26 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0124/18.67, allocations: 1.955 MB / 6.462 GB, free: 61.64 MB / 1.26 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02551/18.7, allocations: 7.779 MB / 6.469 GB, free: 59.94 MB / 1.26 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005092/18.7, allocations: 2.851 MB / 6.472 GB, free: 59.12 MB / 1.26 GB Notification: Performance of simCode: alias equations: time 0.01514/18.72, allocations: 1.871 MB / 6.474 GB, free: 59.08 MB / 1.26 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002428/18.72, allocations: 344.4 kB / 6.474 GB, free: 59.07 MB / 1.26 GB Notification: Performance of SimCode: time 1.493e-06/18.72, allocations: 0 / 6.474 GB, free: 59.07 MB / 1.26 GB Notification: Performance of Templates: time 0.2652/18.99, allocations: 168.4 MB / 6.639 GB, free: 32.61 MB / 1.26 GB make -j1 -f Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System3.makefile (rm -f Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System3.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System3.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System3.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System3.sim & ./Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System3.pipe 2>&1)