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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001228/0.001228, allocations: 183.4 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7002/0.7002, allocations: 132.2 MB / 148.9 MB, free: 12.15 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.465/1.465, allocations: 222.9 MB / 403.4 MB, free: 7.07 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 102 kB / 484.3 MB, free: 8.711 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001005/0.001005, allocations: 51.92 kB / 0.5618 GB, free: 71.07 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.1493, allocations: 80.21 MB / 0.6402 GB, free: 6.797 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.52/0.6693, allocations: 160.7 MB / 0.7971 GB, free: 2.367 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.03464/0.704, allocations: 27.26 MB / 0.8237 GB, free: 7.027 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003969/0.708, allocations: 79.56 kB / 0.8238 GB, free: 6.949 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.003151/0.7112, allocations: 0.9915 MB / 0.8248 GB, free: 5.953 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.007896/0.7191, allocations: 1.714 MB / 0.8264 GB, free: 4.234 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.005622/0.7248, allocations: 1.757 MB / 0.8282 GB, free: 2.496 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.007567/0.7323, allocations: 6.2 MB / 0.8342 GB, free: 12.28 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005544/0.7379, allocations: 4.34 MB / 0.8385 GB, free: 7.871 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003267/0.7412, allocations: 1.938 MB / 0.8403 GB, free: 5.93 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004163/0.7454, allocations: 2.65 MB / 0.8429 GB, free: 3.27 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0008435/0.7463, allocations: 288 kB / 0.8432 GB, free: 2.988 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002547/0.7488, allocations: 0.878 MB / 0.8441 GB, free: 2.109 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.001014/0.7499, allocations: 1.105 MB / 0.8451 GB, free: 1 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.002736/0.7526, allocations: 2.129 MB / 0.8472 GB, free: 14.86 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.008004/0.7606, allocations: 6.426 MB / 0.8535 GB, free: 8.414 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.7607, allocations: 4 kB / 0.8535 GB, free: 8.41 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.313e-06/0.7607, allocations: 0 / 0.8535 GB, free: 8.41 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0002135/0.7609, allocations: 0 / 0.8535 GB, free: 8.41 MB / 0.5886 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.01253/0.7734, allocations: 5.099 MB / 0.8585 GB, free: 3.234 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.7735, allocations: 8.031 kB / 0.8585 GB, free: 3.227 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01355/0.787, allocations: 2.834 MB / 0.8613 GB, free: 392 kB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006122/0.7932, allocations: 2.516 MB / 0.8637 GB, free: 13.79 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002289/0.7935, allocations: 279.5 kB / 0.864 GB, free: 13.52 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001026/0.7945, allocations: 368 kB / 0.8643 GB, free: 13.16 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01299/0.8075, allocations: 5.736 MB / 0.8699 GB, free: 7.363 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-05/0.8076, allocations: 7.938 kB / 0.8699 GB, free: 7.355 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003714/0.808, allocations: 152 kB / 0.8701 GB, free: 7.207 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-05/0.8081, allocations: 95.94 kB / 0.8702 GB, free: 7.113 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01646/0.8245, allocations: 6.862 MB / 0.8769 GB, free: 248 kB / 0.6042 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.03328/0.8579, allocations: 17.36 MB / 0.8938 GB, free: 14.12 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009358/0.8673, allocations: 4.491 MB / 0.8982 GB, free: 9.629 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005853/0.8732, allocations: 2.943 MB / 0.9011 GB, free: 6.672 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001022/0.8742, allocations: 0.67 MB / 0.9017 GB, free: 5.871 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006369/0.8806, allocations: 2.733 MB / 0.9044 GB, free: 3.102 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=315): time 6.772e-06/0.8806, allocations: 0 / 0.9044 GB, free: 3.102 MB / 0.6355 GB Notification: Performance of matching and sorting (n=315): time 0.02675/0.9074, allocations: 9.69 MB / 0.9139 GB, free: 9.273 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001339/0.9076, allocations: 214.4 kB / 0.9141 GB, free: 9.02 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003991/0.9116, allocations: 2.658 MB / 0.9167 GB, free: 6.348 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.000708/0.9123, allocations: 85.7 kB / 0.9168 GB, free: 6.258 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.001506/0.9138, allocations: 1.534 MB / 0.9183 GB, free: 4.707 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.001369/0.9152, allocations: 1.055 MB / 0.9193 GB, free: 3.637 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009965/0.9162, allocations: 0.5369 MB / 0.9198 GB, free: 3.094 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.249e-05/0.9163, allocations: 301.1 kB / 0.9201 GB, free: 2.797 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00498/0.9213, allocations: 2.183 MB / 0.9222 GB, free: 0.6094 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005427/0.9267, allocations: 2.521 MB / 0.9247 GB, free: 14.01 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01124/0.938, allocations: 4.704 MB / 0.9293 GB, free: 9.227 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.647e-05/0.9381, allocations: 0 / 0.9293 GB, free: 9.227 MB / 0.6667 GB Notification: Performance of matching and sorting (n=355) (initialization): time 0.01463/0.9527, allocations: 5.812 MB / 0.935 GB, free: 3.371 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 3.35e-05/0.9528, allocations: 8 kB / 0.935 GB, free: 3.363 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.743e-05/0.9528, allocations: 4 kB / 0.935 GB, free: 3.359 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00183/0.9546, allocations: 0.8395 MB / 0.9358 GB, free: 2.516 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004494/0.9591, allocations: 0.8073 MB / 0.9366 GB, free: 1.707 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01023/0.9694, allocations: 7.001 MB / 0.9434 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0049/0.9743, allocations: 0.5923 MB / 0.944 GB, free: 9.973 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007942/0.9752, allocations: 115.9 kB / 0.9441 GB, free: 9.859 MB / 0.6823 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.002689/0.9779, allocations: 1.036 MB / 0.9451 GB, free: 8.812 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001091/0.979, allocations: 308.1 kB / 0.9454 GB, free: 8.508 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0151/0.9941, allocations: 6.38 MB / 0.9516 GB, free: 2.062 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.271e-05/0.9942, allocations: 36 kB / 0.9517 GB, free: 2.027 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.549e-05/0.9942, allocations: 12 kB / 0.9517 GB, free: 2.016 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.327e-05/0.9942, allocations: 16.03 kB / 0.9517 GB, free: 2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4306/1.425, allocations: 10.72 MB / 0.9622 GB, free: 250.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.198e-05/1.425, allocations: 0 / 0.9622 GB, free: 250.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00433/1.429, allocations: 0.7687 MB / 0.9629 GB, free: 250.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00205/1.431, allocations: 0.7352 MB / 0.9636 GB, free: 250.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006058/1.432, allocations: 85.95 kB / 0.9637 GB, free: 250 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01108/1.443, allocations: 9.794 MB / 0.9733 GB, free: 243.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/1.443, allocations: 5.156 kB / 0.9733 GB, free: 243.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3489/1.792, allocations: 136.3 MB / 1.106 GB, free: 120.3 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003113/1.795, allocations: 0.9024 MB / 1.107 GB, free: 119.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009654/1.796, allocations: 63.91 kB / 1.107 GB, free: 119.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003477/1.8, allocations: 431.9 kB / 1.108 GB, free: 118.9 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005911/1.8, allocations: 210.3 kB / 1.108 GB, free: 118.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002618/1.801, allocations: 110.4 kB / 1.108 GB, free: 118.6 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002471/1.803, allocations: 1.928 MB / 1.11 GB, free: 116.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.71e-07/1.803, allocations: 0 / 1.11 GB, free: 116.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.006622/1.81, allocations: 1.879 MB / 1.112 GB, free: 114.8 MB / 0.6823 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.002746/1.812, allocations: 1.094 MB / 1.113 GB, free: 114.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.01117/1.824, allocations: 5.493 MB / 1.118 GB, free: 108.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.174e-06/1.824, allocations: 4.688 kB / 1.118 GB, free: 108.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.006204/1.83, allocations: 3.328 MB / 1.121 GB, free: 105.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003674/1.834, allocations: 0.7039 MB / 1.122 GB, free: 104.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01994/1.854, allocations: 13.54 MB / 1.135 GB, free: 90.87 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002568/1.856, allocations: 2.819 MB / 1.138 GB, free: 88.02 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.007302/1.863, allocations: 1.476 MB / 1.14 GB, free: 86.54 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002995/1.866, allocations: 343.2 kB / 1.14 GB, free: 86.21 MB / 0.6823 GB Notification: Performance of SimCode: time 1.072e-06/1.866, allocations: 0 / 1.14 GB, free: 86.21 MB / 0.6823 GB Notification: Performance of Templates: time 0.4708/2.337, allocations: 106.2 MB / 1.244 GB, free: 228.4 MB / 0.6823 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)