Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.Detailed.Examples.MixedAirCO2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.ThermalZones.Detailed.Examples.MixedAirCO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nPer.y|senCO2.ppm|CO2Set.y|conPI.y|bou.ports.1..m_flow",fileNamePrefix="Buildings_9_Buildings.ThermalZones.Detailed.Examples.MixedAirCO2") translateModel(Buildings.ThermalZones.Detailed.Examples.MixedAirCO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nPer.y|senCO2.ppm|CO2Set.y|conPI.y|bou.ports.1..m_flow",fileNamePrefix="Buildings_9_Buildings.ThermalZones.Detailed.Examples.MixedAirCO2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001086/0.001091, allocations: 111 kB / 16.42 MB, free: 6.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009844/0.0009844, allocations: 187.9 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.258/1.258, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.125/2.125, allocations: 390.3 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 63.91 kB / 0.9515 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6835/0.6847, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.MixedAirCO2): time 0.2312/0.916, allocations: 233.9 MB / 1.317 GB, free: 3.535 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.06026/0.9762, allocations: 43.21 MB / 1.359 GB, free: 8.199 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01193/0.9882, allocations: 362.1 kB / 1.36 GB, free: 7.844 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.01674/1.005, allocations: 7.379 MB / 1.367 GB, free: 440 kB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.01764/1.023, allocations: 6.396 MB / 1.373 GB, free: 10.01 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.01495/1.038, allocations: 5.493 MB / 1.378 GB, free: 4.527 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.04985/1.087, allocations: 48.5 MB / 1.426 GB, free: 3.949 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0216/1.109, allocations: 18.24 MB / 1.444 GB, free: 1.57 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02869/1.138, allocations: 20.56 MB / 1.464 GB, free: 12.97 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02215/1.16, allocations: 15.25 MB / 1.479 GB, free: 13.67 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.008227/1.168, allocations: 2.746 MB / 1.481 GB, free: 10.92 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0171/1.185, allocations: 6.931 MB / 1.488 GB, free: 3.984 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.01554/1.201, allocations: 11.82 MB / 1.5 GB, free: 8.137 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.02572/1.227, allocations: 15.16 MB / 1.514 GB, free: 8.91 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.05989/1.287, allocations: 52.04 MB / 1.565 GB, free: 4.73 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/1.287, allocations: 4 kB / 1.565 GB, free: 4.727 MB / 1.295 GB Notification: Performance of FrontEnd: time 1.623e-06/1.287, allocations: 0 / 1.565 GB, free: 4.727 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.001294/1.288, allocations: 0 / 1.565 GB, free: 4.727 MB / 1.295 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1772 * Number of variables: 1772 Notification: Performance of Generate backend data structure: time 1.042/2.33, allocations: 35.03 MB / 1.599 GB, free: 398.5 MB / 1.311 GB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/2.33, allocations: 9.031 kB / 1.599 GB, free: 398.5 MB / 1.311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03746/2.368, allocations: 7.302 MB / 1.607 GB, free: 397 MB / 1.311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07236/2.44, allocations: 43.66 MB / 1.649 GB, free: 379.2 MB / 1.311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009552/2.441, allocations: 1.401 MB / 1.651 GB, free: 378.1 MB / 1.311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003294/2.445, allocations: 0.9706 MB / 1.651 GB, free: 377.8 MB / 1.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02558/2.47, allocations: 13.82 MB / 1.665 GB, free: 371.1 MB / 1.311 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001148/2.47, allocations: 19.5 kB / 1.665 GB, free: 371.1 MB / 1.311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009126/2.471, allocations: 289.6 kB / 1.665 GB, free: 370.9 MB / 1.311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001502/2.471, allocations: 262.1 kB / 1.666 GB, free: 370.8 MB / 1.311 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0231/2.494, allocations: 13.69 MB / 1.679 GB, free: 362.7 MB / 1.311 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.1216/2.616, allocations: 85.44 MB / 1.762 GB, free: 275 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01716/2.633, allocations: 10.54 MB / 1.773 GB, free: 264.5 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01102/2.644, allocations: 7.388 MB / 1.78 GB, free: 257.1 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009887/2.645, allocations: 0.84 MB / 1.781 GB, free: 256.1 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01019/2.656, allocations: 6.65 MB / 1.787 GB, free: 249.5 MB / 1.311 GB Notification: Performance of pre-optimization done (n=507): time 6.532e-06/2.656, allocations: 4 kB / 1.787 GB, free: 249.5 MB / 1.311 GB Notification: Performance of matching and sorting (n=507): time 0.05481/2.71, allocations: 26.92 MB / 1.813 GB, free: 222.2 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001733/2.711, allocations: 399.6 kB / 1.814 GB, free: 221.8 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.09858/2.809, allocations: 63.55 MB / 1.876 GB, free: 158.4 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.002892/2.812, allocations: 249.7 kB / 1.876 GB, free: 158.2 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.01418/2.826, allocations: 11.79 MB / 1.888 GB, free: 146.3 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.002691/2.829, allocations: 1.787 MB / 1.889 GB, free: 144.5 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007394/2.836, allocations: 7.639 MB / 1.897 GB, free: 136.8 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 3.936e-05/2.836, allocations: 301.1 kB / 1.897 GB, free: 136.5 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04297/2.879, allocations: 52.54 MB / 1.948 GB, free: 83.98 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04746/2.927, allocations: 57.47 MB / 2.005 GB, free: 24.81 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06939/2.996, allocations: 70.24 MB / 2.073 GB, free: 0.6797 MB / 1.358 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.853e-05/2.996, allocations: 32 kB / 2.073 GB, free: 0.6484 MB / 1.358 GB Notification: Performance of matching and sorting (n=2949) (initialization): time 0.6501/3.647, allocations: 126.3 MB / 2.197 GB, free: 437.1 MB / 1.404 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003029/3.647, allocations: 300.6 kB / 2.197 GB, free: 437 MB / 1.404 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.08462/3.732, allocations: 87.36 MB / 2.282 GB, free: 369.8 MB / 1.404 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1108/3.842, allocations: 37.06 MB / 2.318 GB, free: 337.2 MB / 1.404 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01565/3.858, allocations: 3.331 MB / 2.322 GB, free: 334 MB / 1.404 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02336/3.882, allocations: 31.99 MB / 2.353 GB, free: 299.9 MB / 1.404 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02435/3.906, allocations: 2.993 MB / 2.356 GB, free: 297.5 MB / 1.404 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002975/3.909, allocations: 0.5819 MB / 2.356 GB, free: 296.9 MB / 1.404 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.06006/3.969, allocations: 65.82 MB / 2.421 GB, free: 231 MB / 1.404 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.04729/4.016, allocations: 57.4 MB / 2.477 GB, free: 171.9 MB / 1.404 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0639/4.08, allocations: 70.12 MB / 2.545 GB, free: 99.92 MB / 1.404 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001474/4.08, allocations: 36 kB / 2.545 GB, free: 99.88 MB / 1.404 GB Notification: Performance of matching and sorting (n=2949) (initialization_lambda0): time 0.6634/4.744, allocations: 125.4 MB / 2.668 GB, free: 452.9 MB / 1.42 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003571/4.744, allocations: 298.3 kB / 2.668 GB, free: 452.8 MB / 1.42 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.1055/4.85, allocations: 87.58 MB / 2.753 GB, free: 421.3 MB / 1.42 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009327/4.859, allocations: 3.103 MB / 2.756 GB, free: 420.7 MB / 1.42 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01616/4.875, allocations: 3.321 MB / 2.76 GB, free: 420.6 MB / 1.42 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02988/4.905, allocations: 34.32 MB / 2.793 GB, free: 395.2 MB / 1.42 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02775/4.933, allocations: 2.645 MB / 2.796 GB, free: 393.8 MB / 1.42 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003266/4.936, allocations: 0.5712 MB / 2.796 GB, free: 393.2 MB / 1.42 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 539 * Number of states: 0 () * Number of discrete variables: 41 (weaDat1.conTim.canRepeatWeatherFile,weaDat1.conTimMin.canRepeatWeatherFile,roo.solRadExc.is_flo[12],roo.solRadExc.is_flo[11],roo.solRadExc.is_flo[10],roo.solRadExc.is_flo[9],roo.solRadExc.is_flo[8],roo.solRadExc.is_flo[7],roo.solRadExc.is_flo[6],roo.solRadExc.is_flo[5],roo.solRadExc.is_flo[4],roo.solRadExc.is_flo[3],roo.solRadExc.is_flo[2],roo.solRadExc.is_flo[1],nPer.count,$PRE.nPer.count,nPer.T_start,$PRE.nPer.T_start,weaDat1.decAng.tNext,$PRE.weaDat1.decAng.tNext,weaDat1.eqnTim.tNext,$PRE.weaDat1.eqnTim.tNext,weaDat1.conTim.tNext,$PRE.weaDat1.conTim.tNext,weaDat1.conTimMin.tNext,$PRE.weaDat1.conTimMin.tNext,weaDat1.locTim.tNext,$PRE.weaDat1.locTim.tNext,roo.bouConExtWin.HDifTil[1].incAng.decAng.tNext,$PRE.roo.bouConExtWin.HDifTil[1].incAng.decAng.tNext,roo.bouConExtWin.HDirTil[1].incAng.decAng.tNext,$PRE.roo.bouConExtWin.HDirTil[1].incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1416): * Single equations (assignments): 1358 * Array equations: 39 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 10 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(14,53), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.00496/4.941, allocations: 1.118 MB / 2.797 GB, free: 392.3 MB / 1.42 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007756/4.949, allocations: 2.402 MB / 2.8 GB, free: 391.3 MB / 1.42 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03736/4.986, allocations: 18.49 MB / 2.818 GB, free: 376.3 MB / 1.42 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02709/5.014, allocations: 14.88 MB / 2.832 GB, free: 361.6 MB / 1.42 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.02575/5.039, allocations: 13.95 MB / 2.846 GB, free: 347.6 MB / 1.42 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01867/5.058, allocations: 6.335 MB / 2.852 GB, free: 341.3 MB / 1.42 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01023/5.068, allocations: 151.9 kB / 2.852 GB, free: 341.2 MB / 1.42 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01764/5.086, allocations: 1.326 MB / 2.854 GB, free: 339.8 MB / 1.42 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001529/5.088, allocations: 323.5 kB / 2.854 GB, free: 339.5 MB / 1.42 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.04499/5.133, allocations: 19.48 MB / 2.873 GB, free: 320 MB / 1.42 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.04361/5.176, allocations: 23.72 MB / 2.896 GB, free: 296.1 MB / 1.42 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01103/5.187, allocations: 7.545 MB / 2.903 GB, free: 288.6 MB / 1.42 GB Notification: Performance of sorting global known variables: time 0.06115/5.248, allocations: 43.2 MB / 2.946 GB, free: 245.5 MB / 1.42 GB Notification: Performance of Backend: time 1.372e-06/5.248, allocations: 0 / 2.946 GB, free: 245.5 MB / 1.42 GB Notification: Performance of simCode: created initialization part: time 0.1365/5.385, allocations: 136.5 MB / 3.079 GB, free: 109.3 MB / 1.42 GB Notification: Performance of SimCode: time 0.1222/5.507, allocations: 78.9 MB / 3.156 GB, free: 30.59 MB / 1.42 GB Notification: Performance of Templates: time 2.023/7.53, allocations: 0.5483 GB / 3.704 GB, free: 47.57 MB / 1.436 GB make -j1 -f Buildings_9_Buildings.ThermalZones.Detailed.Examples.MixedAirCO2.makefile (rm -f Buildings_9_Buildings.ThermalZones.Detailed.Examples.MixedAirCO2.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.Detailed.Examples.MixedAirCO2.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.Detailed.Examples.MixedAirCO2.pipe >> ../files/Buildings_9_Buildings.ThermalZones.Detailed.Examples.MixedAirCO2.sim & ./Buildings_9_Buildings.ThermalZones.Detailed.Examples.MixedAirCO2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.Detailed.Examples.MixedAirCO2.pipe 2>&1)