Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.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 IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001408/0.001411, allocations: 185.9 kB / 15.77 MB, free: 6 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.7921/0.7921, allocations: 82.93 MB / 99.42 MB, free: 3.27 MB / 74.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.399/2.399, allocations: 205.4 MB / 325.4 MB, free: 3.348 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001751/0.00175, allocations: 92.8 kB / 393.6 MB, free: 15.11 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004784/0.0004787, allocations: 16 kB / 471.5 MB, free: 66.55 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09111/0.09162, allocations: 67.44 MB / 0.5263 GB, free: 15.07 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.5989/0.6905, allocations: 137.7 MB / 0.6608 GB, free: 0.7383 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.04036/0.7309, allocations: 23.08 MB / 0.6834 GB, free: 14.23 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003622/0.7346, allocations: 71.62 kB / 0.6834 GB, free: 14.16 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00342/0.7381, allocations: 1.034 MB / 0.6844 GB, free: 13.12 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008829/0.7469, allocations: 2.285 MB / 0.6867 GB, free: 10.83 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007227/0.7542, allocations: 1.834 MB / 0.6885 GB, free: 9.023 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.008301/0.7625, allocations: 3.597 MB / 0.692 GB, free: 5.422 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006699/0.7693, allocations: 3.277 MB / 0.6952 GB, free: 2.094 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00535/0.7747, allocations: 1.486 MB / 0.6966 GB, free: 0.6016 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005578/0.7803, allocations: 1.906 MB / 0.6985 GB, free: 14.69 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001491/0.7819, allocations: 136 kB / 0.6986 GB, free: 14.55 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002932/0.7848, allocations: 0.5502 MB / 0.6991 GB, free: 14 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001513/0.7864, allocations: 0.8366 MB / 0.7 GB, free: 13.16 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001488/0.7879, allocations: 0.7416 MB / 0.7007 GB, free: 12.41 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008078/0.796, allocations: 4.995 MB / 0.7056 GB, free: 7.406 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.216e-06/0.7961, allocations: 0 / 0.7056 GB, free: 7.406 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.384e-06/0.7961, allocations: 0 / 0.7056 GB, free: 7.406 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001525/0.7963, allocations: 0 / 0.7056 GB, free: 7.406 MB / 490.7 MB 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.01183/0.8081, allocations: 4.318 MB / 0.7098 GB, free: 3.016 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.8082, allocations: 8.031 kB / 0.7098 GB, free: 3.008 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02153/0.8297, allocations: 2.756 MB / 0.7125 GB, free: 248 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01079/0.8405, allocations: 2.374 MB / 0.7148 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005534/0.8411, allocations: 271.4 kB / 0.7151 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002094/0.8433, allocations: 364 kB / 0.7154 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.021/0.8643, allocations: 5.534 MB / 0.7208 GB, free: 7.574 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000113/0.8645, allocations: 11.95 kB / 0.7208 GB, free: 7.562 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005992/0.8651, allocations: 148 kB / 0.721 GB, free: 7.418 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.752e-05/0.8652, allocations: 88 kB / 0.721 GB, free: 7.332 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02964/0.8948, allocations: 6.67 MB / 0.7276 GB, free: 0.6523 MB / 0.4948 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.04261/0.9375, allocations: 17.14 MB / 0.7443 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01359/0.9511, allocations: 4.488 MB / 0.7487 GB, free: 10.25 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001306/0.9525, allocations: 0.6777 MB / 0.7493 GB, free: 9.438 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008212/0.9607, allocations: 2.608 MB / 0.7519 GB, free: 6.793 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=313): time 8.855e-06/0.9608, allocations: 0 / 0.7519 GB, free: 6.793 MB / 0.5261 GB Notification: Performance of matching and sorting (n=313): time 0.05084/1.012, allocations: 9.349 MB / 0.761 GB, free: 13.3 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003167/1.012, allocations: 218.4 kB / 0.7612 GB, free: 13.04 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01159/1.024, allocations: 2.637 MB / 0.7638 GB, free: 10.39 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.001206/1.025, allocations: 77.7 kB / 0.7639 GB, free: 10.31 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.00403/1.029, allocations: 1.538 MB / 0.7654 GB, free: 8.754 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.00336/1.032, allocations: 1.043 MB / 0.7664 GB, free: 7.699 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007964/1.033, allocations: 48 kB / 0.7664 GB, free: 7.652 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.000663/1.034, allocations: 419.5 kB / 0.7668 GB, free: 7.238 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01483/1.049, allocations: 2.062 MB / 0.7689 GB, free: 5.172 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01603/1.065, allocations: 2.417 MB / 0.7712 GB, free: 2.664 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007543/1.072, allocations: 2.264 MB / 0.7734 GB, free: 392 kB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.845e-05/1.073, allocations: 4 kB / 0.7734 GB, free: 388 kB / 0.5417 GB Notification: Performance of matching and sorting (n=345) (initialization): time 0.01869/1.091, allocations: 5.557 MB / 0.7789 GB, free: 10.77 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 3.396e-05/1.091, allocations: 12.06 kB / 0.7789 GB, free: 10.76 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.978e-05/1.091, allocations: 4 kB / 0.7789 GB, free: 10.75 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002657/1.094, allocations: 0.8356 MB / 0.7797 GB, free: 9.918 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005337/1.099, allocations: 0.7527 MB / 0.7804 GB, free: 9.164 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01624/1.116, allocations: 7.224 MB / 0.7875 GB, free: 1.805 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004728/1.12, allocations: 0.5509 MB / 0.788 GB, free: 1.254 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008156/1.121, allocations: 111.9 kB / 0.7881 GB, free: 1.145 MB / 0.5573 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 (281): * Single equations (assignments): 280 * 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.003524/1.125, allocations: 1.02 MB / 0.7891 GB, free: 116 kB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001039/1.126, allocations: 316.2 kB / 0.7894 GB, free: 15.8 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02123/1.147, allocations: 6.176 MB / 0.7955 GB, free: 9.559 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.174e-05/1.147, allocations: 28 kB / 0.7955 GB, free: 9.531 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.594e-05/1.147, allocations: 12 kB / 0.7955 GB, free: 9.52 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.154e-05/1.147, allocations: 15.94 kB / 0.7955 GB, free: 9.504 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3496/1.497, allocations: 10.46 MB / 0.8057 GB, free: 207.7 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.391e-05/1.497, allocations: 0 / 0.8057 GB, free: 207.7 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005503/1.503, allocations: 0.7292 MB / 0.8064 GB, free: 207.6 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002821/1.505, allocations: 0.7353 MB / 0.8072 GB, free: 207.6 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007231/1.506, allocations: 83.91 kB / 0.8072 GB, free: 207.6 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01559/1.522, allocations: 10.01 MB / 0.817 GB, free: 201.4 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.237e-06/1.522, allocations: 1.281 kB / 0.817 GB, free: 201.4 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02576/1.548, allocations: 8.754 MB / 0.8256 GB, free: 198.4 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00279/1.55, allocations: 0.9371 MB / 0.8265 GB, free: 197.9 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000951/1.551, allocations: 62.86 kB / 0.8265 GB, free: 197.9 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004305/1.556, allocations: 410.7 kB / 0.8269 GB, free: 197.8 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009191/1.557, allocations: 209.6 kB / 0.8271 GB, free: 197.8 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006128/1.557, allocations: 105.2 kB / 0.8272 GB, free: 197.8 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.003966/1.561, allocations: 1.916 MB / 0.8291 GB, free: 197.1 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.014e-06/1.561, allocations: 1.156 kB / 0.8291 GB, free: 197.1 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.004874/1.566, allocations: 1.203 MB / 0.8303 GB, free: 196.8 MB / 0.573 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.003926/1.57, allocations: 0.9901 MB / 0.8312 GB, free: 196.5 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01585/1.586, allocations: 5.286 MB / 0.8364 GB, free: 194.8 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 8.049e-06/1.586, allocations: 3.938 kB / 0.8364 GB, free: 194.8 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.009245/1.595, allocations: 3.223 MB / 0.8396 GB, free: 193.5 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004322/1.6, allocations: 0.6497 MB / 0.8402 GB, free: 193.3 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02149/1.621, allocations: 10.31 MB / 0.8503 GB, free: 187.4 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00363/1.625, allocations: 2.75 MB / 0.8529 GB, free: 185.2 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.006375/1.631, allocations: 1.141 MB / 0.8541 GB, free: 184.1 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001999/1.633, allocations: 271.2 kB / 0.8543 GB, free: 183.8 MB / 0.573 GB Notification: Performance of SimCode: time 1.567e-06/1.634, allocations: 0 / 0.8543 GB, free: 183.8 MB / 0.573 GB Notification: Performance of Templates: time 0.1063/1.74, allocations: 49.92 MB / 0.9031 GB, free: 134.1 MB / 0.573 GB