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.001174/0.001174, allocations: 103.9 kB / 16.35 MB, free: 5.875 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.001151/0.001151, allocations: 191 kB / 17.29 MB, free: 5.516 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.314/1.314, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8423/0.8423, allocations: 132.2 MB / 423.3 MB, free: 6.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 59.89 kB / 0.5032 GB, free: 10.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3867/0.3879, allocations: 80.18 MB / 0.5815 GB, free: 27.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements): time 0.171/0.559, allocations: 161.7 MB / 0.7394 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4073/0.9663, allocations: 27.03 MB / 0.7658 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003399/0.9697, allocations: 81.34 kB / 0.7659 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002347/0.9722, allocations: 1.059 MB / 0.7669 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004746/0.9769, allocations: 1.759 MB / 0.7687 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004381/0.9813, allocations: 1.798 MB / 0.7704 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006167/0.9875, allocations: 5.222 MB / 0.7755 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005265/0.9928, allocations: 4.509 MB / 0.7799 GB, free: 1.012 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003392/0.9962, allocations: 2.125 MB / 0.782 GB, free: 1.012 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003343/0.9996, allocations: 2.606 MB / 0.7845 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0007269/1, allocations: 484.4 kB / 0.785 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002231/1.003, allocations: 1.083 MB / 0.7861 GB, free: 0.832 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0008481/1.003, allocations: 1.247 MB / 0.7873 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002308/1.006, allocations: 2.179 MB / 0.7894 GB, free: 52 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006142/1.012, allocations: 6.203 MB / 0.7955 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/1.012, allocations: 2.906 kB / 0.7955 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.543e-06/1.012, allocations: 4 kB / 0.7955 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.000164/1.012, allocations: 0 / 0.7955 GB, free: 15.22 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.009964/1.022, allocations: 4.757 MB / 0.8001 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/1.022, allocations: 10.88 kB / 0.8001 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01314/1.035, allocations: 2.787 MB / 0.8028 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005716/1.041, allocations: 2.405 MB / 0.8052 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001884/1.041, allocations: 257.9 kB / 0.8054 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007315/1.042, allocations: 334.7 kB / 0.8058 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01164/1.054, allocations: 5.385 MB / 0.811 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.421e-05/1.054, allocations: 5.188 kB / 0.811 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003903/1.054, allocations: 147.3 kB / 0.8112 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.184e-05/1.054, allocations: 83.06 kB / 0.8112 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01477/1.069, allocations: 6.528 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.0333/1.102, allocations: 15.61 MB / 0.8329 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009608/1.112, allocations: 4.074 MB / 0.8368 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006279/1.118, allocations: 2.649 MB / 0.8394 GB, free: 1.531 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001095/1.119, allocations: 0.6737 MB / 0.8401 GB, free: 0.7422 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006384/1.126, allocations: 2.576 MB / 0.8426 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=288): time 4.689e-06/1.126, allocations: 0 / 0.8426 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of matching and sorting (n=288): time 0.02321/1.149, allocations: 8.387 MB / 0.8508 GB, free: 5.652 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002237/1.149, allocations: 218.1 kB / 0.851 GB, free: 5.395 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004453/1.154, allocations: 2.516 MB / 0.8535 GB, free: 2.859 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0006255/1.154, allocations: 81.69 kB / 0.8535 GB, free: 2.773 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001598/1.156, allocations: 1.427 MB / 0.8549 GB, free: 1.332 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.001419/1.157, allocations: 0.9542 MB / 0.8559 GB, free: 396 kB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001144/1.159, allocations: 0.5166 MB / 0.8564 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001087/1.159, allocations: 301.1 kB / 0.8567 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005197/1.164, allocations: 2.054 MB / 0.8587 GB, free: 13.51 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005487/1.169, allocations: 2.379 MB / 0.861 GB, free: 11.06 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009953/1.179, allocations: 4.428 MB / 0.8653 GB, free: 6.559 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.365e-06/1.179, allocations: 0 / 0.8653 GB, free: 6.559 MB / 0.6387 GB Notification: Performance of matching and sorting (n=327) (initialization): time 0.01184/1.191, allocations: 5.326 MB / 0.8705 GB, free: 1.23 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.903e-05/1.191, allocations: 8 kB / 0.8705 GB, free: 1.223 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.431e-05/1.191, allocations: 4 kB / 0.8705 GB, free: 1.219 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001233/1.193, allocations: 0.5453 MB / 0.8711 GB, free: 0.6719 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003852/1.196, allocations: 0.7923 MB / 0.8718 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007664/1.204, allocations: 5.719 MB / 0.8774 GB, free: 10.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003755/1.208, allocations: 0.5425 MB / 0.8779 GB, free: 9.527 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003043/1.208, allocations: 115.9 kB / 0.878 GB, free: 9.414 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.002025/1.21, allocations: 0.982 MB / 0.879 GB, free: 8.449 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006352/1.211, allocations: 284.5 kB / 0.8793 GB, free: 8.168 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01279/1.224, allocations: 5.885 MB / 0.885 GB, free: 2.246 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.129e-05/1.224, allocations: 28 kB / 0.8851 GB, free: 2.219 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.304e-05/1.224, allocations: 11.98 kB / 0.8851 GB, free: 2.207 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.822e-05/1.224, allocations: 15.89 kB / 0.8851 GB, free: 2.191 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01857/1.242, allocations: 9.901 MB / 0.8947 GB, free: 8.266 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.668e-06/1.242, allocations: 0 / 0.8947 GB, free: 8.266 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003726/1.246, allocations: 0.7502 MB / 0.8955 GB, free: 7.539 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001346/1.247, allocations: 0.5215 MB / 0.896 GB, free: 7.008 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002823/1.248, allocations: 87.11 kB / 0.8961 GB, free: 6.926 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008269/1.256, allocations: 7.544 MB / 0.9034 GB, free: 15.11 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/1.256, allocations: 0 / 0.9034 GB, free: 15.11 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01743/1.273, allocations: 8.399 MB / 0.9116 GB, free: 6.645 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002172/1.276, allocations: 0.8443 MB / 0.9125 GB, free: 5.777 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005025/1.276, allocations: 59.89 kB / 0.9125 GB, free: 5.719 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002921/1.279, allocations: 395.4 kB / 0.9129 GB, free: 5.332 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000435/1.28, allocations: 190.1 kB / 0.9131 GB, free: 5.145 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002616/1.28, allocations: 99.94 kB / 0.9132 GB, free: 5.047 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002464/1.282, allocations: 1.834 MB / 0.915 GB, free: 3.203 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2e-07/1.282, allocations: 3.094 kB / 0.915 GB, free: 3.203 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002712/1.285, allocations: 1.114 MB / 0.9161 GB, free: 2.086 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.002345/1.287, allocations: 1.029 MB / 0.9171 GB, free: 1.504 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.01091/1.298, allocations: 5.111 MB / 0.9221 GB, free: 12.39 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/1.298, allocations: 0 / 0.9221 GB, free: 12.39 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.005846/1.304, allocations: 2.947 MB / 0.9249 GB, free: 9.465 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003296/1.308, allocations: 0.7289 MB / 0.9256 GB, free: 8.793 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01473/1.322, allocations: 8.269 MB / 0.9337 GB, free: 0.5039 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002347/1.325, allocations: 2.555 MB / 0.9362 GB, free: 13.92 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.004018/1.329, allocations: 1.125 MB / 0.9373 GB, free: 12.79 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001145/1.33, allocations: 271.3 kB / 0.9376 GB, free: 12.52 MB / 0.7169 GB Notification: Performance of SimCode: time 7.31e-07/1.33, allocations: 0 / 0.9376 GB, free: 12.52 MB / 0.7169 GB Notification: Performance of Templates: time 0.08128/1.411, allocations: 49.83 MB / 0.9862 GB, free: 11.21 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 cvode -lv LOG_STATS > IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe 2>&1)