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.264/2.264, allocations: 387.1 MB / 399.7 MB, free: 9.465 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.0011/0.0011, allocations: 176.9 kB / 492.3 MB, free: 0.5977 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.527/1.527, allocations: 221.3 MB / 0.7871 GB, free: 12.86 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.0009148/0.0009148, allocations: 94.09 kB / 0.9267 GB, free: 13.93 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.79e-05/3.794e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2957/0.2957, allocations: 142.3 MB / 1.212 GB, free: 38.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.997/7.293, allocations: 2.344 GB / 3.557 GB, free: 339.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002359/7.293, allocations: 96.22 kB / 3.557 GB, free: 339.2 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 11.11/18.41, allocations: 2.721 GB / 6.278 GB, free: 121.9 MB / 1.26 GB Notification: Performance of FrontEnd: time 1.724e-06/18.41, allocations: 0 / 6.278 GB, free: 121.9 MB / 1.26 GB Notification: Performance of Transformations before backend: time 0.0007343/18.41, allocations: 138.2 kB / 6.278 GB, free: 121.9 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: 1024 * Number of variables: 1024 Notification: Performance of Generate backend data structure: time 0.02042/18.43, allocations: 5.593 MB / 6.284 GB, free: 119.9 MB / 1.26 GB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/18.43, allocations: 6.656 kB / 6.284 GB, free: 119.9 MB / 1.26 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02344/18.45, allocations: 3.341 MB / 6.287 GB, free: 119.6 MB / 1.26 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01635/18.47, allocations: 5.14 MB / 6.292 GB, free: 118.8 MB / 1.26 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004518/18.47, allocations: 344.5 kB / 6.292 GB, free: 118.8 MB / 1.26 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001683/18.47, allocations: 412.3 kB / 6.293 GB, free: 118.8 MB / 1.26 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01209/18.48, allocations: 4.831 MB / 6.297 GB, free: 118.4 MB / 1.26 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001079/18.48, allocations: 11.39 kB / 6.297 GB, free: 118.4 MB / 1.26 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006355/18.48, allocations: 166.1 kB / 6.297 GB, free: 118.4 MB / 1.26 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001847/18.48, allocations: 163.8 kB / 6.298 GB, free: 118.4 MB / 1.26 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01319/18.5, allocations: 4.831 MB / 6.302 GB, free: 118.4 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.05616/18.55, allocations: 20.91 MB / 6.323 GB, free: 111.1 MB / 1.26 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01009/18.56, allocations: 3.54 MB / 6.326 GB, free: 110.4 MB / 1.26 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005259/18.57, allocations: 1.807 MB / 6.328 GB, free: 110.4 MB / 1.26 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02151/18.59, allocations: 7.61 MB / 6.335 GB, free: 108.5 MB / 1.26 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004573/18.6, allocations: 2.044 MB / 6.337 GB, free: 108.3 MB / 1.26 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003464/18.6, allocations: 269.7 kB / 6.338 GB, free: 108.2 MB / 1.26 GB Notification: Performance of pre-optimization done (n=309): time 2.96e-05/18.6, allocations: 0 / 6.338 GB, free: 108.2 MB / 1.26 GB Notification: Performance of matching and sorting (n=309): time 0.01235/18.61, allocations: 3.886 MB / 6.341 GB, free: 107.8 MB / 1.26 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001195/18.61, allocations: 291.9 kB / 6.342 GB, free: 107.5 MB / 1.26 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008921/18.62, allocations: 2.975 MB / 6.345 GB, free: 107.1 MB / 1.26 GB Notification: Performance of collectPreVariables (initialization): time 0.001311/18.62, allocations: 88.23 kB / 6.345 GB, free: 107.1 MB / 1.26 GB Notification: Performance of collectInitialEqns (initialization): time 0.003011/18.62, allocations: 2.094 MB / 6.347 GB, free: 106.4 MB / 1.26 GB Notification: Performance of collectInitialBindings (initialization): time 0.001962/18.63, allocations: 1.045 MB / 6.348 GB, free: 105.8 MB / 1.26 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009858/18.63, allocations: 65.91 kB / 6.348 GB, free: 105.8 MB / 1.26 GB Notification: Performance of setup shared object (initialization): time 0.0003892/18.63, allocations: 433.9 kB / 6.348 GB, free: 105.4 MB / 1.26 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003631/18.63, allocations: 1.445 MB / 6.35 GB, free: 105.4 MB / 1.26 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004202/18.64, allocations: 2.152 MB / 6.352 GB, free: 104.7 MB / 1.26 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004107/18.64, allocations: 1.645 MB / 6.353 GB, free: 104.7 MB / 1.26 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.114e-05/18.64, allocations: 4.125 kB / 6.353 GB, free: 104.7 MB / 1.26 GB Notification: Performance of matching and sorting (n=416) (initialization): time 0.01554/18.66, allocations: 4.498 MB / 6.358 GB, free: 104.3 MB / 1.26 GB Notification: Performance of prepare postOptimizeDAE: time 0.00191/18.66, allocations: 5.728 MB / 6.363 GB, free: 98.42 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.063e-05/18.66, allocations: 13.97 kB / 6.363 GB, free: 98.42 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002029/18.66, allocations: 474.8 kB / 6.364 GB, free: 98.38 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007061/18.67, allocations: 1.025 MB / 6.365 GB, free: 98.38 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006528/18.67, allocations: 7.143 MB / 6.372 GB, free: 92.34 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008601/18.68, allocations: 0.5967 MB / 6.372 GB, free: 92.31 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001408/18.68, allocations: 165 kB / 6.372 GB, free: 92.31 MB / 1.26 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/18.68, allocations: 3.656 kB / 6.372 GB, free: 92.31 MB / 1.26 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01387/18.7, allocations: 4.168 MB / 6.377 GB, free: 92.08 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.706e-05/18.7, allocations: 11.19 kB / 6.377 GB, free: 92.08 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001724/18.7, allocations: 473.5 kB / 6.377 GB, free: 92.04 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006407/18.71, allocations: 1.016 MB / 6.378 GB, free: 92.04 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006846/18.71, allocations: 7.421 MB / 6.385 GB, free: 85.78 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007915/18.72, allocations: 0.5611 MB / 6.386 GB, free: 85.75 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001354/18.72, allocations: 157.2 kB / 6.386 GB, free: 85.75 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: 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (398): * Single equations (assignments): 390 * 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.002332/18.72, allocations: 300.9 kB / 6.386 GB, free: 85.64 MB / 1.26 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002414/18.73, allocations: 445.1 kB / 6.387 GB, free: 85.41 MB / 1.26 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0151/18.74, allocations: 4.603 MB / 6.391 GB, free: 85.04 MB / 1.26 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.86e-05/18.74, allocations: 33.03 kB / 6.391 GB, free: 85.04 MB / 1.26 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.589e-05/18.74, allocations: 1.75 kB / 6.391 GB, free: 85.04 MB / 1.26 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009144/18.75, allocations: 3.569 MB / 6.395 GB, free: 84.73 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.02654/18.78, allocations: 9.542 MB / 6.404 GB, free: 83.94 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.151e-05/18.78, allocations: 7.656 kB / 6.404 GB, free: 83.94 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004833/18.78, allocations: 0.7747 MB / 6.405 GB, free: 83.94 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001583/18.78, allocations: 361.2 kB / 6.405 GB, free: 83.89 MB / 1.26 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007036/18.79, allocations: 98.42 kB / 6.405 GB, free: 83.89 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007393/18.79, allocations: 9.129 MB / 6.414 GB, free: 75.79 MB / 1.26 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/18.79, allocations: 5.156 kB / 6.414 GB, free: 75.79 MB / 1.26 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01624/18.81, allocations: 6.282 MB / 6.42 GB, free: 74.91 MB / 1.26 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004086/18.81, allocations: 1.034 MB / 6.421 GB, free: 74.59 MB / 1.26 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002105/18.82, allocations: 63.28 kB / 6.421 GB, free: 74.59 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006738/18.82, allocations: 497.2 kB / 6.422 GB, free: 74.57 MB / 1.26 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006968/18.82, allocations: 208.1 kB / 6.422 GB, free: 74.56 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005888/18.82, allocations: 142.5 kB / 6.422 GB, free: 74.56 MB / 1.26 GB Notification: Performance of sorting global known variables: time 0.006575/18.83, allocations: 2.277 MB / 6.424 GB, free: 74.36 MB / 1.26 GB Notification: Performance of sort global known variables: time 3.51e-07/18.83, allocations: 2.297 kB / 6.424 GB, free: 74.36 MB / 1.26 GB Notification: Performance of remove unused functions: time 0.01793/18.85, allocations: 3.377 MB / 6.428 GB, free: 73.92 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.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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (318): * Single equations (assignments): 306 * 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.0144/18.86, allocations: 7.305 MB / 6.435 GB, free: 70.51 MB / 1.26 GB Notification: Performance of simCode: created initialization part: time 0.01857/18.88, allocations: 6.666 MB / 6.441 GB, free: 69.83 MB / 1.26 GB Notification: Performance of simCode: created event and clocks part: time 1.657e-05/18.88, allocations: 0.5625 kB / 6.441 GB, free: 69.83 MB / 1.26 GB Notification: Performance of simCode: created simulation system equations: time 0.005602/18.89, allocations: 2.469 MB / 6.444 GB, free: 69.25 MB / 1.26 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01275/18.9, allocations: 1.972 MB / 6.446 GB, free: 69.21 MB / 1.26 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02533/18.92, allocations: 7.642 MB / 6.453 GB, free: 67.53 MB / 1.26 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004915/18.93, allocations: 2.82 MB / 6.456 GB, free: 66.71 MB / 1.26 GB Notification: Performance of simCode: alias equations: time 0.01258/18.94, allocations: 1.877 MB / 6.458 GB, free: 66.66 MB / 1.26 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001377/18.94, allocations: 330.8 kB / 6.458 GB, free: 66.65 MB / 1.26 GB Notification: Performance of SimCode: time 1.623e-06/18.94, allocations: 2.156 kB / 6.458 GB, free: 66.65 MB / 1.26 GB Notification: Performance of Templates: time 0.2504/19.19, allocations: 163.9 MB / 6.618 GB, free: 26.3 MB / 1.26 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)