Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.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 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.SimpleRoomThreeElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001403/0.001408, allocations: 186 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.689/0.689, allocations: 82.93 MB / 99.43 MB, free: 3.301 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.273/2.273, allocations: 205.4 MB / 325.4 MB, free: 3.18 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.001017/0.001017, allocations: 85.11 kB / 393.6 MB, free: 14.95 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004565/0.0004565, allocations: 8 kB / 471.5 MB, free: 66.52 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09235/0.09283, allocations: 67.46 MB / 0.5264 GB, free: 15.03 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements): time 0.512/0.6048, allocations: 136.6 MB / 0.6598 GB, free: 1.531 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.03904/0.6439, allocations: 22.66 MB / 0.6819 GB, free: 15.41 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003256/0.6472, allocations: 63.12 kB / 0.682 GB, free: 15.39 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003105/0.6504, allocations: 0.9948 MB / 0.6829 GB, free: 14.61 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00817/0.6586, allocations: 2.165 MB / 0.685 GB, free: 12.45 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006638/0.6652, allocations: 1.701 MB / 0.6867 GB, free: 10.77 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.006931/0.6722, allocations: 3.148 MB / 0.6898 GB, free: 7.625 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005497/0.6777, allocations: 3.038 MB / 0.6927 GB, free: 4.543 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002985/0.6807, allocations: 1.37 MB / 0.6941 GB, free: 3.168 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003369/0.6841, allocations: 1.727 MB / 0.6958 GB, free: 1.434 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006426/0.6848, allocations: 120 kB / 0.6959 GB, free: 1.316 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002003/0.6868, allocations: 0.5267 MB / 0.6964 GB, free: 0.7891 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009324/0.6878, allocations: 0.7549 MB / 0.6971 GB, free: 32 kB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009983/0.6888, allocations: 0.6754 MB / 0.6978 GB, free: 15.34 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006702/0.6955, allocations: 4.575 MB / 0.7023 GB, free: 10.76 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.909e-06/0.6956, allocations: 0 / 0.7023 GB, free: 10.76 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.502e-06/0.6956, allocations: 0 / 0.7023 GB, free: 10.76 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001123/0.6957, allocations: 0 / 0.7023 GB, free: 10.76 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: 860 * Number of variables: 860 Notification: Performance of Generate backend data structure: time 0.01047/0.7062, allocations: 4.013 MB / 0.7062 GB, free: 6.68 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.7062, allocations: 12.03 kB / 0.7062 GB, free: 6.668 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01606/0.7223, allocations: 2.718 MB / 0.7088 GB, free: 3.941 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005992/0.7283, allocations: 2.235 MB / 0.711 GB, free: 1.633 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003504/0.7287, allocations: 250.7 kB / 0.7113 GB, free: 1.387 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0011/0.7299, allocations: 324 kB / 0.7116 GB, free: 1.07 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01679/0.7467, allocations: 5.2 MB / 0.7167 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.752e-05/0.7468, allocations: 7.984 kB / 0.7167 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005913/0.7474, allocations: 136 kB / 0.7168 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.006e-05/0.7475, allocations: 84 kB / 0.7169 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02181/0.7693, allocations: 6.343 MB / 0.7231 GB, free: 5.211 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.0393/0.8087, allocations: 15.49 MB / 0.7382 GB, free: 5.109 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01319/0.8219, allocations: 4.092 MB / 0.7422 GB, free: 1.004 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001285/0.8232, allocations: 0.6736 MB / 0.7429 GB, free: 204 kB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008238/0.8315, allocations: 2.456 MB / 0.7452 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=286): time 9.255e-06/0.8315, allocations: 4 kB / 0.7453 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=286): time 0.02988/0.8614, allocations: 8.034 MB / 0.7531 GB, free: 5.543 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001674/0.8616, allocations: 214.2 kB / 0.7533 GB, free: 5.289 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004974/0.8666, allocations: 2.496 MB / 0.7557 GB, free: 2.77 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0005986/0.8673, allocations: 73.7 kB / 0.7558 GB, free: 2.691 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001811/0.8691, allocations: 1.427 MB / 0.7572 GB, free: 1.246 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001555/0.8707, allocations: 0.9472 MB / 0.7581 GB, free: 292 kB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002953/0.871, allocations: 52 kB / 0.7582 GB, free: 240 kB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003225/0.8713, allocations: 410.9 kB / 0.7586 GB, free: 15.83 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006642/0.878, allocations: 1.945 MB / 0.7605 GB, free: 13.88 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007335/0.8854, allocations: 2.261 MB / 0.7627 GB, free: 11.53 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00709/0.8925, allocations: 2.114 MB / 0.7647 GB, free: 9.398 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.52e-05/0.8925, allocations: 224 / 0.7647 GB, free: 9.398 MB / 0.5417 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.01722/0.9098, allocations: 5.086 MB / 0.7697 GB, free: 4.258 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.04e-05/0.9098, allocations: 7.938 kB / 0.7697 GB, free: 4.25 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.826e-05/0.9099, allocations: 4 kB / 0.7697 GB, free: 4.246 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001819/0.9117, allocations: 0.5417 MB / 0.7702 GB, free: 3.703 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005113/0.9168, allocations: 0.741 MB / 0.771 GB, free: 2.961 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0118/0.9287, allocations: 5.463 MB / 0.7763 GB, free: 13.35 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004465/0.9332, allocations: 0.5167 MB / 0.7768 GB, free: 12.83 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007206/0.9339, allocations: 107.9 kB / 0.7769 GB, free: 12.73 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 (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.003214/0.9372, allocations: 0.9656 MB / 0.7779 GB, free: 11.75 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008514/0.938, allocations: 284.5 kB / 0.7781 GB, free: 11.47 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02049/0.9585, allocations: 5.701 MB / 0.7837 GB, free: 5.707 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.583e-05/0.9586, allocations: 28 kB / 0.7837 GB, free: 5.68 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.981e-05/0.9586, allocations: 12 kB / 0.7837 GB, free: 5.668 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.8e-05/0.9587, allocations: 15.94 kB / 0.7838 GB, free: 5.652 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02917/0.9879, allocations: 9.641 MB / 0.7932 GB, free: 11.89 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.681e-05/0.988, allocations: 0 / 0.7932 GB, free: 11.89 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005033/0.993, allocations: 0.7021 MB / 0.7939 GB, free: 11.19 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002145/0.9952, allocations: 0.5229 MB / 0.7944 GB, free: 10.66 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006888/0.9959, allocations: 79.92 kB / 0.7944 GB, free: 10.58 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01307/1.009, allocations: 7.118 MB / 0.8014 GB, free: 3.168 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.244e-06/1.009, allocations: 0 / 0.8014 GB, free: 3.168 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4152/1.424, allocations: 8.073 MB / 0.8093 GB, free: 208.4 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002597/1.427, allocations: 0.883 MB / 0.8101 GB, free: 208.1 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009114/1.428, allocations: 61.06 kB / 0.8102 GB, free: 208 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00416/1.432, allocations: 392.1 kB / 0.8106 GB, free: 208 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007869/1.433, allocations: 188.1 kB / 0.8107 GB, free: 208 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004618/1.433, allocations: 103.3 kB / 0.8108 GB, free: 207.9 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.003819/1.437, allocations: 1.815 MB / 0.8126 GB, free: 207.3 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.14e-06/1.437, allocations: 2.625 kB / 0.8126 GB, free: 207.3 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.004126/1.441, allocations: 1.08 MB / 0.8137 GB, free: 207.2 MB / 0.573 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.003528/1.445, allocations: 0.9822 MB / 0.8146 GB, free: 206.9 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01487/1.46, allocations: 4.871 MB / 0.8194 GB, free: 205.3 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 7.817e-06/1.46, allocations: 1 kB / 0.8194 GB, free: 205.3 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.008264/1.468, allocations: 2.85 MB / 0.8222 GB, free: 204.3 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00386/1.472, allocations: 0.6143 MB / 0.8228 GB, free: 204.1 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02423/1.496, allocations: 9.547 MB / 0.8321 GB, free: 199.5 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005276/1.502, allocations: 2.604 MB / 0.8346 GB, free: 198.5 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.01081/1.513, allocations: 1.119 MB / 0.8357 GB, free: 198.3 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00303/1.516, allocations: 266.7 kB / 0.836 GB, free: 198.2 MB / 0.573 GB Notification: Performance of SimCode: time 2.692e-06/1.516, allocations: 0 / 0.836 GB, free: 198.2 MB / 0.573 GB Notification: Performance of Templates: time 0.1375/1.653, allocations: 45.53 MB / 0.8805 GB, free: 157.6 MB / 0.573 GB