Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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.SimpleRoomOneElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement") translateModel(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009126/0.0009126, allocations: 86.33 kB / 15.06 MB, free: 1.09 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.0008711/0.0008711, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 223.3 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.018/1.018, allocations: 135.3 MB / 426.4 MB, free: 14.34 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003755/0.0003757, allocations: 12 kB / 0.507 GB, free: 5.16 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2091/0.2095, allocations: 82.31 MB / 0.5874 GB, free: 3.02 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.5684/0.778, allocations: 145.1 MB / 0.7291 GB, free: 4.398 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.03682/0.8148, allocations: 24.73 MB / 0.7532 GB, free: 1.941 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005428/0.8203, allocations: 62.12 kB / 0.7533 GB, free: 1.918 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00336/0.8237, allocations: 0.8417 MB / 0.7541 GB, free: 1.367 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006087/0.8298, allocations: 1.358 MB / 0.7554 GB, free: 372 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004957/0.8348, allocations: 1.188 MB / 0.7566 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0084/0.8432, allocations: 4.236 MB / 0.7607 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004808/0.848, allocations: 2.826 MB / 0.7635 GB, free: 8.098 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002477/0.8505, allocations: 1.283 MB / 0.7648 GB, free: 6.809 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002721/0.8533, allocations: 1.704 MB / 0.7664 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003685/0.8536, allocations: 100 kB / 0.7665 GB, free: 5 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001897/0.8556, allocations: 0.5931 MB / 0.7671 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006846/0.8562, allocations: 0.6807 MB / 0.7678 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0008184/0.8571, allocations: 0.6013 MB / 0.7683 GB, free: 3.113 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004563/0.8616, allocations: 4.123 MB / 0.7724 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.8617, allocations: 3.938 kB / 0.7724 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.214e-06/0.8617, allocations: 0 / 0.7724 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001394/0.8618, allocations: 0 / 0.7724 GB, free: 14.98 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: 790 * Number of variables: 790 Notification: Performance of Generate backend data structure: time 0.008228/0.8701, allocations: 3.691 MB / 0.776 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.8701, allocations: 12.03 kB / 0.776 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01278/0.8829, allocations: 2.866 MB / 0.7788 GB, free: 8.332 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005429/0.8884, allocations: 2.107 MB / 0.7809 GB, free: 6.176 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002026/0.8886, allocations: 234.2 kB / 0.7811 GB, free: 5.945 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007086/0.8893, allocations: 304 kB / 0.7814 GB, free: 5.648 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01181/0.9012, allocations: 4.987 MB / 0.7862 GB, free: 0.5781 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.955e-05/0.9012, allocations: 0 / 0.7862 GB, free: 0.5781 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003398/0.9016, allocations: 128 kB / 0.7864 GB, free: 464 kB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.378e-05/0.9017, allocations: 76 kB / 0.7864 GB, free: 388 kB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01457/0.9162, allocations: 6.173 MB / 0.7925 GB, free: 10.19 MB / 0.6075 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.03318/0.9495, allocations: 13.65 MB / 0.8058 GB, free: 12.1 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01065/0.9602, allocations: 4.348 MB / 0.81 GB, free: 7.754 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005376/0.9656, allocations: 2.312 MB / 0.8123 GB, free: 5.445 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001154/0.9668, allocations: 0.6695 MB / 0.8129 GB, free: 4.645 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006106/0.9729, allocations: 2.366 MB / 0.8153 GB, free: 2.242 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=257): time 4.999e-06/0.9729, allocations: 0 / 0.8153 GB, free: 2.242 MB / 0.6231 GB Notification: Performance of matching and sorting (n=257): time 0.01859/0.9915, allocations: 6.935 MB / 0.822 GB, free: 11.18 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001414/0.9917, allocations: 217.9 kB / 0.8222 GB, free: 10.93 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004879/0.9966, allocations: 2.291 MB / 0.8245 GB, free: 8.602 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0004873/0.9971, allocations: 69.7 kB / 0.8245 GB, free: 8.527 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001768/0.9989, allocations: 1.294 MB / 0.8258 GB, free: 7.215 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.001562/1, allocations: 0.851 MB / 0.8266 GB, free: 6.352 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004074/1.001, allocations: 44 kB / 0.8267 GB, free: 6.309 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000392/1.001, allocations: 402.6 kB / 0.8271 GB, free: 5.91 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004725/1.006, allocations: 1.893 MB / 0.8289 GB, free: 4.012 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005367/1.011, allocations: 2.181 MB / 0.831 GB, free: 1.754 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004974/1.016, allocations: 2.026 MB / 0.833 GB, free: 15.7 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.149e-05/1.016, allocations: 4 kB / 0.833 GB, free: 15.7 MB / 0.6544 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.0117/1.028, allocations: 4.699 MB / 0.8376 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.233e-05/1.028, allocations: 8 kB / 0.8376 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.814e-05/1.028, allocations: 4 kB / 0.8376 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000703/1.029, allocations: 237.9 kB / 0.8379 GB, free: 10.7 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003933/1.033, allocations: 0.7799 MB / 0.8386 GB, free: 9.922 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004439/1.037, allocations: 3.103 MB / 0.8416 GB, free: 6.684 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003747/1.041, allocations: 0.5403 MB / 0.8422 GB, free: 6.141 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005321/1.042, allocations: 103.9 kB / 0.8423 GB, free: 6.039 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 ($whenCondition1,$PRE.intGai.nextTimeEvent,$whenCondition3,$whenCondition2,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,intGai.nextTimeEvent,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEventScaled,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002712/1.044, allocations: 0.8914 MB / 0.8431 GB, free: 5.137 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009552/1.045, allocations: 260.7 kB / 0.8434 GB, free: 4.879 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01384/1.059, allocations: 5.282 MB / 0.8485 GB, free: 15.53 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.749e-05/1.059, allocations: 27.95 kB / 0.8486 GB, free: 15.5 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.95e-05/1.059, allocations: 4 kB / 0.8486 GB, free: 15.5 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.302e-05/1.059, allocations: 11.95 kB / 0.8486 GB, free: 15.48 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02101/1.08, allocations: 8.826 MB / 0.8572 GB, free: 6.523 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.307e-06/1.08, allocations: 0 / 0.8572 GB, free: 6.523 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003459/1.084, allocations: 0.7177 MB / 0.8579 GB, free: 5.805 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008645/1.085, allocations: 268.7 kB / 0.8582 GB, free: 5.535 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003035/1.085, allocations: 75.94 kB / 0.8582 GB, free: 5.461 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005473/1.091, allocations: 4.791 MB / 0.8629 GB, free: 392 kB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.686e-06/1.091, allocations: 3.938 kB / 0.8629 GB, free: 388 kB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4458/1.536, allocations: 7.508 MB / 0.8703 GB, free: 212.2 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001814/1.538, allocations: 0.8165 MB / 0.8711 GB, free: 212 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004615/1.539, allocations: 61.56 kB / 0.8711 GB, free: 212 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002525/1.541, allocations: 415 kB / 0.8715 GB, free: 211.9 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003289/1.542, allocations: 164.7 kB / 0.8717 GB, free: 211.9 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002053/1.542, allocations: 95.23 kB / 0.8718 GB, free: 211.9 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002145/1.544, allocations: 1.666 MB / 0.8734 GB, free: 211.3 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.3e-07/1.544, allocations: 0.5469 kB / 0.8734 GB, free: 211.3 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002746/1.547, allocations: 0.9733 MB / 0.8743 GB, free: 211.1 MB / 0.67 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 16,(1,100.0%) 3} * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002326/1.549, allocations: 1.011 MB / 0.8753 GB, free: 210.9 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01113/1.56, allocations: 4.577 MB / 0.8798 GB, free: 209.6 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.186e-05/1.56, allocations: 9.25 kB / 0.8798 GB, free: 209.6 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.005303/1.566, allocations: 2.611 MB / 0.8823 GB, free: 208.7 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003551/1.569, allocations: 0.5758 MB / 0.8829 GB, free: 208.5 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01647/1.586, allocations: 8.771 MB / 0.8915 GB, free: 204.3 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002407/1.588, allocations: 2.371 MB / 0.8938 GB, free: 203.3 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.00525/1.593, allocations: 1.099 MB / 0.8949 GB, free: 203.1 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001604/1.595, allocations: 257.2 kB / 0.8951 GB, free: 203.1 MB / 0.67 GB Notification: Performance of SimCode: time 1.964e-06/1.595, allocations: 4 kB / 0.8951 GB, free: 203.1 MB / 0.67 GB Notification: Performance of Templates: time 0.08433/1.679, allocations: 40.18 MB / 0.9343 GB, free: 189.4 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.makefile (rm -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; mkfifo IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe >> ../files/IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.sim & ./IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe 2>&1)