Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.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.SimpleRoomOneElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_master_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.712/2.712, allocations: 287.9 MB / 302.9 MB, free: 8.211 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.00144/0.00144, allocations: 175.3 kB / 371.4 MB, free: 10.67 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 2.362/2.362, allocations: 205.4 MB / 0.6301 GB, free: 10.4 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.00102/0.00102, allocations: 92.94 kB / 0.7434 GB, free: 6.414 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004606/0.0004613, allocations: 13.88 kB / 0.8662 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.1534, allocations: 115.3 MB / 0.9787 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.7091/0.8626, allocations: 135.4 MB / 1.111 GB, free: 1.285 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.03351/0.8962, allocations: 22.21 MB / 1.133 GB, free: 15.47 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003631/0.8999, allocations: 57.59 kB / 1.133 GB, free: 15.45 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.003234/0.9031, allocations: 0.9391 MB / 1.134 GB, free: 15.29 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.008084/0.9113, allocations: 2.016 MB / 1.136 GB, free: 15.17 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.009502/0.9208, allocations: 1.593 MB / 1.137 GB, free: 15.11 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.008622/0.9294, allocations: 2.705 MB / 1.14 GB, free: 14.91 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007818/0.9373, allocations: 2.741 MB / 1.142 GB, free: 13.86 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004619/0.942, allocations: 1.228 MB / 1.144 GB, free: 13.38 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005199/0.9473, allocations: 1.528 MB / 1.145 GB, free: 12.67 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001214/0.9485, allocations: 98.31 kB / 1.145 GB, free: 12.67 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004137/0.9527, allocations: 0.5123 MB / 1.146 GB, free: 12.58 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.002057/0.9548, allocations: 0.6582 MB / 1.146 GB, free: 12.27 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001998/0.9569, allocations: 0.5917 MB / 1.147 GB, free: 12.12 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.01069/0.9677, allocations: 4.02 MB / 1.151 GB, free: 9.762 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.088e-05/0.9677, allocations: 0 / 1.151 GB, free: 9.762 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.514e-06/0.9678, allocations: 7.875 kB / 1.151 GB, free: 9.754 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.000191/0.968, allocations: 0 / 1.151 GB, free: 9.754 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: 768 * Number of variables: 768 Notification: Performance of Generate backend data structure: time 0.01844/0.9864, allocations: 3.645 MB / 1.154 GB, free: 7.527 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.621e-05/0.9865, allocations: 9.25 kB / 1.154 GB, free: 7.527 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03084/1.017, allocations: 2.675 MB / 1.157 GB, free: 6.301 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008898/1.026, allocations: 2.055 MB / 1.159 GB, free: 5.336 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000242/1.027, allocations: 229.3 kB / 1.159 GB, free: 5.324 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001042/1.028, allocations: 290.7 kB / 1.16 GB, free: 5.324 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01562/1.043, allocations: 4.788 MB / 1.164 GB, free: 2.711 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-05/1.043, allocations: 2.781 kB / 1.164 GB, free: 2.711 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005922/1.044, allocations: 121.6 kB / 1.164 GB, free: 2.617 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.594e-05/1.044, allocations: 72.31 kB / 1.164 GB, free: 2.617 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03189/1.076, allocations: 5.918 MB / 1.17 GB, free: 15.75 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.03659/1.113, allocations: 13.4 MB / 1.183 GB, free: 6.262 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01474/1.127, allocations: 4.418 MB / 1.188 GB, free: 2.098 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001261/1.129, allocations: 0.6696 MB / 1.188 GB, free: 1.301 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007407/1.136, allocations: 2.261 MB / 1.19 GB, free: 15 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=255): time 1.051e-05/1.136, allocations: 0 / 1.19 GB, free: 15 MB / 0.7292 GB Notification: Performance of matching and sorting (n=255): time 0.02407/1.16, allocations: 6.664 MB / 1.197 GB, free: 8.207 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001589/1.161, allocations: 209.9 kB / 1.197 GB, free: 7.957 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004758/1.165, allocations: 2.293 MB / 1.199 GB, free: 5.629 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0006617/1.166, allocations: 73.7 kB / 1.199 GB, free: 5.551 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001729/1.168, allocations: 1.278 MB / 1.201 GB, free: 4.258 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.001543/1.169, allocations: 0.8432 MB / 1.202 GB, free: 3.406 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000315/1.17, allocations: 44 kB / 1.202 GB, free: 3.363 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0003151/1.17, allocations: 394.4 kB / 1.202 GB, free: 2.973 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006101/1.176, allocations: 1.784 MB / 1.204 GB, free: 1.184 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006716/1.183, allocations: 2.09 MB / 1.206 GB, free: 15 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006702/1.19, allocations: 1.928 MB / 1.208 GB, free: 13.05 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.61e-05/1.19, allocations: 0 / 1.208 GB, free: 13.05 MB / 0.7448 GB Notification: Performance of matching and sorting (n=284) (initialization): time 0.0165/1.206, allocations: 4.465 MB / 1.212 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.363e-05/1.206, allocations: 7.953 kB / 1.212 GB, free: 8.527 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.548e-05/1.206, allocations: 4 kB / 1.212 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008658/1.207, allocations: 235 kB / 1.212 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005384/1.213, allocations: 0.7644 MB / 1.213 GB, free: 7.527 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006243/1.219, allocations: 3.18 MB / 1.216 GB, free: 4.215 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005994/1.225, allocations: 0.4897 MB / 1.217 GB, free: 3.723 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001183/1.226, allocations: 103.9 kB / 1.217 GB, free: 3.621 MB / 0.7448 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 (262): * Single equations (assignments): 261 * 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 {(2,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004922/1.231, allocations: 0.8874 MB / 1.218 GB, free: 2.723 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001459/1.233, allocations: 252.8 kB / 1.218 GB, free: 2.473 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03125/1.264, allocations: 5.073 MB / 1.223 GB, free: 13.33 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.872e-05/1.264, allocations: 28 kB / 1.223 GB, free: 13.3 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.607e-05/1.264, allocations: 7.953 kB / 1.223 GB, free: 13.3 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.299e-05/1.264, allocations: 11.95 kB / 1.223 GB, free: 13.29 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04642/1.311, allocations: 8.588 MB / 1.231 GB, free: 4.566 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.875e-05/1.311, allocations: 4 kB / 1.231 GB, free: 4.562 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005202/1.316, allocations: 0.7099 MB / 1.232 GB, free: 3.852 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001217/1.317, allocations: 267.4 kB / 1.232 GB, free: 3.582 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00068/1.318, allocations: 67.94 kB / 1.232 GB, free: 3.516 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007344/1.325, allocations: 4.867 MB / 1.237 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.775e-06/1.325, allocations: 3.953 kB / 1.237 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02279/1.348, allocations: 7.216 MB / 1.244 GB, free: 7.043 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00277/1.351, allocations: 0.817 MB / 1.245 GB, free: 6.203 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008639/1.352, allocations: 48 kB / 1.245 GB, free: 6.156 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004075/1.356, allocations: 377.4 kB / 1.245 GB, free: 5.789 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007379/1.357, allocations: 165.9 kB / 1.245 GB, free: 5.625 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004668/1.357, allocations: 91.94 kB / 1.245 GB, free: 5.535 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.003749/1.361, allocations: 1.676 MB / 1.247 GB, free: 3.844 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.222e-06/1.361, allocations: 0 / 1.247 GB, free: 3.844 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.004526/1.365, allocations: 0.9465 MB / 1.248 GB, free: 2.895 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (thermalZoneOneElement.volAir.dynBal.U,thermalZoneOneElement.volAir.dynBal.m,thermalZoneOneElement.extWallRC.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 (248): * Single equations (assignments): 241 * 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 {(2,100.0%) 16,(1,100.0%) 3} * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.00395/1.369, allocations: 0.9709 MB / 1.249 GB, free: 2.207 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.01393/1.383, allocations: 4.343 MB / 1.253 GB, free: 13.82 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 6.018e-06/1.383, allocations: 0 / 1.253 GB, free: 13.82 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.007709/1.391, allocations: 2.504 MB / 1.256 GB, free: 11.29 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003651/1.395, allocations: 0.5553 MB / 1.256 GB, free: 10.74 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02114/1.416, allocations: 8.593 MB / 1.265 GB, free: 2.102 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003643/1.42, allocations: 2.42 MB / 1.267 GB, free: 15.65 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.006485/1.426, allocations: 1.085 MB / 1.268 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001838/1.428, allocations: 255.3 kB / 1.268 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of SimCode: time 2.104e-06/1.428, allocations: 0 / 1.268 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of Templates: time 0.1024/1.531, allocations: 39.78 MB / 1.307 GB, free: 6.664 MB / 0.8386 GB