Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements") translateModel(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_dev_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.00113/0.00113, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001392/0.001392, allocations: 192.7 kB / 16.25 MB, free: 6.625 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.413/1.413, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9661/0.9661, allocations: 135.1 MB / 425.2 MB, free: 11.87 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 67.97 kB / 0.5049 GB, free: 5.66 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2114/0.2127, allocations: 80.92 MB / 0.5839 GB, free: 4.906 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements): time 0.5933/0.806, allocations: 159.5 MB / 0.7396 GB, free: 9.441 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.03766/0.8438, allocations: 26.69 MB / 0.7657 GB, free: 3 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004906/0.8487, allocations: 71.62 kB / 0.7658 GB, free: 2.93 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00245/0.8512, allocations: 0.9489 MB / 0.7667 GB, free: 1.977 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00596/0.8572, allocations: 1.611 MB / 0.7683 GB, free: 372 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004707/0.8619, allocations: 1.611 MB / 0.7698 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00657/0.8685, allocations: 5.218 MB / 0.7749 GB, free: 9.555 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005715/0.8742, allocations: 4.527 MB / 0.7793 GB, free: 4.98 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004142/0.8784, allocations: 2.136 MB / 0.7814 GB, free: 2.84 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003726/0.8821, allocations: 2.643 MB / 0.784 GB, free: 192 kB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0009919/0.8831, allocations: 488 kB / 0.7845 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0025/0.8856, allocations: 1.062 MB / 0.7855 GB, free: 14.65 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001055/0.8867, allocations: 1.254 MB / 0.7867 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.00249/0.8892, allocations: 2.181 MB / 0.7889 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.006973/0.8962, allocations: 6.103 MB / 0.7948 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.074e-06/0.8962, allocations: 0 / 0.7948 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.703e-06/0.8962, allocations: 7.938 kB / 0.7948 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001116/0.8963, allocations: 0 / 0.7948 GB, free: 5.07 MB / 0.6075 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.01041/0.9068, allocations: 4.752 MB / 0.7995 GB, free: 256 kB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 7.798e-05/0.9069, allocations: 12.03 kB / 0.7995 GB, free: 244 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01375/0.9206, allocations: 2.784 MB / 0.8022 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004544/0.9252, allocations: 2.369 MB / 0.8045 GB, free: 11 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001794/0.9254, allocations: 258.9 kB / 0.8048 GB, free: 10.75 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005348/0.9259, allocations: 336 kB / 0.8051 GB, free: 10.42 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01102/0.9369, allocations: 5.385 MB / 0.8103 GB, free: 4.961 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.41e-05/0.937, allocations: 0 / 0.8103 GB, free: 4.961 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003502/0.9374, allocations: 151.9 kB / 0.8105 GB, free: 4.812 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-05/0.9375, allocations: 84 kB / 0.8106 GB, free: 4.73 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01418/0.9517, allocations: 6.524 MB / 0.8169 GB, free: 14.19 MB / 0.6387 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.0295/0.9812, allocations: 15.71 MB / 0.8323 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009311/0.9905, allocations: 4.088 MB / 0.8363 GB, free: 9.773 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005572/0.9961, allocations: 2.663 MB / 0.8389 GB, free: 7.102 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001147/0.9973, allocations: 0.6619 MB / 0.8395 GB, free: 6.309 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006092/1.003, allocations: 2.569 MB / 0.842 GB, free: 3.699 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=288): time 6.743e-06/1.003, allocations: 4 kB / 0.842 GB, free: 3.695 MB / 0.6544 GB Notification: Performance of matching and sorting (n=288): time 0.02221/1.026, allocations: 8.394 MB / 0.8502 GB, free: 11.18 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001301/1.026, allocations: 214.2 kB / 0.8504 GB, free: 10.93 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004742/1.031, allocations: 2.513 MB / 0.8529 GB, free: 8.395 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0003947/1.031, allocations: 77.64 kB / 0.853 GB, free: 8.312 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001577/1.033, allocations: 1.428 MB / 0.8544 GB, free: 6.867 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001152/1.034, allocations: 0.9704 MB / 0.8553 GB, free: 5.883 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001314/1.035, allocations: 0.5088 MB / 0.8558 GB, free: 5.367 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001094/1.035, allocations: 301.1 kB / 0.8561 GB, free: 5.07 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004969/1.04, allocations: 2.054 MB / 0.8581 GB, free: 3.012 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00509/1.045, allocations: 2.368 MB / 0.8604 GB, free: 0.5703 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4404/1.486, allocations: 4.432 MB / 0.8647 GB, free: 214.3 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.071e-05/1.486, allocations: 0 / 0.8647 GB, free: 214.3 MB / 0.67 GB Notification: Performance of matching and sorting (n=327) (initialization): time 0.01098/1.497, allocations: 5.325 MB / 0.8699 GB, free: 213 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.323e-05/1.497, allocations: 6.312 kB / 0.8699 GB, free: 213 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.577e-05/1.497, allocations: 3 kB / 0.8699 GB, free: 213 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001193/1.498, allocations: 0.5474 MB / 0.8705 GB, free: 212.8 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003674/1.502, allocations: 0.7954 MB / 0.8713 GB, free: 212.8 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006684/1.508, allocations: 5.719 MB / 0.8768 GB, free: 209.5 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004069/1.513, allocations: 0.5647 MB / 0.8774 GB, free: 209.5 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003404/1.513, allocations: 116.4 kB / 0.8775 GB, free: 209.4 MB / 0.67 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.002221/1.515, allocations: 0.9744 MB / 0.8785 GB, free: 209 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007065/1.516, allocations: 288.8 kB / 0.8787 GB, free: 208.9 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01228/1.528, allocations: 5.884 MB / 0.8845 GB, free: 207 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.392e-05/1.528, allocations: 36.41 kB / 0.8845 GB, free: 207 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.425e-05/1.528, allocations: 8.828 kB / 0.8845 GB, free: 207 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.803e-05/1.528, allocations: 13.36 kB / 0.8845 GB, free: 207 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02057/1.549, allocations: 9.883 MB / 0.8942 GB, free: 203.5 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.127e-05/1.549, allocations: 4 kB / 0.8942 GB, free: 203.5 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00409/1.553, allocations: 0.7481 MB / 0.8949 GB, free: 203.4 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001847/1.555, allocations: 0.5295 MB / 0.8954 GB, free: 203.3 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004681/1.555, allocations: 84.08 kB / 0.8955 GB, free: 203.2 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008818/1.564, allocations: 7.549 MB / 0.9029 GB, free: 197.8 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/1.564, allocations: 1.031 kB / 0.9029 GB, free: 197.8 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02067/1.585, allocations: 8.383 MB / 0.9111 GB, free: 194.8 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002511/1.587, allocations: 0.8481 MB / 0.9119 GB, free: 194.4 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005289/1.588, allocations: 64 kB / 0.912 GB, free: 194.3 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00323/1.591, allocations: 425.3 kB / 0.9124 GB, free: 194.3 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005972/1.592, allocations: 194 kB / 0.9126 GB, free: 194.2 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002736/1.592, allocations: 107.3 kB / 0.9127 GB, free: 194.2 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002969/1.595, allocations: 1.828 MB / 0.9144 GB, free: 193.6 MB / 0.67 GB Notification: Performance of sort global known variables: time 4.7e-07/1.595, allocations: 0 / 0.9144 GB, free: 193.6 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003862/1.599, allocations: 1.105 MB / 0.9155 GB, free: 193.3 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 (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.002602/1.602, allocations: 1.031 MB / 0.9165 GB, free: 193 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.02244/1.624, allocations: 8.619 MB / 0.9249 GB, free: 191.4 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.051e-05/1.624, allocations: 3.875 kB / 0.9249 GB, free: 191.4 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.006337/1.63, allocations: 2.95 MB / 0.9278 GB, free: 190.3 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003875/1.634, allocations: 0.7178 MB / 0.9285 GB, free: 190 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01474/1.649, allocations: 9.902 MB / 0.9382 GB, free: 183.2 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001781/1.651, allocations: 2.549 MB / 0.9407 GB, free: 181.2 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.004369/1.655, allocations: 1.135 MB / 0.9418 GB, free: 180.3 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00106/1.656, allocations: 267.3 kB / 0.9421 GB, free: 180 MB / 0.67 GB Notification: Performance of SimCode: time 6.71e-07/1.656, allocations: 4 kB / 0.9421 GB, free: 180 MB / 0.67 GB Notification: Performance of Templates: time 0.07753/1.734, allocations: 49.56 MB / 0.9905 GB, free: 130.8 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.makefile (rm -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; mkfifo IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe >> ../files/IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.sim & ./IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe 2>&1)