Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.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.SimpleRoomThreeElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_master_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.749/2.749, allocations: 287.9 MB / 302.9 MB, free: 8.242 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001409/0.001409, allocations: 167.5 kB / 371.4 MB, free: 10.7 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.957/1.957, allocations: 205.4 MB / 0.6301 GB, free: 10.42 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001048/0.001048, allocations: 88.86 kB / 0.7434 GB, free: 6.441 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004871/0.0004872, allocations: 10.22 kB / 0.8662 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.1572, allocations: 115.3 MB / 0.9787 GB, free: 28.22 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements): time 0.7826/0.9399, allocations: 136.7 MB / 1.112 GB, free: 1.172 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.03531/0.9752, allocations: 22.66 MB / 1.134 GB, free: 15.31 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004172/0.9794, allocations: 68.45 kB / 1.134 GB, free: 15.28 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.00326/0.9827, allocations: 0.9851 MB / 1.135 GB, free: 15.11 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.008371/0.9912, allocations: 2.172 MB / 1.137 GB, free: 14.98 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.006688/0.9979, allocations: 1.679 MB / 1.139 GB, free: 14.93 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.006817/1.005, allocations: 3.156 MB / 1.142 GB, free: 14.07 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005454/1.01, allocations: 3.027 MB / 1.145 GB, free: 12.88 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003425/1.014, allocations: 1.372 MB / 1.146 GB, free: 12.34 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00379/1.018, allocations: 1.738 MB / 1.148 GB, free: 11.55 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.000944/1.019, allocations: 120.5 kB / 1.148 GB, free: 11.55 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002887/1.021, allocations: 0.526 MB / 1.149 GB, free: 11.47 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001345/1.023, allocations: 0.7566 MB / 1.15 GB, free: 11.12 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001313/1.024, allocations: 0.6779 MB / 1.15 GB, free: 10.95 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.007635/1.032, allocations: 4.566 MB / 1.155 GB, free: 8.152 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.129e-06/1.032, allocations: 0 / 1.155 GB, free: 8.152 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.76e-06/1.032, allocations: 0 / 1.155 GB, free: 8.152 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001924/1.032, allocations: 3.375 kB / 1.155 GB, free: 8.152 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 860 * Number of variables: 860 Notification: Performance of Generate backend data structure: time 0.01174/1.044, allocations: 4.011 MB / 1.159 GB, free: 5.473 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/1.044, allocations: 9.906 kB / 1.159 GB, free: 5.473 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01651/1.06, allocations: 2.721 MB / 1.161 GB, free: 4.215 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006536/1.067, allocations: 2.235 MB / 1.163 GB, free: 2.66 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002856/1.067, allocations: 253.2 kB / 1.164 GB, free: 2.543 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001337/1.069, allocations: 330.1 kB / 1.164 GB, free: 2.434 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01813/1.087, allocations: 5.197 MB / 1.169 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001055/1.087, allocations: 4 kB / 1.169 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008434/1.088, allocations: 138.8 kB / 1.169 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.514e-05/1.088, allocations: 84.41 kB / 1.169 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02125/1.109, allocations: 6.334 MB / 1.175 GB, free: 12.25 MB / 0.7136 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.04067/1.15, allocations: 15.48 MB / 1.191 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01278/1.163, allocations: 4.095 MB / 1.195 GB, free: 10.85 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001285/1.164, allocations: 0.6775 MB / 1.195 GB, free: 10.04 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008144/1.172, allocations: 2.456 MB / 1.198 GB, free: 7.547 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=286): time 9.182e-06/1.172, allocations: 0 / 1.198 GB, free: 7.547 MB / 0.7292 GB Notification: Performance of matching and sorting (n=286): time 0.02994/1.202, allocations: 8.041 MB / 1.206 GB, free: 15.38 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001643/1.202, allocations: 214.2 kB / 1.206 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005327/1.208, allocations: 2.5 MB / 1.208 GB, free: 12.6 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0007286/1.209, allocations: 77.7 kB / 1.208 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.001902/1.211, allocations: 1.416 MB / 1.21 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.001699/1.212, allocations: 0.9527 MB / 1.211 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003019/1.213, allocations: 48 kB / 1.211 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003189/1.213, allocations: 407 kB / 1.211 GB, free: 9.676 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006502/1.219, allocations: 1.945 MB / 1.213 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0072/1.227, allocations: 2.273 MB / 1.215 GB, free: 5.367 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007003/1.234, allocations: 2.11 MB / 1.217 GB, free: 3.238 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.496e-05/1.234, allocations: 0 / 1.217 GB, free: 3.238 MB / 0.7448 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.017/1.251, allocations: 5.09 MB / 1.222 GB, free: 14.1 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 3.139e-05/1.251, allocations: 4.406 kB / 1.222 GB, free: 14.09 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.201e-05/1.251, allocations: 11.98 kB / 1.222 GB, free: 14.08 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001795/1.253, allocations: 0.5415 MB / 1.223 GB, free: 13.54 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005212/1.258, allocations: 0.7371 MB / 1.223 GB, free: 12.8 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01191/1.27, allocations: 5.451 MB / 1.229 GB, free: 7.203 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004923/1.275, allocations: 0.5267 MB / 1.229 GB, free: 6.676 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009616/1.276, allocations: 111.9 kB / 1.229 GB, free: 6.566 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 11 ($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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (272): * Single equations (assignments): 271 * 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 {(4,100.0%) 42} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00346/1.279, allocations: 0.9578 MB / 1.23 GB, free: 5.598 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001004/1.28, allocations: 280.5 kB / 1.231 GB, free: 5.32 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01997/1.3, allocations: 5.694 MB / 1.236 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.009e-05/1.3, allocations: 31.95 kB / 1.236 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.489e-05/1.3, allocations: 11.98 kB / 1.236 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.194e-05/1.301, allocations: 11.95 kB / 1.236 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02937/1.33, allocations: 9.65 MB / 1.246 GB, free: 5.75 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.281e-05/1.33, allocations: 4 kB / 1.246 GB, free: 5.746 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005088/1.335, allocations: 0.7099 MB / 1.246 GB, free: 5.035 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002069/1.337, allocations: 0.5141 MB / 1.247 GB, free: 4.512 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007562/1.338, allocations: 79.92 kB / 1.247 GB, free: 4.434 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01246/1.35, allocations: 7.119 MB / 1.254 GB, free: 13.02 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.163e-06/1.351, allocations: 8.359 kB / 1.254 GB, free: 13.01 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02502/1.376, allocations: 8.073 MB / 1.262 GB, free: 4.852 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003023/1.379, allocations: 0.8792 MB / 1.263 GB, free: 3.949 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001173/1.38, allocations: 55.98 kB / 1.263 GB, free: 3.895 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004435/1.384, allocations: 399.3 kB / 1.263 GB, free: 3.504 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008763/1.385, allocations: 190.1 kB / 1.263 GB, free: 3.316 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004843/1.386, allocations: 103.9 kB / 1.263 GB, free: 3.215 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.00413/1.39, allocations: 1.818 MB / 1.265 GB, free: 1.387 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.242e-06/1.39, allocations: 1.859 kB / 1.265 GB, free: 1.387 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.005022/1.395, allocations: 1.083 MB / 1.266 GB, free: 308 kB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (thermalZoneThreeElements.volAir.dynBal.U,thermalZoneThreeElements.volAir.dynBal.m,thermalZoneThreeElements.extWallRC.thermCapExt[1].T,thermalZoneThreeElements.intWallRC.thermCapInt[1].T,thermalZoneThreeElements.floorRC.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 (257): * Single equations (assignments): 250 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,100.0%) 36,(1,100.0%) 3} * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.004022/1.399, allocations: 0.9885 MB / 1.267 GB, free: 15.6 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.01556/1.415, allocations: 4.866 MB / 1.272 GB, free: 10.69 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 7.02e-06/1.415, allocations: 0 / 1.272 GB, free: 10.69 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.008853/1.424, allocations: 2.848 MB / 1.275 GB, free: 7.809 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004237/1.428, allocations: 0.6108 MB / 1.275 GB, free: 7.203 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02304/1.451, allocations: 9.559 MB / 1.285 GB, free: 13.61 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004046/1.455, allocations: 2.604 MB / 1.287 GB, free: 10.97 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.006533/1.462, allocations: 1.116 MB / 1.288 GB, free: 9.855 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001933/1.464, allocations: 259.3 kB / 1.288 GB, free: 9.605 MB / 0.823 GB Notification: Performance of SimCode: time 1.614e-06/1.464, allocations: 0 / 1.288 GB, free: 9.605 MB / 0.823 GB Notification: Performance of Templates: time 0.1158/1.579, allocations: 45.55 MB / 1.333 GB, free: 12.24 MB / 0.8698 GB