Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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.SimpleRoomFourElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements") translateModel(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001522/0.001522, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001799/0.001798, allocations: 193.2 kB / 16.53 MB, free: 6.391 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.388/1.388, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9976/0.9976, allocations: 135.1 MB / 425.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002447/0.002447, allocations: 60.34 kB / 0.5053 GB, free: 5.316 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2097/0.2121, allocations: 80.92 MB / 0.5844 GB, free: 4.547 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.4979/0.7101, allocations: 163.1 MB / 0.7436 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.03604/0.7462, allocations: 27.44 MB / 0.7704 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004785/0.751, allocations: 87.56 kB / 0.7705 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003149/0.7542, allocations: 1.13 MB / 0.7716 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006463/0.7607, allocations: 1.886 MB / 0.7734 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005437/0.7662, allocations: 1.976 MB / 0.7754 GB, free: 9.141 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.008282/0.7745, allocations: 5.828 MB / 0.7811 GB, free: 3.305 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006409/0.7809, allocations: 4.892 MB / 0.7858 GB, free: 14.35 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004002/0.7849, allocations: 2.299 MB / 0.7881 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004051/0.789, allocations: 2.814 MB / 0.7908 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001065/0.7901, allocations: 0.5195 MB / 0.7913 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002766/0.7928, allocations: 1.12 MB / 0.7924 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001257/0.7941, allocations: 1.359 MB / 0.7938 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.00325/0.7974, allocations: 2.391 MB / 0.7961 GB, free: 3.816 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.008433/0.8058, allocations: 6.633 MB / 0.8026 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.8059, allocations: 0 / 0.8026 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.873e-06/0.8059, allocations: 0 / 0.8026 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0001934/0.8061, allocations: 4 kB / 0.8026 GB, free: 13.16 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: 962 * Number of variables: 962 Notification: Performance of Generate backend data structure: time 0.01169/0.8178, allocations: 5.104 MB / 0.8076 GB, free: 7.98 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.8178, allocations: 8.031 kB / 0.8076 GB, free: 7.973 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01405/0.8319, allocations: 2.838 MB / 0.8103 GB, free: 5.125 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005828/0.8377, allocations: 2.488 MB / 0.8128 GB, free: 2.562 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002214/0.838, allocations: 279.5 kB / 0.813 GB, free: 2.289 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006745/0.8387, allocations: 371.9 kB / 0.8134 GB, free: 1.926 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01165/0.8503, allocations: 5.728 MB / 0.819 GB, free: 12.14 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.514e-05/0.8504, allocations: 0 / 0.819 GB, free: 12.14 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003891/0.8508, allocations: 159.9 kB / 0.8191 GB, free: 11.98 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.549e-05/0.8509, allocations: 95.94 kB / 0.8192 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01496/0.8659, allocations: 6.858 MB / 0.8259 GB, free: 5.02 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.02796/0.8939, allocations: 17.39 MB / 0.8429 GB, free: 2.879 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008699/0.9026, allocations: 4.501 MB / 0.8473 GB, free: 14.38 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005295/0.9079, allocations: 2.94 MB / 0.8502 GB, free: 11.43 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008519/0.9088, allocations: 0.6738 MB / 0.8508 GB, free: 10.62 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005338/0.9141, allocations: 2.733 MB / 0.8535 GB, free: 7.852 MB / 0.67 GB Notification: Performance of pre-optimization done (n=315): time 5.37e-06/0.9142, allocations: 0 / 0.8535 GB, free: 7.852 MB / 0.67 GB Notification: Performance of matching and sorting (n=315): time 0.4318/1.346, allocations: 9.68 MB / 0.863 GB, free: 214.5 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001064/1.346, allocations: 221.4 kB / 0.8632 GB, free: 214.3 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003712/1.35, allocations: 2.661 MB / 0.8658 GB, free: 213.9 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0008516/1.351, allocations: 84.58 kB / 0.8658 GB, free: 213.8 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001245/1.352, allocations: 1.534 MB / 0.8673 GB, free: 213 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001242/1.353, allocations: 1.052 MB / 0.8684 GB, free: 212.2 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009178/1.354, allocations: 0.5393 MB / 0.8689 GB, free: 212 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 4.701e-05/1.354, allocations: 301.1 kB / 0.8692 GB, free: 211.7 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004591/1.359, allocations: 2.178 MB / 0.8713 GB, free: 211 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00512/1.364, allocations: 2.524 MB / 0.8738 GB, free: 210.2 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009877/1.374, allocations: 4.716 MB / 0.8784 GB, free: 208.5 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.387e-05/1.374, allocations: 2.844 kB / 0.8784 GB, free: 208.5 MB / 0.67 GB Notification: Performance of matching and sorting (n=355) (initialization): time 0.01237/1.386, allocations: 5.8 MB / 0.884 GB, free: 206.6 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.453e-05/1.386, allocations: 9.094 kB / 0.8841 GB, free: 206.6 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/1.386, allocations: 8.969 kB / 0.8841 GB, free: 206.6 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001675/1.388, allocations: 0.8471 MB / 0.8849 GB, free: 206.5 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004027/1.392, allocations: 0.8091 MB / 0.8857 GB, free: 206.5 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009852/1.402, allocations: 7.555 MB / 0.8931 GB, free: 202.2 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004269/1.406, allocations: 0.5693 MB / 0.8936 GB, free: 202 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004945/1.407, allocations: 119.7 kB / 0.8937 GB, free: 202 MB / 0.67 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 (291): * Single equations (assignments): 290 * 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 {(5,60,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002558/1.409, allocations: 1.028 MB / 0.8947 GB, free: 201.5 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009519/1.41, allocations: 311.5 kB / 0.895 GB, free: 201.3 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01449/1.425, allocations: 6.381 MB / 0.9013 GB, free: 199.1 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.791e-05/1.425, allocations: 34.36 kB / 0.9013 GB, free: 199.1 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.207e-05/1.425, allocations: 16.38 kB / 0.9013 GB, free: 199.1 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-05/1.425, allocations: 16.73 kB / 0.9013 GB, free: 199.1 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02312/1.448, allocations: 10.72 MB / 0.9118 GB, free: 195.2 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-05/1.448, allocations: 0.6562 kB / 0.9118 GB, free: 195.2 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004373/1.453, allocations: 0.7673 MB / 0.9125 GB, free: 195.2 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001976/1.455, allocations: 0.7453 MB / 0.9133 GB, free: 195 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005369/1.455, allocations: 85.39 kB / 0.9134 GB, free: 194.9 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01084/1.466, allocations: 10.66 MB / 0.9238 GB, free: 187.2 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/1.466, allocations: 0.6562 kB / 0.9238 GB, free: 187.2 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01933/1.485, allocations: 9.08 MB / 0.9326 GB, free: 183.9 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001897/1.487, allocations: 0.8934 MB / 0.9335 GB, free: 183.4 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006072/1.488, allocations: 74.77 kB / 0.9336 GB, free: 183.4 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003016/1.491, allocations: 404.5 kB / 0.934 GB, free: 183.3 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005211/1.491, allocations: 212.4 kB / 0.9342 GB, free: 183.3 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000227/1.492, allocations: 107.1 kB / 0.9343 GB, free: 183.3 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002262/1.494, allocations: 1.926 MB / 0.9361 GB, free: 182.6 MB / 0.67 GB Notification: Performance of sort global known variables: time 4.61e-07/1.494, allocations: 0.6875 kB / 0.9361 GB, free: 182.6 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002881/1.497, allocations: 1.222 MB / 0.9373 GB, free: 182.3 MB / 0.67 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 (270): * Single equations (assignments): 262 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,49,100.0%), (1,3,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.002303/1.499, allocations: 1.042 MB / 0.9384 GB, free: 182 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.02027/1.519, allocations: 9.33 MB / 0.9475 GB, free: 174.5 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/1.519, allocations: 4.188 kB / 0.9475 GB, free: 174.5 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.005906/1.525, allocations: 3.322 MB / 0.9507 GB, free: 171.1 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003439/1.529, allocations: 0.7734 MB / 0.9515 GB, free: 170.4 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0136/1.542, allocations: 9.004 MB / 0.9603 GB, free: 161.4 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001714/1.544, allocations: 2.695 MB / 0.9629 GB, free: 158.6 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.004271/1.548, allocations: 1.157 MB / 0.964 GB, free: 157.5 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001027/1.55, allocations: 279.2 kB / 0.9643 GB, free: 157.2 MB / 0.67 GB Notification: Performance of SimCode: time 9.21e-07/1.55, allocations: 0 / 0.9643 GB, free: 157.2 MB / 0.67 GB Notification: Performance of Templates: time 0.07413/1.624, allocations: 54.66 MB / 1.018 GB, free: 103 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.makefile (rm -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; mkfifo IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe >> ../files/IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.sim & ./IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe 2>&1)