Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.SimpleRoomFourElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements") translateModel(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_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.0008287/0.0008288, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.0008731/0.0008731, allocations: 168.7 kB / 15.95 MB, free: 200 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.165/1.165, allocations: 223.3 MB / 240 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6617/0.6617, allocations: 132.3 MB / 423.4 MB, free: 2.043 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002658/0.0002658, allocations: 8 kB / 0.5034 GB, free: 4.258 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3358/0.3361, allocations: 81.56 MB / 0.5831 GB, free: 3.984 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.1441/0.4803, allocations: 147.8 MB / 0.7274 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02792/0.5082, allocations: 25.58 MB / 0.7524 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002762/0.511, allocations: 75.62 kB / 0.7524 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002244/0.5133, allocations: 0.9524 MB / 0.7534 GB, free: 1.746 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004271/0.5176, allocations: 1.608 MB / 0.7549 GB, free: 136 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003621/0.5212, allocations: 1.413 MB / 0.7563 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.005955/0.5272, allocations: 5.48 MB / 0.7617 GB, free: 9.238 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004525/0.5317, allocations: 3.368 MB / 0.765 GB, free: 5.82 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002333/0.5341, allocations: 1.564 MB / 0.7665 GB, free: 4.25 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002919/0.537, allocations: 2.128 MB / 0.7686 GB, free: 2.113 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0006673/0.5377, allocations: 140 kB / 0.7687 GB, free: 1.977 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001879/0.5396, allocations: 0.6399 MB / 0.7693 GB, free: 1.336 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0009948/0.5406, allocations: 0.852 MB / 0.7702 GB, free: 492 kB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0009879/0.5416, allocations: 0.7456 MB / 0.7709 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.004614/0.5462, allocations: 5.101 MB / 0.7759 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.5462, allocations: 0 / 0.7759 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5462, allocations: 0 / 0.7759 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001958/0.5464, allocations: 4 kB / 0.7759 GB, free: 10.61 MB / 0.6075 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.00803/0.5545, allocations: 4.358 MB / 0.7801 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.5545, allocations: 8.031 kB / 0.7801 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0113/0.5658, allocations: 2.947 MB / 0.783 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003433/0.5692, allocations: 2.432 MB / 0.7854 GB, free: 0.7109 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001612/0.5694, allocations: 279.5 kB / 0.7857 GB, free: 448 kB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004785/0.5699, allocations: 375.9 kB / 0.786 GB, free: 72 kB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009543/0.5795, allocations: 5.743 MB / 0.7916 GB, free: 10.27 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.715e-05/0.5795, allocations: 0 / 0.7916 GB, free: 10.27 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003263/0.5799, allocations: 159.9 kB / 0.7918 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.502e-05/0.5799, allocations: 92 kB / 0.7919 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01252/0.5924, allocations: 6.915 MB / 0.7986 GB, free: 3.094 MB / 0.6231 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.02171/0.6142, allocations: 17.41 MB / 0.8156 GB, free: 0.918 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2395/0.8537, allocations: 4.475 MB / 0.82 GB, free: 210.8 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005226/0.859, allocations: 3.086 MB / 0.823 GB, free: 209.8 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006974/0.8597, allocations: 0.674 MB / 0.8237 GB, free: 209.1 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004865/0.8645, allocations: 2.723 MB / 0.8263 GB, free: 208.3 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=315): time 4.519e-06/0.8646, allocations: 0 / 0.8263 GB, free: 208.3 MB / 0.6387 GB Notification: Performance of matching and sorting (n=315): time 0.0192/0.8838, allocations: 9.592 MB / 0.8357 GB, free: 205.5 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.671e-05/0.8838, allocations: 217.5 kB / 0.8359 GB, free: 205.3 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002814/0.8867, allocations: 2.637 MB / 0.8385 GB, free: 204 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.000197/0.8869, allocations: 78.83 kB / 0.8386 GB, free: 203.9 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008951/0.8878, allocations: 1.543 MB / 0.8401 GB, free: 202.7 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006189/0.8884, allocations: 1.047 MB / 0.8411 GB, free: 201.8 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001885/0.8886, allocations: 62.09 kB / 0.8411 GB, free: 201.7 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.8887, allocations: 419.2 kB / 0.8415 GB, free: 201.4 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003487/0.8922, allocations: 2.179 MB / 0.8437 GB, free: 200.3 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003623/0.8958, allocations: 2.517 MB / 0.8461 GB, free: 198.8 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003668/0.8995, allocations: 2.355 MB / 0.8484 GB, free: 197.6 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.8995, allocations: 4 kB / 0.8484 GB, free: 197.6 MB / 0.6387 GB Notification: Performance of matching and sorting (n=355) (initialization): time 0.008806/0.9083, allocations: 5.797 MB / 0.8541 GB, free: 193.9 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.9084, allocations: 4.156 kB / 0.8541 GB, free: 193.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.9084, allocations: 8 kB / 0.8541 GB, free: 193.9 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00129/0.9097, allocations: 0.8239 MB / 0.8549 GB, free: 193 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003004/0.9127, allocations: 0.8112 MB / 0.8557 GB, free: 192.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006812/0.9195, allocations: 6.989 MB / 0.8625 GB, free: 185.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002614/0.9221, allocations: 0.5945 MB / 0.8631 GB, free: 184.5 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002161/0.9224, allocations: 123.9 kB / 0.8632 GB, free: 184.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 ($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,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * 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 (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.001356/0.9237, allocations: 1.028 MB / 0.8642 GB, free: 183.4 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003284/0.9241, allocations: 308.2 kB / 0.8645 GB, free: 183.1 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01019/0.9343, allocations: 6.396 MB / 0.8708 GB, free: 176.6 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.5e-05/0.9343, allocations: 40.5 kB / 0.8708 GB, free: 176.6 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.768e-06/0.9343, allocations: 8 kB / 0.8708 GB, free: 176.6 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.223e-05/0.9343, allocations: 19.94 kB / 0.8708 GB, free: 176.5 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01334/0.9477, allocations: 10.7 MB / 0.8813 GB, free: 165.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/0.9477, allocations: 4 kB / 0.8813 GB, free: 165.8 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00294/0.9506, allocations: 0.7651 MB / 0.882 GB, free: 165 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001313/0.952, allocations: 0.7376 MB / 0.8828 GB, free: 164.3 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001891/0.9522, allocations: 87.89 kB / 0.8828 GB, free: 164.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007395/0.9596, allocations: 9.786 MB / 0.8924 GB, free: 154 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.9596, allocations: 0 / 0.8924 GB, free: 154 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01286/0.9724, allocations: 9.059 MB / 0.9012 GB, free: 144.8 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001146/0.9736, allocations: 0.9335 MB / 0.9022 GB, free: 143.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003818/0.974, allocations: 67.97 kB / 0.9022 GB, free: 143.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002331/0.9763, allocations: 443.2 kB / 0.9026 GB, free: 143.4 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002878/0.9766, allocations: 214.2 kB / 0.9028 GB, free: 143.2 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002014/0.9768, allocations: 107.9 kB / 0.903 GB, free: 143.1 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001761/0.9786, allocations: 1.909 MB / 0.9048 GB, free: 141.2 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9786, allocations: 0 / 0.9048 GB, free: 141.2 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002265/0.9809, allocations: 1.223 MB / 0.906 GB, free: 140 MB / 0.6387 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 (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.001952/0.9828, allocations: 1.024 MB / 0.907 GB, free: 139.4 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00819/0.991, allocations: 5.494 MB / 0.9124 GB, free: 133.9 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.991, allocations: 4 kB / 0.9124 GB, free: 133.9 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.00453/0.9956, allocations: 3.326 MB / 0.9156 GB, free: 130.5 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002381/0.998, allocations: 0.7174 MB / 0.9163 GB, free: 129.8 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01096/1.009, allocations: 10.46 MB / 0.9265 GB, free: 119.3 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001494/1.01, allocations: 2.705 MB / 0.9292 GB, free: 116.6 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.003296/1.014, allocations: 1.156 MB / 0.9303 GB, free: 115.4 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009294/1.015, allocations: 279.2 kB / 0.9306 GB, free: 115.1 MB / 0.6387 GB Notification: Performance of SimCode: time 4.61e-07/1.015, allocations: 0 / 0.9306 GB, free: 115.1 MB / 0.6387 GB Notification: Performance of Templates: time 0.05383/1.069, allocations: 50.4 MB / 0.9798 GB, free: 65.19 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.makefile (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.sim & ./IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe 2>&1)