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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 108.8 kB / 16.37 MB, free: 6.465 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.001202/0.001202, allocations: 193.1 kB / 17.31 MB, free: 5.816 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7809/0.7809, allocations: 132.2 MB / 423.4 MB, free: 6.598 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 55.91 kB / 0.5032 GB, free: 10.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3333/0.3346, allocations: 80.18 MB / 0.5815 GB, free: 27.54 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements): time 0.1579/0.4926, allocations: 161.7 MB / 0.7394 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3389/0.8315, allocations: 27.04 MB / 0.7658 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002485/0.834, allocations: 82.38 kB / 0.7659 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001931/0.836, allocations: 1.06 MB / 0.767 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004034/0.84, allocations: 1.754 MB / 0.7687 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003883/0.8439, allocations: 1.807 MB / 0.7704 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005638/0.8496, allocations: 5.22 MB / 0.7755 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00517/0.8548, allocations: 4.508 MB / 0.7799 GB, free: 17 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003189/0.858, allocations: 2.128 MB / 0.782 GB, free: 17 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00272/0.8607, allocations: 2.595 MB / 0.7845 GB, free: 16.84 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0005952/0.8613, allocations: 487.7 kB / 0.785 GB, free: 16.84 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001938/0.8633, allocations: 1.084 MB / 0.7861 GB, free: 16.82 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0007941/0.8641, allocations: 1.251 MB / 0.7873 GB, free: 16.66 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001881/0.866, allocations: 2.176 MB / 0.7894 GB, free: 16.04 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.005532/0.8715, allocations: 6.206 MB / 0.7955 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.8715, allocations: 0 / 0.7955 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.823e-06/0.8715, allocations: 2.375 kB / 0.7955 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001178/0.8717, allocations: 1.594 kB / 0.7955 GB, free: 15.21 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: 882 * Number of variables: 882 Notification: Performance of Generate backend data structure: time 0.009282/0.8809, allocations: 4.747 MB / 0.8001 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.881, allocations: 16 kB / 0.8001 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01284/0.8938, allocations: 2.794 MB / 0.8029 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004576/0.8984, allocations: 2.401 MB / 0.8052 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001425/0.8986, allocations: 255.1 kB / 0.8054 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005852/0.8992, allocations: 339.4 kB / 0.8058 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01082/0.91, allocations: 5.382 MB / 0.811 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.481e-05/0.9101, allocations: 2.5 kB / 0.811 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003744/0.9105, allocations: 148.6 kB / 0.8112 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.511e-05/0.9106, allocations: 82.44 kB / 0.8113 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01444/0.925, allocations: 6.525 MB / 0.8176 GB, free: 7.336 MB / 0.5919 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.02734/0.9524, allocations: 15.61 MB / 0.8329 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008587/0.961, allocations: 4.074 MB / 0.8368 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005245/0.9663, allocations: 2.655 MB / 0.8394 GB, free: 1.547 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009215/0.9672, allocations: 0.6749 MB / 0.8401 GB, free: 0.7578 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005387/0.9726, allocations: 2.575 MB / 0.8426 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=288): time 4.619e-06/0.9726, allocations: 0 / 0.8426 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of matching and sorting (n=288): time 0.02082/0.9934, allocations: 8.389 MB / 0.8508 GB, free: 5.668 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001079/0.9936, allocations: 214.2 kB / 0.851 GB, free: 5.414 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003315/0.9969, allocations: 2.513 MB / 0.8535 GB, free: 2.879 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0002829/0.9972, allocations: 81.64 kB / 0.8535 GB, free: 2.793 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001236/0.9984, allocations: 1.431 MB / 0.8549 GB, free: 1.348 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008599/0.9993, allocations: 0.9557 MB / 0.8559 GB, free: 412 kB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009842/1, allocations: 0.5088 MB / 0.8564 GB, free: 15.89 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 8.792e-05/1, allocations: 305.1 kB / 0.8567 GB, free: 15.59 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004615/1.005, allocations: 2.058 MB / 0.8587 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004902/1.01, allocations: 2.372 MB / 0.861 GB, free: 11.08 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009556/1.019, allocations: 4.434 MB / 0.8653 GB, free: 6.578 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/1.02, allocations: 0 / 0.8653 GB, free: 6.578 MB / 0.6387 GB Notification: Performance of matching and sorting (n=327) (initialization): time 0.01185/1.031, allocations: 5.323 MB / 0.8705 GB, free: 1.25 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.414e-05/1.031, allocations: 8 kB / 0.8705 GB, free: 1.242 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.498e-05/1.031, allocations: 11.03 kB / 0.8705 GB, free: 1.234 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001258/1.033, allocations: 0.5453 MB / 0.8711 GB, free: 0.6875 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003936/1.037, allocations: 0.7923 MB / 0.8718 GB, free: 15.92 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007722/1.044, allocations: 5.719 MB / 0.8774 GB, free: 10.08 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003602/1.048, allocations: 0.5465 MB / 0.878 GB, free: 9.535 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003099/1.048, allocations: 115.9 kB / 0.8781 GB, free: 9.422 MB / 0.6544 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.00196/1.05, allocations: 0.9743 MB / 0.879 GB, free: 8.465 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005742/1.051, allocations: 284.5 kB / 0.8793 GB, free: 8.184 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01311/1.064, allocations: 5.889 MB / 0.885 GB, free: 2.258 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-05/1.064, allocations: 32 kB / 0.8851 GB, free: 2.227 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.028e-05/1.064, allocations: 4 kB / 0.8851 GB, free: 2.223 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.689e-05/1.064, allocations: 15.89 kB / 0.8851 GB, free: 2.207 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01916/1.083, allocations: 9.901 MB / 0.8948 GB, free: 8.285 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.033e-05/1.083, allocations: 4 kB / 0.8948 GB, free: 8.281 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003848/1.087, allocations: 0.7503 MB / 0.8955 GB, free: 7.555 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001384/1.089, allocations: 0.5216 MB / 0.896 GB, free: 7.023 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002806/1.089, allocations: 79.92 kB / 0.8961 GB, free: 6.945 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008486/1.097, allocations: 7.55 MB / 0.9035 GB, free: 15.12 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/1.097, allocations: 0 / 0.9035 GB, free: 15.12 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01744/1.115, allocations: 8.399 MB / 0.9117 GB, free: 6.66 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002056/1.117, allocations: 0.8443 MB / 0.9125 GB, free: 5.793 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006378/1.118, allocations: 63.89 kB / 0.9125 GB, free: 5.73 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003198/1.121, allocations: 391.4 kB / 0.9129 GB, free: 5.348 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004269/1.121, allocations: 190.1 kB / 0.9131 GB, free: 5.16 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002753/1.121, allocations: 100.1 kB / 0.9132 GB, free: 5.062 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002482/1.124, allocations: 1.834 MB / 0.915 GB, free: 3.219 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.1e-07/1.124, allocations: 4 kB / 0.915 GB, free: 3.215 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002755/1.127, allocations: 1.11 MB / 0.9161 GB, free: 2.102 MB / 0.6856 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.002382/1.129, allocations: 1.024 MB / 0.9171 GB, free: 1.527 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.01118/1.14, allocations: 5.11 MB / 0.9221 GB, free: 12.42 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/1.14, allocations: 8.125 kB / 0.9221 GB, free: 12.41 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.005997/1.146, allocations: 2.939 MB / 0.9249 GB, free: 9.488 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003191/1.15, allocations: 0.732 MB / 0.9257 GB, free: 8.812 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01525/1.165, allocations: 8.274 MB / 0.9337 GB, free: 0.5156 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002536/1.167, allocations: 2.551 MB / 0.9362 GB, free: 13.94 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.00391/1.171, allocations: 1.138 MB / 0.9373 GB, free: 12.8 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001209/1.172, allocations: 263.3 kB / 0.9376 GB, free: 12.54 MB / 0.7169 GB Notification: Performance of SimCode: time 6.21e-07/1.173, allocations: 4 kB / 0.9376 GB, free: 12.54 MB / 0.7169 GB Notification: Performance of Templates: time 0.07642/1.249, allocations: 49.82 MB / 0.9862 GB, free: 11.23 MB / 0.7637 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 -s gbode -lv LOG_STATS > IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe 2>&1)