Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements") translateModel(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001423/0.001423, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001723/0.001723, allocations: 199.2 kB / 16.14 MB, free: 6.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8265/0.8265, allocations: 132.2 MB / 422.2 MB, free: 2.004 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 60.31 kB / 0.5011 GB, free: 4.328 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5096/0.511, allocations: 80.2 MB / 0.5794 GB, free: 4.535 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements): time 0.2148/0.7258, allocations: 159.4 MB / 0.7351 GB, free: 1.824 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.04165/0.7675, allocations: 26.86 MB / 0.7613 GB, free: 6.883 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005188/0.7727, allocations: 71.62 kB / 0.7614 GB, free: 6.812 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003431/0.7762, allocations: 0.9528 MB / 0.7623 GB, free: 5.855 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.007162/0.7834, allocations: 1.589 MB / 0.7638 GB, free: 4.266 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005948/0.7894, allocations: 1.581 MB / 0.7654 GB, free: 2.699 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.009013/0.7984, allocations: 5.466 MB / 0.7707 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007632/0.8061, allocations: 4.033 MB / 0.7747 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003777/0.8099, allocations: 1.763 MB / 0.7764 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004713/0.8146, allocations: 2.436 MB / 0.7788 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001812/0.8165, allocations: 260 kB / 0.779 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005183/0.8217, allocations: 0.8546 MB / 0.7798 GB, free: 3.801 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.002875/0.8246, allocations: 1.008 MB / 0.7808 GB, free: 2.789 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.005308/0.8299, allocations: 1.935 MB / 0.7827 GB, free: 0.8438 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.007675/0.8376, allocations: 5.904 MB / 0.7885 GB, free: 10.92 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.545e-06/0.8377, allocations: 0 / 0.7885 GB, free: 10.92 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.623e-06/0.8377, allocations: 0 / 0.7885 GB, free: 10.92 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0002028/0.8379, allocations: 4 kB / 0.7885 GB, free: 10.92 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 882 * Number of variables: 882 Notification: Performance of Generate backend data structure: time 0.01167/0.8496, allocations: 4.742 MB / 0.7931 GB, free: 6.102 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.166e-05/0.8496, allocations: 8.031 kB / 0.7931 GB, free: 6.094 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01364/0.8633, allocations: 2.788 MB / 0.7958 GB, free: 3.297 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005835/0.8692, allocations: 2.384 MB / 0.7982 GB, free: 0.8398 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002016/0.8694, allocations: 254.9 kB / 0.7984 GB, free: 0.5898 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006976/0.8701, allocations: 343.9 kB / 0.7987 GB, free: 260 kB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01228/0.8824, allocations: 5.393 MB / 0.804 GB, free: 10.79 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.983e-05/0.8825, allocations: 0 / 0.804 GB, free: 10.79 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003736/0.8829, allocations: 144 kB / 0.8041 GB, free: 10.65 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.954e-05/0.8829, allocations: 84 kB / 0.8042 GB, free: 10.57 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01605/0.899, allocations: 6.531 MB / 0.8106 GB, free: 4.023 MB / 0.6387 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.3882/1.287, allocations: 15.7 MB / 0.8259 GB, free: 207.7 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01013/1.297, allocations: 4.084 MB / 0.8299 GB, free: 206.4 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006384/1.304, allocations: 2.655 MB / 0.8325 GB, free: 205.6 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000911/1.305, allocations: 0.675 MB / 0.8332 GB, free: 204.9 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005866/1.311, allocations: 2.563 MB / 0.8357 GB, free: 203.4 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=288): time 5.871e-06/1.311, allocations: 4 kB / 0.8357 GB, free: 203.4 MB / 0.6387 GB Notification: Performance of matching and sorting (n=288): time 0.02046/1.331, allocations: 8.394 MB / 0.8439 GB, free: 199 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.126e-05/1.331, allocations: 209.9 kB / 0.8441 GB, free: 198.8 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002867/1.334, allocations: 2.511 MB / 0.8465 GB, free: 197.5 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0003268/1.335, allocations: 72.83 kB / 0.8466 GB, free: 197.5 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.000944/1.335, allocations: 1.434 MB / 0.848 GB, free: 196.3 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006736/1.336, allocations: 0.967 MB / 0.849 GB, free: 195.4 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008433/1.337, allocations: 0.5029 MB / 0.8494 GB, free: 195.1 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 4.11e-05/1.337, allocations: 301.1 kB / 0.8497 GB, free: 194.9 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004284/1.341, allocations: 2.061 MB / 0.8517 GB, free: 193.8 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004284/1.346, allocations: 2.369 MB / 0.8541 GB, free: 192.5 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008071/1.354, allocations: 4.434 MB / 0.8584 GB, free: 188.2 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.373e-06/1.354, allocations: 0 / 0.8584 GB, free: 188.2 MB / 0.6387 GB Notification: Performance of matching and sorting (n=327) (initialization): time 0.01016/1.364, allocations: 5.326 MB / 0.8636 GB, free: 182.8 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.004e-05/1.364, allocations: 10.81 kB / 0.8636 GB, free: 182.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/1.364, allocations: 4 kB / 0.8636 GB, free: 182.8 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001124/1.365, allocations: 0.5468 MB / 0.8641 GB, free: 182.3 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003627/1.369, allocations: 0.7956 MB / 0.8649 GB, free: 181.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00592/1.375, allocations: 5.285 MB / 0.8701 GB, free: 176.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004142/1.379, allocations: 0.5595 MB / 0.8706 GB, free: 175.5 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004531/1.379, allocations: 115.9 kB / 0.8707 GB, free: 175.4 MB / 0.6387 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 ($PRE.intGai.nextTimeEvent,$whenCondition1,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (282): * Single equations (assignments): 281 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,42,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002011/1.381, allocations: 0.9657 MB / 0.8717 GB, free: 174.4 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007061/1.382, allocations: 284.4 kB / 0.8719 GB, free: 174.1 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01125/1.393, allocations: 5.9 MB / 0.8777 GB, free: 168.2 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.825e-05/1.393, allocations: 28 kB / 0.8777 GB, free: 168.1 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.699e-06/1.393, allocations: 8.656 kB / 0.8777 GB, free: 168.1 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.442e-05/1.393, allocations: 15.94 kB / 0.8778 GB, free: 168.1 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.016/1.409, allocations: 9.894 MB / 0.8874 GB, free: 158.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.038e-05/1.409, allocations: 3.938 kB / 0.8874 GB, free: 158.2 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003349/1.413, allocations: 0.7488 MB / 0.8882 GB, free: 157.4 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001183/1.414, allocations: 0.5261 MB / 0.8887 GB, free: 156.9 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002237/1.414, allocations: 83.92 kB / 0.8887 GB, free: 156.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005922/1.42, allocations: 6.954 MB / 0.8955 GB, free: 149.6 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/1.42, allocations: 0 / 0.8955 GB, free: 149.6 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01478/1.435, allocations: 8.393 MB / 0.9037 GB, free: 141.1 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001575/1.437, allocations: 0.8442 MB / 0.9046 GB, free: 140.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004804/1.437, allocations: 67.83 kB / 0.9046 GB, free: 140.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002783/1.44, allocations: 415.4 kB / 0.905 GB, free: 139.8 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004184/1.44, allocations: 186.1 kB / 0.9052 GB, free: 139.6 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002242/1.441, allocations: 99.88 kB / 0.9053 GB, free: 139.5 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001921/1.442, allocations: 1.83 MB / 0.9071 GB, free: 137.6 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.4e-07/1.442, allocations: 0 / 0.9071 GB, free: 137.6 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002697/1.445, allocations: 1.11 MB / 0.9082 GB, free: 136.5 MB / 0.6387 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 (260): * Single equations (assignments): 253 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(4,36,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002291/1.447, allocations: 1.032 MB / 0.9092 GB, free: 136 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.009612/1.457, allocations: 5.096 MB / 0.9141 GB, free: 130.8 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/1.457, allocations: 0 / 0.9141 GB, free: 130.8 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.005193/1.462, allocations: 2.94 MB / 0.917 GB, free: 127.9 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003141/1.465, allocations: 0.6678 MB / 0.9177 GB, free: 127.2 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01285/1.478, allocations: 9.895 MB / 0.9273 GB, free: 117.3 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001545/1.48, allocations: 2.554 MB / 0.9298 GB, free: 114.7 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.004098/1.484, allocations: 1.124 MB / 0.9309 GB, free: 113.6 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00107/1.485, allocations: 267.2 kB / 0.9312 GB, free: 113.3 MB / 0.6387 GB Notification: Performance of SimCode: time 6.62e-07/1.485, allocations: 0 / 0.9312 GB, free: 113.3 MB / 0.6387 GB Notification: Performance of Templates: time 0.08748/1.573, allocations: 47.9 MB / 0.978 GB, free: 65.81 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.makefile (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.sim & ./IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe 2>&1)