Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_master_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.681/4.681, allocations: 0.5623 GB / 0.5769 GB, free: 66.91 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002622/0.002621, allocations: 361.5 kB / 0.644 GB, free: 21.54 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.499/4.499, allocations: 410.8 MB / 1.112 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001787/0.001787, allocations: 177.3 kB / 1.225 GB, free: 11.69 MB / 0.7292 GB Notification: Performance of FrontEnd - loaded program: time 0.0004851/0.0004853, allocations: 13.69 kB / 1.348 GB, free: 320.5 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.1601, allocations: 115.3 MB / 1.461 GB, free: 220.7 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.1523/0.3124, allocations: 147.8 MB / 1.605 GB, free: 72.77 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.03159/0.344, allocations: 24.85 MB / 1.629 GB, free: 47.86 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003615/0.3477, allocations: 75.56 kB / 1.629 GB, free: 47.79 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.002926/0.3507, allocations: 0.9989 MB / 1.63 GB, free: 46.79 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.007761/0.3585, allocations: 2.307 MB / 1.633 GB, free: 44.47 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.006297/0.3648, allocations: 1.829 MB / 1.634 GB, free: 42.68 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.006842/0.3717, allocations: 5.491 MB / 1.64 GB, free: 37.16 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004808/0.3765, allocations: 3.273 MB / 1.643 GB, free: 33.84 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002615/0.3792, allocations: 1.521 MB / 1.644 GB, free: 32.32 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003181/0.3824, allocations: 2.113 MB / 1.646 GB, free: 30.2 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.0007925/0.3832, allocations: 140 kB / 1.647 GB, free: 30.06 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002291/0.3855, allocations: 0.5694 MB / 1.647 GB, free: 29.49 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.001063/0.3866, allocations: 0.8481 MB / 1.648 GB, free: 28.64 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.001094/0.3877, allocations: 0.7455 MB / 1.649 GB, free: 27.88 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.005698/0.3935, allocations: 5.007 MB / 1.654 GB, free: 22.86 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 5.096e-06/0.3935, allocations: 0 / 1.654 GB, free: 22.86 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.241e-06/0.3935, allocations: 0 / 1.654 GB, free: 22.86 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0001223/0.3937, allocations: 0 / 1.654 GB, free: 22.86 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 940 * Number of variables: 940 Notification: Performance of Generate backend data structure: time 0.01067/0.4043, allocations: 4.31 MB / 1.658 GB, free: 18.48 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.4044, allocations: 8.75 kB / 1.658 GB, free: 18.47 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01523/0.4196, allocations: 2.764 MB / 1.661 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005554/0.4252, allocations: 2.405 MB / 1.663 GB, free: 13.22 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002543/0.4255, allocations: 279.4 kB / 1.663 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009972/0.4265, allocations: 356 kB / 1.663 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01494/0.4415, allocations: 5.569 MB / 1.669 GB, free: 6.965 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001127/0.4417, allocations: 7.906 kB / 1.669 GB, free: 6.957 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006348/0.4423, allocations: 148 kB / 1.669 GB, free: 6.812 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.447e-05/0.4424, allocations: 88 kB / 1.669 GB, free: 6.727 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.546/0.9884, allocations: 6.662 MB / 1.676 GB, free: 210.6 MB / 0.8073 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.04165/1.03, allocations: 17.12 MB / 1.692 GB, free: 202.8 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0135/1.044, allocations: 4.507 MB / 1.697 GB, free: 201.4 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008678/1.052, allocations: 2.979 MB / 1.7 GB, free: 200.4 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001131/1.054, allocations: 0.6779 MB / 1.7 GB, free: 199.8 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007774/1.061, allocations: 2.617 MB / 1.703 GB, free: 198.6 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=313): time 9.633e-06/1.061, allocations: 0 / 1.703 GB, free: 198.6 MB / 0.8073 GB Notification: Performance of matching and sorting (n=313): time 0.03304/1.094, allocations: 9.338 MB / 1.712 GB, free: 193.8 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.832e-05/1.095, allocations: 225.1 kB / 1.712 GB, free: 193.6 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004522/1.099, allocations: 2.61 MB / 1.715 GB, free: 192.3 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0007315/1.1, allocations: 84.64 kB / 1.715 GB, free: 192.2 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.001434/1.101, allocations: 1.524 MB / 1.716 GB, free: 190.9 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.001404/1.103, allocations: 1.041 MB / 1.717 GB, free: 190 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002973/1.103, allocations: 55.03 kB / 1.717 GB, free: 190 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001823/1.103, allocations: 418.1 kB / 1.718 GB, free: 189.6 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006351/1.11, allocations: 2.085 MB / 1.72 GB, free: 188.6 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007141/1.117, allocations: 2.432 MB / 1.722 GB, free: 187.2 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006968/1.124, allocations: 2.275 MB / 1.724 GB, free: 186 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.121e-05/1.124, allocations: 1.438 kB / 1.724 GB, free: 186 MB / 0.8073 GB Notification: Performance of matching and sorting (n=353) (initialization): time 0.01802/1.142, allocations: 5.607 MB / 1.73 GB, free: 181.7 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.222e-05/1.142, allocations: 11.95 kB / 1.73 GB, free: 181.7 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.815e-05/1.142, allocations: 4 kB / 1.73 GB, free: 181.7 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002296/1.144, allocations: 0.8279 MB / 1.731 GB, free: 180.9 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00527/1.15, allocations: 0.7605 MB / 1.731 GB, free: 180.1 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01247/1.162, allocations: 6.984 MB / 1.738 GB, free: 173 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004693/1.167, allocations: 0.5477 MB / 1.739 GB, free: 172.5 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008579/1.168, allocations: 127.8 kB / 1.739 GB, free: 172.3 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,$PRE.intGai.nextTimeEvent,$whenCondition3,$whenCondition2,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,intGai.nextTimeEvent,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEventScaled,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (289): * Single equations (assignments): 288 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(5,100.0%) 60} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003158/1.171, allocations: 1.025 MB / 1.74 GB, free: 171.3 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008696/1.172, allocations: 304.2 kB / 1.74 GB, free: 171 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01854/1.19, allocations: 6.168 MB / 1.746 GB, free: 164.8 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.281e-05/1.191, allocations: 35.98 kB / 1.746 GB, free: 164.7 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.337e-05/1.191, allocations: 15.95 kB / 1.746 GB, free: 164.7 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.018e-05/1.191, allocations: 19.94 kB / 1.746 GB, free: 164.7 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02682/1.217, allocations: 10.46 MB / 1.757 GB, free: 154.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.838e-05/1.218, allocations: 0 / 1.757 GB, free: 154.2 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005876/1.223, allocations: 0.7255 MB / 1.757 GB, free: 153.5 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00248/1.226, allocations: 0.7418 MB / 1.758 GB, free: 152.7 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008138/1.227, allocations: 83.94 kB / 1.758 GB, free: 152.6 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01305/1.24, allocations: 9.764 MB / 1.768 GB, free: 142.5 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.629e-06/1.24, allocations: 0 / 1.768 GB, free: 142.5 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02258/1.263, allocations: 8.755 MB / 1.776 GB, free: 133.6 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002749/1.265, allocations: 0.9297 MB / 1.777 GB, free: 132.7 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00102/1.266, allocations: 63.95 kB / 1.777 GB, free: 132.6 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004264/1.271, allocations: 407.2 kB / 1.778 GB, free: 132.2 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008497/1.272, allocations: 210.3 kB / 1.778 GB, free: 132 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004602/1.272, allocations: 107.9 kB / 1.778 GB, free: 131.9 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.003346/1.275, allocations: 1.888 MB / 1.78 GB, free: 130 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.12e-06/1.275, allocations: 4.094 kB / 1.78 GB, free: 130 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.004593/1.28, allocations: 1.201 MB / 1.781 GB, free: 128.8 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (thermalZoneFourElements.volAir.dynBal.U,thermalZoneFourElements.volAir.dynBal.m,thermalZoneFourElements.extWallRC.thermCapExt[1].T,thermalZoneFourElements.intWallRC.thermCapInt[1].T,thermalZoneFourElements.floorRC.thermCapExt[1].T,thermalZoneFourElements.roofRC.thermCapExt[1].T) * Number of discrete variables: 7 ($whenCondition3,$whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext,intGai.nextTimeEvent,intGai.nextTimeEventScaled) * Number of discrete states: 4 (intGai.nextTimeEvent,intGai.nextTimeEventScaled,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (267): * Single equations (assignments): 259 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,100.0%) 49,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.003681/1.284, allocations: 0.9804 MB / 1.782 GB, free: 128.2 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.01442/1.298, allocations: 5.31 MB / 1.787 GB, free: 122.9 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 7.4e-06/1.298, allocations: 4 kB / 1.787 GB, free: 122.9 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.008268/1.307, allocations: 3.218 MB / 1.79 GB, free: 119.6 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004791/1.311, allocations: 0.7047 MB / 1.791 GB, free: 118.9 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01995/1.331, allocations: 10.32 MB / 1.801 GB, free: 108.6 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003061/1.335, allocations: 2.749 MB / 1.804 GB, free: 105.8 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.00633/1.341, allocations: 1.15 MB / 1.805 GB, free: 104.6 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001865/1.343, allocations: 271.3 kB / 1.805 GB, free: 104.4 MB / 0.8073 GB Notification: Performance of SimCode: time 1.721e-06/1.343, allocations: 3.938 kB / 1.805 GB, free: 104.4 MB / 0.8073 GB Notification: Performance of Templates: time 0.1069/1.45, allocations: 49.61 MB / 1.853 GB, free: 55.22 MB / 0.8073 GB