Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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 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.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements") translateModel(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.0007058/0.0007058, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.0007465/0.0007465, allocations: 172.7 kB / 15.95 MB, free: 208 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.139/1.139, allocations: 223.3 MB / 240 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6469/0.6469, allocations: 132.4 MB / 423.4 MB, free: 2.047 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002554/0.0002554, allocations: 9.094 kB / 0.5034 GB, free: 4.27 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3164/0.3167, allocations: 81.57 MB / 0.5831 GB, free: 3.988 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements): time 0.1334/0.4501, allocations: 145.7 MB / 0.7254 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02586/0.476, allocations: 24.9 MB / 0.7497 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00185/0.4779, allocations: 67.62 kB / 0.7498 GB, free: 5.48 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001734/0.4796, allocations: 0.8593 MB / 0.7506 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003145/0.4828, allocations: 1.422 MB / 0.752 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002757/0.4856, allocations: 1.221 MB / 0.7532 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004274/0.4899, allocations: 4.483 MB / 0.7576 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003322/0.4932, allocations: 2.954 MB / 0.7604 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001694/0.4949, allocations: 1.338 MB / 0.7617 GB, free: 9.148 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002211/0.4971, allocations: 1.805 MB / 0.7635 GB, free: 7.336 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003515/0.4975, allocations: 108 kB / 0.7636 GB, free: 7.23 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001219/0.4987, allocations: 0.6126 MB / 0.7642 GB, free: 6.617 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005753/0.4993, allocations: 0.7158 MB / 0.7649 GB, free: 5.898 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004806/0.4998, allocations: 0.6286 MB / 0.7655 GB, free: 5.262 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003097/0.5029, allocations: 4.353 MB / 0.7698 GB, free: 0.8984 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.5029, allocations: 4 kB / 0.7698 GB, free: 0.8945 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.102e-06/0.5029, allocations: 0 / 0.7698 GB, free: 0.8945 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.141e-05/0.5029, allocations: 0 / 0.7698 GB, free: 0.8945 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 826 * Number of variables: 826 Notification: Performance of Generate backend data structure: time 0.005827/0.5088, allocations: 3.839 MB / 0.7735 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.878e-05/0.5088, allocations: 12.03 kB / 0.7735 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01112/0.5199, allocations: 2.882 MB / 0.7764 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002904/0.5228, allocations: 2.194 MB / 0.7785 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001464/0.523, allocations: 242.4 kB / 0.7787 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004127/0.5234, allocations: 323.9 kB / 0.779 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00859/0.532, allocations: 5.155 MB / 0.7841 GB, free: 2.027 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.661e-05/0.5321, allocations: 0 / 0.7841 GB, free: 2.027 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002959/0.5324, allocations: 136 kB / 0.7842 GB, free: 1.895 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.655e-05/0.5324, allocations: 80 kB / 0.7843 GB, free: 1.816 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01203/0.5445, allocations: 6.354 MB / 0.7905 GB, free: 11.45 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.01882/0.5633, allocations: 14.55 MB / 0.8047 GB, free: 12.38 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008094/0.5714, allocations: 4.517 MB / 0.8091 GB, free: 7.84 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004188/0.5756, allocations: 2.466 MB / 0.8115 GB, free: 5.367 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007403/0.5764, allocations: 0.6775 MB / 0.8122 GB, free: 4.559 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004335/0.5807, allocations: 2.454 MB / 0.8146 GB, free: 2.062 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=270): time 5.661e-06/0.5807, allocations: 0 / 0.8146 GB, free: 2.062 MB / 0.6387 GB Notification: Performance of matching and sorting (n=270): time 0.2371/0.8178, allocations: 7.515 MB / 0.8219 GB, free: 211.5 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.049e-05/0.8179, allocations: 209.6 kB / 0.8221 GB, free: 211.3 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003101/0.821, allocations: 2.376 MB / 0.8244 GB, free: 210.5 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0002431/0.8212, allocations: 78.03 kB / 0.8245 GB, free: 210.4 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008834/0.8221, allocations: 1.352 MB / 0.8258 GB, free: 209.5 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006519/0.8228, allocations: 0.8958 MB / 0.8267 GB, free: 208.8 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001871/0.823, allocations: 49.97 kB / 0.8267 GB, free: 208.7 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.8231, allocations: 403.4 kB / 0.8271 GB, free: 208.4 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00372/0.8268, allocations: 1.968 MB / 0.829 GB, free: 207.9 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003838/0.8307, allocations: 2.265 MB / 0.8313 GB, free: 207.1 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003852/0.8345, allocations: 2.116 MB / 0.8333 GB, free: 206.4 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.703e-06/0.8346, allocations: 1.031 kB / 0.8333 GB, free: 206.4 MB / 0.6387 GB Notification: Performance of matching and sorting (n=308) (initialization): time 0.008959/0.8435, allocations: 4.953 MB / 0.8382 GB, free: 204.5 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.8436, allocations: 6.438 kB / 0.8382 GB, free: 204.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.8436, allocations: 4.219 kB / 0.8382 GB, free: 204.5 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006905/0.8443, allocations: 341.6 kB / 0.8385 GB, free: 204.3 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003218/0.8475, allocations: 0.7859 MB / 0.8393 GB, free: 204.1 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003735/0.8512, allocations: 3.914 MB / 0.8431 GB, free: 201.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002606/0.8539, allocations: 0.5531 MB / 0.8436 GB, free: 200.8 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002103/0.8541, allocations: 113.9 kB / 0.8437 GB, free: 200.8 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 (278): * Single equations (assignments): 277 * 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.001168/0.8553, allocations: 0.9251 MB / 0.8446 GB, free: 200.2 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003421/0.8556, allocations: 269 kB / 0.8449 GB, free: 200.1 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009502/0.8651, allocations: 5.561 MB / 0.8503 GB, free: 197 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.349e-05/0.8651, allocations: 34.12 kB / 0.8504 GB, free: 197 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.8651, allocations: 3.625 kB / 0.8504 GB, free: 197 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.976e-05/0.8652, allocations: 15.94 kB / 0.8504 GB, free: 197 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01224/0.8774, allocations: 9.277 MB / 0.8594 GB, free: 189.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/0.8774, allocations: 4 kB / 0.8594 GB, free: 189.4 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002908/0.8803, allocations: 0.7293 MB / 0.8602 GB, free: 188.7 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007627/0.8811, allocations: 390.1 kB / 0.8605 GB, free: 188.3 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001946/0.8813, allocations: 83.92 kB / 0.8606 GB, free: 188.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004027/0.8854, allocations: 5.775 MB / 0.8662 GB, free: 182.1 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.8854, allocations: 4 kB / 0.8662 GB, free: 182.1 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01168/0.8971, allocations: 7.903 MB / 0.874 GB, free: 174.1 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009888/0.8981, allocations: 0.8481 MB / 0.8748 GB, free: 173.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003354/0.8984, allocations: 55.98 kB / 0.8748 GB, free: 173.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002279/0.9007, allocations: 419.3 kB / 0.8752 GB, free: 172.8 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002417/0.9009, allocations: 185.9 kB / 0.8754 GB, free: 172.6 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001798/0.9011, allocations: 91.94 kB / 0.8755 GB, free: 172.5 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.00148/0.9026, allocations: 1.729 MB / 0.8772 GB, free: 170.8 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9026, allocations: 0 / 0.8772 GB, free: 170.8 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001773/0.9044, allocations: 1.032 MB / 0.8782 GB, free: 169.8 MB / 0.6387 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.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 (254): * Single equations (assignments): 247 * 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 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001838/0.9062, allocations: 1.007 MB / 0.8792 GB, free: 169.2 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.007429/0.9137, allocations: 4.794 MB / 0.8839 GB, free: 164.4 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.9137, allocations: 0 / 0.8839 GB, free: 164.4 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.00398/0.9177, allocations: 2.764 MB / 0.8866 GB, free: 161.6 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002049/0.9197, allocations: 0.6096 MB / 0.8872 GB, free: 161 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009409/0.9292, allocations: 9.184 MB / 0.8961 GB, free: 151.8 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001284/0.9305, allocations: 2.449 MB / 0.8985 GB, free: 149.3 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.003052/0.9335, allocations: 1.099 MB / 0.8996 GB, free: 148.2 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008811/0.9344, allocations: 263.2 kB / 0.8999 GB, free: 147.9 MB / 0.6387 GB Notification: Performance of SimCode: time 6.91e-07/0.9344, allocations: 4 kB / 0.8999 GB, free: 147.9 MB / 0.6387 GB Notification: Performance of Templates: time 0.04424/0.9787, allocations: 42.58 MB / 0.9414 GB, free: 105.7 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.makefile (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.sim & ./IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe 2>&1)