Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.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.SimpleRoomThreeElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements") translateModel(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001208/0.001208, allocations: 183.2 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.7826/0.7826, 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.495/1.495, allocations: 222.9 MB / 403.3 MB, free: 7.066 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.001009/0.001009, allocations: 106 kB / 484.3 MB, free: 8.699 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001096/0.001097, allocations: 51.92 kB / 0.5618 GB, free: 71.06 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1755/0.1766, allocations: 80.21 MB / 0.6402 GB, free: 6.785 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements): time 0.517/0.6937, allocations: 159.4 MB / 0.7958 GB, free: 3.688 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.03613/0.7298, allocations: 26.87 MB / 0.822 GB, free: 8.75 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004126/0.734, allocations: 71.62 kB / 0.8221 GB, free: 8.68 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.003992/0.7381, allocations: 0.945 MB / 0.823 GB, free: 7.73 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.008309/0.7464, allocations: 1.591 MB / 0.8246 GB, free: 6.137 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.005616/0.7521, allocations: 1.588 MB / 0.8261 GB, free: 4.562 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.007756/0.7599, allocations: 5.501 MB / 0.8315 GB, free: 15.05 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006286/0.7662, allocations: 4.038 MB / 0.8354 GB, free: 10.95 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00377/0.77, allocations: 1.77 MB / 0.8372 GB, free: 9.168 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004266/0.7743, allocations: 2.437 MB / 0.8396 GB, free: 6.723 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.001159/0.7755, allocations: 264 kB / 0.8398 GB, free: 6.465 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002949/0.7784, allocations: 0.8585 MB / 0.8406 GB, free: 5.605 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.001206/0.7797, allocations: 0.9964 MB / 0.8416 GB, free: 4.605 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.002927/0.7826, allocations: 1.938 MB / 0.8435 GB, free: 2.656 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.007094/0.7897, allocations: 5.9 MB / 0.8493 GB, free: 12.74 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.7897, allocations: 0 / 0.8493 GB, free: 12.74 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.472e-06/0.7898, allocations: 0 / 0.8493 GB, free: 12.74 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0001996/0.79, allocations: 0 / 0.8493 GB, free: 12.74 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: 882 * Number of variables: 882 Notification: Performance of Generate backend data structure: time 0.011/0.801, allocations: 4.75 MB / 0.8539 GB, free: 7.918 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/0.801, allocations: 12.03 kB / 0.8539 GB, free: 7.906 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0135/0.8145, allocations: 2.788 MB / 0.8566 GB, free: 5.109 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005676/0.8202, allocations: 2.383 MB / 0.859 GB, free: 2.652 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000196/0.8205, allocations: 258.9 kB / 0.8592 GB, free: 2.398 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007791/0.8213, allocations: 336 kB / 0.8595 GB, free: 2.07 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01285/0.8341, allocations: 5.385 MB / 0.8648 GB, free: 12.61 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.361e-05/0.8342, allocations: 0 / 0.8648 GB, free: 12.61 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003892/0.8346, allocations: 151.9 kB / 0.8649 GB, free: 12.46 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.024e-05/0.8347, allocations: 84 kB / 0.865 GB, free: 12.38 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01711/0.8518, allocations: 6.524 MB / 0.8714 GB, free: 5.844 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.03159/0.8835, allocations: 15.71 MB / 0.8867 GB, free: 5.516 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009129/0.8926, allocations: 4.083 MB / 0.8907 GB, free: 1.418 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006656/0.8993, allocations: 2.655 MB / 0.8933 GB, free: 14.76 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001299/0.9007, allocations: 0.6697 MB / 0.894 GB, free: 13.96 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007045/0.9078, allocations: 2.573 MB / 0.8965 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=288): time 7.384e-06/0.9078, allocations: 0 / 0.8965 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of matching and sorting (n=288): time 0.02473/0.9325, allocations: 8.394 MB / 0.9047 GB, free: 2.832 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001424/0.9327, allocations: 214.2 kB / 0.9049 GB, free: 2.578 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004396/0.9371, allocations: 2.509 MB / 0.9073 GB, free: 48 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0005981/0.9378, allocations: 77.78 kB / 0.9074 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.001545/0.9393, allocations: 1.431 MB / 0.9088 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.001363/0.9407, allocations: 0.9586 MB / 0.9097 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001644/0.9424, allocations: 0.5088 MB / 0.9102 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.9425, allocations: 305.2 kB / 0.9105 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005027/0.9475, allocations: 2.058 MB / 0.9125 GB, free: 10.66 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005356/0.9529, allocations: 2.376 MB / 0.9149 GB, free: 8.215 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01029/0.9632, allocations: 4.428 MB / 0.9192 GB, free: 3.703 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.218e-05/0.9633, allocations: 4 kB / 0.9192 GB, free: 3.699 MB / 0.6511 GB Notification: Performance of matching and sorting (n=327) (initialization): time 0.01304/0.9763, allocations: 5.326 MB / 0.9244 GB, free: 14.32 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 3.147e-05/0.9764, allocations: 4.156 kB / 0.9244 GB, free: 14.32 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.034e-05/0.9764, allocations: 8 kB / 0.9244 GB, free: 14.31 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001285/0.9777, allocations: 0.5451 MB / 0.9249 GB, free: 13.77 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003942/0.9817, allocations: 0.7917 MB / 0.9257 GB, free: 12.97 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007577/0.9893, allocations: 5.28 MB / 0.9309 GB, free: 7.547 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004267/0.9936, allocations: 0.5645 MB / 0.9314 GB, free: 6.98 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007478/0.9943, allocations: 115.9 kB / 0.9315 GB, free: 6.867 MB / 0.6667 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 (282): * Single equations (assignments): 281 * 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 {(4,42,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002772/0.9971, allocations: 0.967 MB / 0.9325 GB, free: 5.891 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001175/0.9983, allocations: 284.4 kB / 0.9327 GB, free: 5.609 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01518/1.014, allocations: 5.893 MB / 0.9385 GB, free: 15.66 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.779e-05/1.014, allocations: 31.98 kB / 0.9385 GB, free: 15.62 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.859e-05/1.014, allocations: 12 kB / 0.9385 GB, free: 15.61 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.899e-05/1.014, allocations: 11.95 kB / 0.9385 GB, free: 15.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02323/1.037, allocations: 9.898 MB / 0.9482 GB, free: 5.582 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.328e-05/1.037, allocations: 0 / 0.9482 GB, free: 5.582 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003945/1.041, allocations: 0.7449 MB / 0.9489 GB, free: 4.836 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001528/1.042, allocations: 0.5293 MB / 0.9495 GB, free: 4.297 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005926/1.043, allocations: 79.94 kB / 0.9495 GB, free: 4.219 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3298/1.373, allocations: 6.946 MB / 0.9563 GB, free: 252 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/1.373, allocations: 0 / 0.9563 GB, free: 252 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3583/1.731, allocations: 129.4 MB / 1.083 GB, free: 144.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002245/1.734, allocations: 0.8404 MB / 1.083 GB, free: 143.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005486/1.734, allocations: 59.84 kB / 1.084 GB, free: 143.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003023/1.737, allocations: 428 kB / 1.084 GB, free: 143.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005041/1.738, allocations: 194 kB / 1.084 GB, free: 143.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002295/1.738, allocations: 103.9 kB / 1.084 GB, free: 143.2 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002102/1.74, allocations: 1.823 MB / 1.086 GB, free: 141.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.01e-07/1.74, allocations: 0 / 1.086 GB, free: 141.3 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.005036/1.745, allocations: 1.7 MB / 1.088 GB, free: 139.7 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (thermalZoneThreeElements.volAir.dynBal.U,thermalZoneThreeElements.volAir.dynBal.m,thermalZoneThreeElements.extWallRC.thermCapExt[1].T,thermalZoneThreeElements.intWallRC.thermCapInt[1].T,thermalZoneThreeElements.floorRC.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 (260): * Single equations (assignments): 253 * 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 {(4,36,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.002345/1.747, allocations: 1.08 MB / 1.089 GB, free: 139.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.01006/1.758, allocations: 5.089 MB / 1.094 GB, free: 133.9 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/1.758, allocations: 0 / 1.094 GB, free: 133.9 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.00559/1.763, allocations: 2.948 MB / 1.097 GB, free: 130.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003179/1.766, allocations: 0.677 MB / 1.097 GB, free: 130.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01673/1.783, allocations: 12.39 MB / 1.109 GB, free: 117.8 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002006/1.785, allocations: 2.647 MB / 1.112 GB, free: 115.1 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.006067/1.791, allocations: 1.436 MB / 1.113 GB, free: 113.7 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002379/1.794, allocations: 339.1 kB / 1.114 GB, free: 113.4 MB / 0.6823 GB Notification: Performance of SimCode: time 7.11e-07/1.794, allocations: 0 / 1.114 GB, free: 113.4 MB / 0.6823 GB Notification: Performance of Templates: time 0.1114/1.905, allocations: 99.71 MB / 1.211 GB, free: 13.89 MB / 0.6823 GB make -j1 -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.makefile (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.sim & ./IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe 2>&1)