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.001263/0.001264, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.323/1.323, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7565/0.7565, allocations: 132.2 MB / 422.6 MB, free: 1.766 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 60.19 kB / 0.5018 GB, free: 3.875 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4424/0.4438, allocations: 80.21 MB / 0.5801 GB, free: 4.543 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements): time 0.1818/0.6256, allocations: 161.7 MB / 0.738 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.03695/0.6625, allocations: 27.04 MB / 0.7644 GB, free: 4.086 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003478/0.6661, allocations: 91.44 kB / 0.7645 GB, free: 3.996 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002713/0.6688, allocations: 1.064 MB / 0.7656 GB, free: 2.926 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005609/0.6745, allocations: 1.752 MB / 0.7673 GB, free: 1.168 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004836/0.6793, allocations: 1.787 MB / 0.769 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.006523/0.6858, allocations: 5.213 MB / 0.7741 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006139/0.692, allocations: 4.497 MB / 0.7785 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004004/0.696, allocations: 2.128 MB / 0.7806 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003941/0.7, allocations: 2.585 MB / 0.7831 GB, free: 0.8789 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001407/0.7014, allocations: 484 kB / 0.7836 GB, free: 416 kB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002876/0.7043, allocations: 1.073 MB / 0.7846 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001709/0.706, allocations: 1.235 MB / 0.7858 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.003954/0.71, allocations: 2.185 MB / 0.7879 GB, free: 11.9 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.008106/0.7181, allocations: 6.107 MB / 0.7939 GB, free: 5.77 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.7182, allocations: 0 / 0.7939 GB, free: 5.77 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.343e-06/0.7182, allocations: 0 / 0.7939 GB, free: 5.77 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0001867/0.7184, allocations: 0 / 0.7939 GB, free: 5.77 MB / 0.6231 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.01321/0.7316, allocations: 4.736 MB / 0.7985 GB, free: 0.9648 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.7316, allocations: 8.031 kB / 0.7985 GB, free: 0.957 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01405/0.7457, allocations: 2.791 MB / 0.8013 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005415/0.7511, allocations: 2.35 MB / 0.8036 GB, free: 11.73 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002857/0.7514, allocations: 254.9 kB / 0.8038 GB, free: 11.48 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001404/0.7529, allocations: 339.9 kB / 0.8041 GB, free: 11.15 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01406/0.7669, allocations: 5.389 MB / 0.8094 GB, free: 5.688 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.995e-05/0.767, allocations: 8 kB / 0.8094 GB, free: 5.68 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003962/0.7674, allocations: 136 kB / 0.8095 GB, free: 5.547 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.073e-05/0.7675, allocations: 91.98 kB / 0.8096 GB, free: 5.457 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3138/1.081, allocations: 6.523 MB / 0.816 GB, free: 214.7 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.03301/1.114, allocations: 15.74 MB / 0.8314 GB, free: 206.6 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008801/1.123, allocations: 4.072 MB / 0.8353 GB, free: 204.6 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005352/1.129, allocations: 2.663 MB / 0.8379 GB, free: 203.3 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009357/1.13, allocations: 0.6737 MB / 0.8386 GB, free: 202.6 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005493/1.135, allocations: 2.567 MB / 0.8411 GB, free: 201.1 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=288): time 6.943e-06/1.135, allocations: 1.156 kB / 0.8411 GB, free: 201.1 MB / 0.6387 GB Notification: Performance of matching and sorting (n=288): time 0.01923/1.154, allocations: 8.385 MB / 0.8493 GB, free: 196.7 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.659e-05/1.154, allocations: 217.2 kB / 0.8495 GB, free: 196.5 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002824/1.157, allocations: 2.519 MB / 0.852 GB, free: 195.2 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0006568/1.158, allocations: 81.44 kB / 0.852 GB, free: 195.1 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009308/1.159, allocations: 1.425 MB / 0.8534 GB, free: 193.9 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009529/1.16, allocations: 0.9588 MB / 0.8544 GB, free: 193.1 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008611/1.161, allocations: 0.5022 MB / 0.8549 GB, free: 192.7 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 4.264e-05/1.161, allocations: 309.1 kB / 0.8552 GB, free: 192.4 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003987/1.165, allocations: 2.054 MB / 0.8572 GB, free: 190.3 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004197/1.169, allocations: 2.372 MB / 0.8595 GB, free: 187.9 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008607/1.178, allocations: 4.434 MB / 0.8638 GB, free: 183.3 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.275e-05/1.178, allocations: 8 kB / 0.8638 GB, free: 183.3 MB / 0.6387 GB Notification: Performance of matching and sorting (n=327) (initialization): time 0.01085/1.188, allocations: 5.317 MB / 0.869 GB, free: 178 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.978e-05/1.189, allocations: 11.94 kB / 0.869 GB, free: 178 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.662e-05/1.189, allocations: 4 kB / 0.869 GB, free: 178 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001075/1.19, allocations: 0.5507 MB / 0.8696 GB, free: 177.4 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003741/1.193, allocations: 0.7917 MB / 0.8703 GB, free: 176.6 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005875/1.199, allocations: 5.727 MB / 0.8759 GB, free: 170.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004201/1.204, allocations: 0.5493 MB / 0.8765 GB, free: 170.2 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000501/1.204, allocations: 111.9 kB / 0.8766 GB, free: 170.1 MB / 0.6387 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.00206/1.206, allocations: 0.981 MB / 0.8775 GB, free: 169.1 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006797/1.207, allocations: 288.4 kB / 0.8778 GB, free: 168.8 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01143/1.218, allocations: 5.89 MB / 0.8836 GB, free: 162.9 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.812e-05/1.218, allocations: 28 kB / 0.8836 GB, free: 162.8 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.086e-05/1.218, allocations: 7.984 kB / 0.8836 GB, free: 162.8 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.908e-05/1.218, allocations: 15.95 kB / 0.8836 GB, free: 162.8 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01571/1.234, allocations: 9.892 MB / 0.8933 GB, free: 152.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.486e-06/1.234, allocations: 0 / 0.8933 GB, free: 152.9 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003486/1.238, allocations: 0.7527 MB / 0.894 GB, free: 152.1 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001187/1.239, allocations: 0.5222 MB / 0.8945 GB, free: 151.6 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002813/1.239, allocations: 83.92 kB / 0.8946 GB, free: 151.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006298/1.245, allocations: 7.549 MB / 0.902 GB, free: 143.6 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/1.245, allocations: 3.938 kB / 0.902 GB, free: 143.6 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01522/1.261, allocations: 8.401 MB / 0.9102 GB, free: 135.2 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001573/1.262, allocations: 0.8326 MB / 0.911 GB, free: 134.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005151/1.263, allocations: 67.95 kB / 0.911 GB, free: 134.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00284/1.266, allocations: 405.7 kB / 0.9114 GB, free: 133.8 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003878/1.266, allocations: 190.1 kB / 0.9116 GB, free: 133.7 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002115/1.266, allocations: 99.94 kB / 0.9117 GB, free: 133.6 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001882/1.268, allocations: 1.83 MB / 0.9135 GB, free: 131.7 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.1e-07/1.268, allocations: 4 kB / 0.9135 GB, free: 131.7 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002466/1.271, allocations: 1.109 MB / 0.9146 GB, free: 130.6 MB / 0.6387 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.002166/1.273, allocations: 1.031 MB / 0.9156 GB, free: 130.1 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01756/1.29, allocations: 8.626 MB / 0.924 GB, free: 121.4 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/1.29, allocations: 4.062 kB / 0.924 GB, free: 121.4 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.005279/1.296, allocations: 2.943 MB / 0.9269 GB, free: 118.4 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003049/1.299, allocations: 0.7208 MB / 0.9276 GB, free: 117.8 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0118/1.311, allocations: 8.362 MB / 0.9358 GB, free: 109.4 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001537/1.312, allocations: 2.557 MB / 0.9383 GB, free: 106.8 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.003818/1.316, allocations: 1.136 MB / 0.9394 GB, free: 105.7 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009963/1.317, allocations: 271.3 kB / 0.9396 GB, free: 105.4 MB / 0.6387 GB Notification: Performance of SimCode: time 6.01e-07/1.317, allocations: 0 / 0.9396 GB, free: 105.4 MB / 0.6387 GB Notification: Performance of Templates: time 0.06183/1.379, allocations: 49.82 MB / 0.9883 GB, free: 56.02 MB / 0.6387 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 -lv LOG_STATS > IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe 2>&1)