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-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.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.001073/0.001073, allocations: 99.08 kB / 15.05 MB, free: 1.105 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.001031/0.001031, allocations: 177.3 kB / 15.94 MB, free: 220 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.219/1.219, allocations: 223.2 MB / 239.9 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8648/0.8648, allocations: 135.2 MB / 426.2 MB, free: 14.4 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003266/0.0003267, allocations: 8 kB / 0.5068 GB, free: 5.238 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1715/0.1718, allocations: 82.31 MB / 0.5872 GB, free: 3.102 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements): time 0.4272/0.5991, allocations: 136.7 MB / 0.7207 GB, free: 11.21 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.03219/0.6313, allocations: 23.02 MB / 0.7431 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003689/0.6351, allocations: 71.53 kB / 0.7432 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003022/0.6381, allocations: 0.9859 MB / 0.7442 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00762/0.6458, allocations: 2.225 MB / 0.7463 GB, free: 8.875 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.005763/0.6515, allocations: 1.73 MB / 0.748 GB, free: 7.371 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.006041/0.6576, allocations: 3.177 MB / 0.7511 GB, free: 4.195 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004305/0.6619, allocations: 3.125 MB / 0.7542 GB, free: 1.031 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00249/0.6644, allocations: 1.389 MB / 0.7555 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002717/0.6671, allocations: 1.743 MB / 0.7573 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000604/0.6678, allocations: 120 kB / 0.7574 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001955/0.6697, allocations: 0.5892 MB / 0.7579 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006583/0.6704, allocations: 0.7549 MB / 0.7587 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006372/0.671, allocations: 0.6831 MB / 0.7593 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004027/0.6751, allocations: 4.672 MB / 0.7639 GB, free: 7.047 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.6751, allocations: 4 kB / 0.7639 GB, free: 7.043 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.964e-06/0.6751, allocations: 0 / 0.7639 GB, free: 7.043 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.576e-05/0.6752, allocations: 0 / 0.7639 GB, free: 7.043 MB / 0.5762 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.007713/0.6829, allocations: 4.059 MB / 0.7679 GB, free: 2.918 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.683, allocations: 8.031 kB / 0.7679 GB, free: 2.91 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01686/0.6998, allocations: 2.912 MB / 0.7707 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006785/0.7066, allocations: 2.246 MB / 0.7729 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002966/0.707, allocations: 258.9 kB / 0.7732 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001296/0.7083, allocations: 348 kB / 0.7735 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01553/0.7238, allocations: 5.377 MB / 0.7788 GB, free: 7.625 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.316e-05/0.7239, allocations: 4 kB / 0.7788 GB, free: 7.621 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003724/0.7243, allocations: 140 kB / 0.7789 GB, free: 7.484 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.708e-05/0.7244, allocations: 87.98 kB / 0.779 GB, free: 7.398 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01395/0.7383, allocations: 6.595 MB / 0.7854 GB, free: 0.793 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.02812/0.7665, allocations: 15.77 MB / 0.8008 GB, free: 424 kB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00835/0.7749, allocations: 4.065 MB / 0.8048 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009528/0.7759, allocations: 0.6775 MB / 0.8054 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005483/0.7814, allocations: 2.554 MB / 0.8079 GB, free: 8.945 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=288): time 5.971e-06/0.7814, allocations: 7.875 kB / 0.8079 GB, free: 8.938 MB / 0.6231 GB Notification: Performance of matching and sorting (n=288): time 0.0209/0.8023, allocations: 8.342 MB / 0.8161 GB, free: 484 kB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001326/0.8025, allocations: 214.2 kB / 0.8163 GB, free: 224 kB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003894/0.8064, allocations: 2.517 MB / 0.8188 GB, free: 13.68 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0005922/0.807, allocations: 77.7 kB / 0.8188 GB, free: 13.6 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001274/0.8083, allocations: 1.435 MB / 0.8202 GB, free: 12.14 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.001295/0.8096, allocations: 0.9548 MB / 0.8212 GB, free: 11.18 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003573/0.81, allocations: 52 kB / 0.8212 GB, free: 11.12 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002704/0.8103, allocations: 403 kB / 0.8216 GB, free: 10.73 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004534/0.8148, allocations: 2.042 MB / 0.8236 GB, free: 8.68 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004763/0.8196, allocations: 2.348 MB / 0.8259 GB, free: 6.246 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004833/0.8245, allocations: 2.204 MB / 0.828 GB, free: 4.023 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.665e-06/0.8245, allocations: 0 / 0.828 GB, free: 4.023 MB / 0.6387 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.01248/0.837, allocations: 5.266 MB / 0.8332 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.479e-05/0.837, allocations: 8 kB / 0.8332 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.967e-05/0.8371, allocations: 112 / 0.8332 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001357/0.8384, allocations: 0.5466 MB / 0.8337 GB, free: 14.15 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003841/0.8423, allocations: 0.7878 MB / 0.8345 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007312/0.8496, allocations: 5.46 MB / 0.8398 GB, free: 7.762 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00349/0.8531, allocations: 0.5674 MB / 0.8404 GB, free: 7.191 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003918/0.8535, allocations: 107.9 kB / 0.8405 GB, free: 7.086 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: 11 ($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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (274): * Single equations (assignments): 273 * 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 {(4,100.0%) 42} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002038/0.8556, allocations: 0.97 MB / 0.8414 GB, free: 6.105 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006707/0.8563, allocations: 284.4 kB / 0.8417 GB, free: 5.824 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01251/0.8688, allocations: 5.911 MB / 0.8475 GB, free: 15.85 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.192e-05/0.8688, allocations: 28 kB / 0.8475 GB, free: 15.82 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.507e-05/0.8688, allocations: 8 kB / 0.8475 GB, free: 15.82 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.772e-05/0.8689, allocations: 23.89 kB / 0.8475 GB, free: 15.79 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01815/0.887, allocations: 9.902 MB / 0.8572 GB, free: 5.762 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/0.8871, allocations: 0 / 0.8572 GB, free: 5.762 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003409/0.8905, allocations: 0.7605 MB / 0.8579 GB, free: 5 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001361/0.8919, allocations: 0.5223 MB / 0.8584 GB, free: 4.469 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002667/0.8922, allocations: 71.94 kB / 0.8585 GB, free: 4.398 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2842/1.176, allocations: 7.107 MB / 0.8655 GB, free: 209.5 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/1.176, allocations: 0 / 0.8655 GB, free: 209.5 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01591/1.192, allocations: 8.388 MB / 0.8736 GB, free: 208.5 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001891/1.194, allocations: 0.8947 MB / 0.8745 GB, free: 208.1 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006573/1.195, allocations: 56.19 kB / 0.8746 GB, free: 208 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003032/1.198, allocations: 437.4 kB / 0.875 GB, free: 208 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003889/1.198, allocations: 189.5 kB / 0.8752 GB, free: 208 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002393/1.199, allocations: 103.1 kB / 0.8753 GB, free: 207.9 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002436/1.201, allocations: 1.827 MB / 0.8771 GB, free: 207.3 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.7e-07/1.201, allocations: 0 / 0.8771 GB, free: 207.3 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002953/1.204, allocations: 1.114 MB / 0.8781 GB, free: 207.1 MB / 0.67 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 (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 {(4,100.0%) 36,(1,100.0%) 3} * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002143/1.206, allocations: 1.03 MB / 0.8791 GB, free: 206.9 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.009344/1.216, allocations: 5.056 MB / 0.8841 GB, free: 205.3 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/1.216, allocations: 6.375 kB / 0.8841 GB, free: 205.3 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.005112/1.221, allocations: 2.948 MB / 0.887 GB, free: 204.2 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003081/1.224, allocations: 0.6139 MB / 0.8876 GB, free: 204 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01711/1.241, allocations: 9.713 MB / 0.8971 GB, free: 199.4 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003526/1.244, allocations: 2.622 MB / 0.8996 GB, free: 198.4 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.005208/1.25, allocations: 1.13 MB / 0.9007 GB, free: 198.1 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001509/1.251, allocations: 270.8 kB / 0.901 GB, free: 198.1 MB / 0.67 GB Notification: Performance of SimCode: time 9.91e-07/1.251, allocations: 0 / 0.901 GB, free: 198.1 MB / 0.67 GB Notification: Performance of Templates: time 0.07498/1.326, allocations: 46.34 MB / 0.9462 GB, free: 175.4 MB / 0.67 GB make -j1 -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: