Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.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.SimpleRoomOneElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement") translateModel(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001541/0.001541, allocations: 182 kB / 15.98 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7572/0.7572, allocations: 132.2 MB / 148.9 MB, free: 12.14 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.462/1.462, allocations: 222.9 MB / 403.4 MB, free: 7.062 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.001085/0.001084, allocations: 107 kB / 484.3 MB, free: 8.711 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009954/0.0009952, allocations: 51.92 kB / 0.5618 GB, free: 71.07 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1654/0.1664, allocations: 80.21 MB / 0.6402 GB, free: 6.793 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.5952/0.7616, allocations: 157.8 MB / 0.7942 GB, free: 5.285 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.03209/0.7938, allocations: 26.44 MB / 0.8201 GB, free: 10.78 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003743/0.7976, allocations: 67.62 kB / 0.8201 GB, free: 10.71 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.002157/0.7998, allocations: 0.8712 MB / 0.821 GB, free: 9.836 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.004742/0.8045, allocations: 1.462 MB / 0.8224 GB, free: 8.371 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.00393/0.8085, allocations: 1.446 MB / 0.8238 GB, free: 6.938 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.005685/0.8142, allocations: 4.812 MB / 0.8285 GB, free: 2.113 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004492/0.8187, allocations: 3.698 MB / 0.8321 GB, free: 14.35 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002914/0.8216, allocations: 1.603 MB / 0.8337 GB, free: 12.74 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003316/0.825, allocations: 2.187 MB / 0.8358 GB, free: 10.54 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0005493/0.8255, allocations: 228 kB / 0.836 GB, free: 10.32 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00226/0.8278, allocations: 0.8233 MB / 0.8368 GB, free: 9.496 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0008532/0.8287, allocations: 0.899 MB / 0.8377 GB, free: 8.594 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.002095/0.8308, allocations: 1.709 MB / 0.8394 GB, free: 6.875 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.005648/0.8364, allocations: 5.234 MB / 0.8445 GB, free: 1.625 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 8.285e-06/0.8365, allocations: 0 / 0.8445 GB, free: 1.625 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.893e-06/0.8365, allocations: 0 / 0.8445 GB, free: 1.625 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.000165/0.8367, allocations: 0 / 0.8445 GB, free: 1.625 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 790 * Number of variables: 790 Notification: Performance of Generate backend data structure: time 0.009806/0.8465, allocations: 4.293 MB / 0.8487 GB, free: 13.26 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.8465, allocations: 11.97 kB / 0.8487 GB, free: 13.25 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01292/0.8595, allocations: 2.757 MB / 0.8514 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005208/0.8647, allocations: 2.183 MB / 0.8535 GB, free: 8.25 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001727/0.8649, allocations: 234.2 kB / 0.8538 GB, free: 8.02 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006493/0.8656, allocations: 300 kB / 0.854 GB, free: 7.727 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01107/0.8767, allocations: 4.959 MB / 0.8589 GB, free: 2.684 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.708e-05/0.8768, allocations: 7.844 kB / 0.8589 GB, free: 2.676 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000339/0.8771, allocations: 128 kB / 0.859 GB, free: 2.551 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.096e-05/0.8772, allocations: 79.94 kB / 0.8591 GB, free: 2.473 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01523/0.8924, allocations: 6.103 MB / 0.865 GB, free: 12.36 MB / 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.0309/0.9234, allocations: 13.63 MB / 0.8784 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01081/0.9342, allocations: 4.347 MB / 0.8826 GB, free: 9.93 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00555/0.9398, allocations: 2.315 MB / 0.8849 GB, free: 7.609 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001054/0.9409, allocations: 0.6656 MB / 0.8855 GB, free: 6.812 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006573/0.9475, allocations: 2.378 MB / 0.8878 GB, free: 4.398 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=257): time 6.562e-06/0.9475, allocations: 0 / 0.8878 GB, free: 4.398 MB / 0.6198 GB Notification: Performance of matching and sorting (n=257): time 0.02037/0.9679, allocations: 6.951 MB / 0.8946 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001533/0.9681, allocations: 210 kB / 0.8948 GB, free: 13.07 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004441/0.9726, allocations: 2.303 MB / 0.8971 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0006926/0.9733, allocations: 69.7 kB / 0.8971 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.001493/0.9748, allocations: 1.294 MB / 0.8984 GB, free: 9.352 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.001312/0.9761, allocations: 0.8549 MB / 0.8992 GB, free: 8.484 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001621/0.9778, allocations: 476.1 kB / 0.8997 GB, free: 8.012 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.9779, allocations: 305.1 kB / 0.9 GB, free: 7.711 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004946/0.9828, allocations: 1.897 MB / 0.9018 GB, free: 5.809 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00532/0.9882, allocations: 2.185 MB / 0.904 GB, free: 3.547 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009958/0.9982, allocations: 4.058 MB / 0.9079 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.458e-06/0.9982, allocations: 0 / 0.9079 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01235/1.011, allocations: 4.699 MB / 0.9125 GB, free: 10.64 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.592e-05/1.011, allocations: 11.94 kB / 0.9125 GB, free: 10.63 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.206e-05/1.011, allocations: 8.094 kB / 0.9125 GB, free: 10.62 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007322/1.011, allocations: 237.5 kB / 0.9128 GB, free: 10.39 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004233/1.016, allocations: 0.7722 MB / 0.9135 GB, free: 9.617 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004424/1.02, allocations: 3.09 MB / 0.9165 GB, free: 6.391 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004208/1.024, allocations: 0.5331 MB / 0.9171 GB, free: 5.855 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008195/1.025, allocations: 107.9 kB / 0.9172 GB, free: 5.75 MB / 0.6511 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 (272): * Single equations (assignments): 271 * 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 {(2,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002978/1.028, allocations: 0.8929 MB / 0.918 GB, free: 4.848 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001165/1.029, allocations: 256.8 kB / 0.9183 GB, free: 4.594 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01463/1.044, allocations: 5.269 MB / 0.9234 GB, free: 15.25 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.789e-05/1.044, allocations: 28 kB / 0.9235 GB, free: 15.23 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.544e-05/1.044, allocations: 4 kB / 0.9235 GB, free: 15.22 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.85e-05/1.044, allocations: 15.94 kB / 0.9235 GB, free: 15.21 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02209/1.066, allocations: 8.815 MB / 0.9321 GB, free: 6.258 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.101e-05/1.066, allocations: 3.938 kB / 0.9321 GB, free: 6.254 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003816/1.07, allocations: 0.7176 MB / 0.9328 GB, free: 5.535 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009489/1.071, allocations: 268.4 kB / 0.933 GB, free: 5.266 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004588/1.072, allocations: 71.94 kB / 0.9331 GB, free: 5.195 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005392/1.077, allocations: 4.819 MB / 0.9378 GB, free: 88 kB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/1.077, allocations: 0 / 0.9378 GB, free: 88 kB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6984/1.775, allocations: 122.3 MB / 1.057 GB, free: 171.5 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001899/1.777, allocations: 0.7704 MB / 1.058 GB, free: 170.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004277/1.778, allocations: 55.84 kB / 1.058 GB, free: 170.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002637/1.78, allocations: 404.6 kB / 1.058 GB, free: 170.3 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003738/1.781, allocations: 165.9 kB / 1.059 GB, free: 170.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002046/1.781, allocations: 99.92 kB / 1.059 GB, free: 170 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.00179/1.783, allocations: 1.68 MB / 1.06 GB, free: 168.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.61e-07/1.783, allocations: 0 / 1.06 GB, free: 168.3 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004297/1.787, allocations: 1.494 MB / 1.062 GB, free: 166.8 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (thermalZoneOneElement.volAir.dynBal.U,thermalZoneOneElement.volAir.dynBal.m,thermalZoneOneElement.extWallRC.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 (251): * Single equations (assignments): 244 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,16,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.002335/1.789, allocations: 1.077 MB / 1.063 GB, free: 166.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.009625/1.799, allocations: 4.581 MB / 1.067 GB, free: 161.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/1.799, allocations: 0 / 1.067 GB, free: 161.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.00515/1.804, allocations: 2.608 MB / 1.07 GB, free: 159 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003057/1.807, allocations: 0.5858 MB / 1.07 GB, free: 158.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01549/1.823, allocations: 11.1 MB / 1.081 GB, free: 147.2 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001712/1.825, allocations: 2.454 MB / 1.084 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.006155/1.831, allocations: 1.406 MB / 1.085 GB, free: 143.3 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00242/1.833, allocations: 319.2 kB / 1.085 GB, free: 143 MB / 0.6823 GB Notification: Performance of SimCode: time 4.71e-07/1.833, allocations: 0 / 1.085 GB, free: 143 MB / 0.6823 GB Notification: Performance of Templates: time 0.1068/1.94, allocations: 91.34 MB / 1.175 GB, free: 51.84 MB / 0.6823 GB make -j1 -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.makefile (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.sim & ./IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe 2>&1)