Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements") translateModel(Annex60.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009087/0.0009087, allocations: 100 kB / 15.05 MB, free: 1.105 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.0009436/0.0009436, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.459/1.459, allocations: 205.4 MB / 222.1 MB, free: 5.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3942/0.3942, allocations: 54.98 MB / 325.4 MB, free: 0.7305 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008206/0.0008207, allocations: 16 kB / 396.6 MB, free: 11.73 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3804/0.3812, allocations: 60.71 MB / 457.3 MB, free: 38.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements): time 0.1458/0.5271, allocations: 128.6 MB / 0.5721 GB, free: 6.809 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02254/0.5497, allocations: 18.59 MB / 0.5903 GB, free: 4.191 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001869/0.5516, allocations: 43.75 kB / 0.5903 GB, free: 4.148 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001636/0.5532, allocations: 0.7935 MB / 0.5911 GB, free: 3.352 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003892/0.5571, allocations: 1.528 MB / 0.5926 GB, free: 1.824 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003363/0.5605, allocations: 1.23 MB / 0.5938 GB, free: 0.6094 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004434/0.5649, allocations: 2.792 MB / 0.5965 GB, free: 13.81 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003381/0.5683, allocations: 2.801 MB / 0.5992 GB, free: 11.02 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001723/0.5701, allocations: 1.261 MB / 0.6005 GB, free: 9.75 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001998/0.5721, allocations: 1.591 MB / 0.602 GB, free: 8.152 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002691/0.5724, allocations: 104 kB / 0.6021 GB, free: 8.051 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001641/0.574, allocations: 0.5501 MB / 0.6027 GB, free: 7.5 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006121/0.5746, allocations: 0.6861 MB / 0.6033 GB, free: 6.812 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006378/0.5753, allocations: 0.6208 MB / 0.6039 GB, free: 6.184 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004324/0.5796, allocations: 4.164 MB / 0.608 GB, free: 2.016 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.5796, allocations: 0 / 0.608 GB, free: 2.016 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.758e-06/0.5796, allocations: 0 / 0.608 GB, free: 2.016 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.000149/0.5798, allocations: 3.938 kB / 0.608 GB, free: 2.012 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 797 * Number of variables: 797 Notification: Performance of Generate backend data structure: time 0.008643/0.5884, allocations: 3.747 MB / 0.6117 GB, free: 14.2 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.5885, allocations: 8.031 kB / 0.6117 GB, free: 14.19 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01384/0.6023, allocations: 2.815 MB / 0.6144 GB, free: 11.36 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005338/0.6077, allocations: 2.033 MB / 0.6164 GB, free: 9.254 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002103/0.608, allocations: 234.2 kB / 0.6166 GB, free: 9.023 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008119/0.6088, allocations: 307.9 kB / 0.6169 GB, free: 8.723 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01166/0.6205, allocations: 4.958 MB / 0.6218 GB, free: 3.691 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.95e-05/0.6206, allocations: 0 / 0.6218 GB, free: 3.691 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003822/0.6209, allocations: 133.1 kB / 0.6219 GB, free: 3.562 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.479e-05/0.621, allocations: 76 kB / 0.622 GB, free: 3.488 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01509/0.6361, allocations: 6.138 MB / 0.628 GB, free: 13.34 MB / 0.4981 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.2429/0.8791, allocations: 14.16 MB / 0.6418 GB, free: 149.8 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01051/0.8896, allocations: 4.618 MB / 0.6463 GB, free: 149.8 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007786/0.8904, allocations: 0.6756 MB / 0.647 GB, free: 149.1 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004997/0.8954, allocations: 2.376 MB / 0.6493 GB, free: 149 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=268): time 5.239e-06/0.8955, allocations: 5.438 kB / 0.6493 GB, free: 149 MB / 0.4981 GB Notification: Performance of matching and sorting (n=268): time 0.01618/0.9117, allocations: 7.278 MB / 0.6564 GB, free: 147.8 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.555e-05/0.9118, allocations: 138.5 kB / 0.6565 GB, free: 147.6 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00257/0.9143, allocations: 2.301 MB / 0.6588 GB, free: 146.8 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.000412/0.9148, allocations: 77.14 kB / 0.6589 GB, free: 146.8 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008195/0.9156, allocations: 1.29 MB / 0.6601 GB, free: 145.8 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006892/0.9163, allocations: 0.8932 MB / 0.661 GB, free: 145.2 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001785/0.9165, allocations: 43.78 kB / 0.661 GB, free: 145.1 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.9166, allocations: 404.3 kB / 0.6614 GB, free: 144.8 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004519/0.9211, allocations: 1.879 MB / 0.6632 GB, free: 144.2 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004793/0.926, allocations: 2.163 MB / 0.6654 GB, free: 143.5 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004861/0.9308, allocations: 2.025 MB / 0.6673 GB, free: 142.8 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.116e-05/0.9309, allocations: 5.188 kB / 0.6673 GB, free: 142.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=298) (initialization): time 0.01271/0.9436, allocations: 4.754 MB / 0.672 GB, free: 141.2 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.29e-05/0.9437, allocations: 6.875 kB / 0.672 GB, free: 141.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.9e-05/0.9437, allocations: 4.141 kB / 0.672 GB, free: 141.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009671/0.9447, allocations: 337.7 kB / 0.6723 GB, free: 141.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004197/0.9489, allocations: 0.7796 MB / 0.6731 GB, free: 141.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005161/0.9541, allocations: 4.004 MB / 0.677 GB, free: 138.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003935/0.958, allocations: 0.498 MB / 0.6775 GB, free: 138.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005326/0.9586, allocations: 107.4 kB / 0.6776 GB, free: 138.3 MB / 0.4981 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.conTim1.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim.tStart,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 (268): * Single equations (assignments): 267 * 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 {(3,100.0%) 28} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002135/0.9607, allocations: 0.9083 MB / 0.6785 GB, free: 137.9 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005876/0.9613, allocations: 261.2 kB / 0.6787 GB, free: 137.7 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01326/0.9746, allocations: 5.4 MB / 0.684 GB, free: 135.9 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-05/0.9746, allocations: 32.2 kB / 0.684 GB, free: 135.9 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.254e-05/0.9747, allocations: 4.375 kB / 0.684 GB, free: 135.9 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.04e-05/0.9747, allocations: 13.78 kB / 0.684 GB, free: 135.9 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01779/0.9925, allocations: 9.053 MB / 0.6929 GB, free: 132.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.287e-05/0.9926, allocations: 1.125 kB / 0.6929 GB, free: 132.6 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003705/0.9963, allocations: 0.7396 MB / 0.6936 GB, free: 132.4 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000928/0.9972, allocations: 381.1 kB / 0.694 GB, free: 132.3 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002964/0.9975, allocations: 77.7 kB / 0.694 GB, free: 132.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00501/1.003, allocations: 5.93 MB / 0.6998 GB, free: 127.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/1.003, allocations: 1.75 kB / 0.6998 GB, free: 127.3 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01451/1.017, allocations: 7.651 MB / 0.7073 GB, free: 121.5 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001941/1.019, allocations: 0.8444 MB / 0.7081 GB, free: 120.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004335/1.02, allocations: 50.41 kB / 0.7082 GB, free: 120.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002705/1.022, allocations: 383.4 kB / 0.7085 GB, free: 120.2 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003298/1.023, allocations: 166.5 kB / 0.7087 GB, free: 120 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002176/1.023, allocations: 99.92 kB / 0.7088 GB, free: 119.9 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001892/1.025, allocations: 1.685 MB / 0.7104 GB, free: 118.2 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.4e-07/1.025, allocations: 0 / 0.7104 GB, free: 118.2 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002614/1.027, allocations: 1.003 MB / 0.7114 GB, free: 117.3 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.volAir.dynBal.U,thermalZoneTwoElements.volAir.dynBal.m,thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T) * Number of discrete variables: 7 ($whenCondition3,$whenCondition2,$whenCondition1,weaDat.conTim1.tStart,weaDat.conTim.tStart,intGai.nextTimeEvent,intGai.nextTimeEventScaled) * Number of discrete states: 4 (intGai.nextTimeEvent,intGai.nextTimeEventScaled,weaDat.conTim1.tStart,weaDat.conTim.tStart) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (248): * Single equations (assignments): 241 * 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 {(3,100.0%) 25,(1,100.0%) 3} * Non-linear torn systems: 1 {2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002202/1.03, allocations: 1.02 MB / 0.7124 GB, free: 116.8 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.009347/1.039, allocations: 4.641 MB / 0.7169 GB, free: 112.1 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.703e-06/1.039, allocations: 4.062 kB / 0.717 GB, free: 112.1 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.005044/1.044, allocations: 2.704 MB / 0.7196 GB, free: 109.4 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002532/1.047, allocations: 0.5247 MB / 0.7201 GB, free: 108.9 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01211/1.059, allocations: 8.95 MB / 0.7288 GB, free: 99.88 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001541/1.06, allocations: 2.46 MB / 0.7312 GB, free: 97.39 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00423/1.064, allocations: 1.084 MB / 0.7323 GB, free: 96.3 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001022/1.066, allocations: 263.2 kB / 0.7326 GB, free: 96.05 MB / 0.4981 GB Notification: Performance of SimCode: time 9.52e-07/1.066, allocations: 0 / 0.7326 GB, free: 96.05 MB / 0.4981 GB Notification: Performance of Templates: time 0.05468/1.12, allocations: 41.18 MB / 0.7728 GB, free: 55.03 MB / 0.4981 GB make -j1 -f Annex60_1.0.0_Annex60.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; mkfifo Annex60_1.0.0_Annex60.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe >> ../files/Annex60_1.0.0_Annex60.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.sim & ./Annex60_1.0.0_Annex60.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe 2>&1) Environment - environmentSimulation: