Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.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.SimpleRoomFourElementsTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance") translateModel(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001436/0.001436, allocations: 191 kB / 16.25 MB, free: 6.637 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.472/1.472, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.07/1.07, allocations: 135.1 MB / 425.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001258, allocations: 76.39 kB / 0.5049 GB, free: 5.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2137/0.215, allocations: 80.92 MB / 0.5839 GB, free: 4.934 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance): time 0.672/0.887, allocations: 199.4 MB / 0.7786 GB, free: 5.898 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02846/0.9155, allocations: 14.94 MB / 0.7932 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005535/0.9211, allocations: 83.56 kB / 0.7933 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.004324/0.9254, allocations: 1.151 MB / 0.7944 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.009617/0.9351, allocations: 2.446 MB / 0.7968 GB, free: 3.234 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.006979/0.9421, allocations: 1.972 MB / 0.7987 GB, free: 1.285 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.01057/0.9527, allocations: 6.681 MB / 0.8053 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0131/0.9659, allocations: 5.511 MB / 0.8106 GB, free: 5 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006955/0.9729, allocations: 2.632 MB / 0.8132 GB, free: 2.359 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006391/0.9793, allocations: 3.187 MB / 0.8163 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.002369/0.9817, allocations: 0.5703 MB / 0.8169 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006148/0.9878, allocations: 1.966 MB / 0.8188 GB, free: 12.62 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.003391/0.9913, allocations: 1.628 MB / 0.8204 GB, free: 10.99 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.006308/0.9976, allocations: 2.647 MB / 0.823 GB, free: 8.332 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01364/1.011, allocations: 7.712 MB / 0.8305 GB, free: 0.5977 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/1.011, allocations: 0 / 0.8305 GB, free: 0.5977 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.683e-06/1.011, allocations: 0 / 0.8305 GB, free: 0.5977 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0003642/1.012, allocations: 0 / 0.8305 GB, free: 0.5977 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.01784/1.03, allocations: 5.614 MB / 0.836 GB, free: 10.9 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.646e-05/1.03, allocations: 12.02 kB / 0.836 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01602/1.046, allocations: 3.005 MB / 0.8389 GB, free: 7.871 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007416/1.053, allocations: 2.679 MB / 0.8416 GB, free: 5.117 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003779/1.054, allocations: 308.2 kB / 0.8418 GB, free: 4.812 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002032/1.056, allocations: 407.9 kB / 0.8422 GB, free: 4.414 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01967/1.075, allocations: 6.226 MB / 0.8483 GB, free: 14.08 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001877/1.075, allocations: 3.938 kB / 0.8483 GB, free: 14.08 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001526/1.077, allocations: 171.9 kB / 0.8485 GB, free: 13.91 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001753/1.077, allocations: 151.9 kB / 0.8486 GB, free: 13.76 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02236/1.1, allocations: 7.325 MB / 0.8558 GB, free: 6.41 MB / 0.67 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.4856/1.585, allocations: 18.85 MB / 0.8742 GB, free: 207.6 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01062/1.596, allocations: 4.804 MB / 0.8789 GB, free: 206 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006271/1.602, allocations: 3.167 MB / 0.882 GB, free: 205 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001062/1.603, allocations: 0.6984 MB / 0.8827 GB, free: 204.3 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006582/1.61, allocations: 2.939 MB / 0.8855 GB, free: 203.5 MB / 0.67 GB Notification: Performance of pre-optimization done (n=345): time 5.991e-06/1.61, allocations: 0 / 0.8855 GB, free: 203.5 MB / 0.67 GB Notification: Performance of matching and sorting (n=347): time 0.05007/1.66, allocations: 16.23 MB / 0.9014 GB, free: 197.8 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001393/1.66, allocations: 218 kB / 0.9016 GB, free: 197.6 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007301/1.668, allocations: 2.91 MB / 0.9044 GB, free: 196.6 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.001076/1.669, allocations: 84.83 kB / 0.9045 GB, free: 196.6 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.002102/1.671, allocations: 1.677 MB / 0.9062 GB, free: 195.3 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.002065/1.673, allocations: 1.154 MB / 0.9073 GB, free: 194.4 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003232/1.676, allocations: 0.5873 MB / 0.9079 GB, free: 194.1 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 6.505e-05/1.676, allocations: 303 kB / 0.9081 GB, free: 193.8 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006594/1.683, allocations: 2.335 MB / 0.9104 GB, free: 193.2 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006992/1.69, allocations: 2.683 MB / 0.913 GB, free: 192.2 MB / 0.67 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: thermalZoneFourElements.volAir.dynBal.medium.p = thermalZoneFourElements.volAir.dynBal.p_start (sinAir.p = thermalZoneFourElements.volAir.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.3426/2.032, allocations: 86.73 MB / 0.9977 GB, free: 122.2 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.689e-05/2.032, allocations: 0.6562 kB / 0.9977 GB, free: 122.2 MB / 0.67 GB Notification: Performance of matching and sorting (n=386) (initialization): time 0.01758/2.05, allocations: 6.205 MB / 1.004 GB, free: 116 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 6.399e-05/2.05, allocations: 33.69 kB / 1.004 GB, free: 115.9 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.944e-05/2.05, allocations: 7.938 kB / 1.004 GB, free: 115.9 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001775/2.052, allocations: 0.8357 MB / 1.005 GB, free: 115.1 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004747/2.057, allocations: 0.863 MB / 1.006 GB, free: 114.2 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009864/2.067, allocations: 7.499 MB / 1.013 GB, free: 106.6 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005244/2.072, allocations: 489 kB / 1.013 GB, free: 106.1 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001095/2.073, allocations: 127.9 kB / 1.013 GB, free: 106 MB / 0.67 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: thermalZoneFourElements.volAir.dynBal.medium.p = thermalZoneFourElements.volAir.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 18 ($PRE.intGai.nextTimeEvent,$whenCondition2,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,$PRE.traSub.count,$PRE.traSub.T_start,traSub.count,traSub.T_start,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (321): * Single equations (assignments): 319 * Array equations: 0 * Algorithm blocks: 1 * 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 {(5,60,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004125/2.077, allocations: 1.135 MB / 1.015 GB, free: 104.8 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001716/2.079, allocations: 347.7 kB / 1.015 GB, free: 104.5 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01799/2.097, allocations: 6.772 MB / 1.021 GB, free: 97.67 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.242e-05/2.097, allocations: 35.94 kB / 1.022 GB, free: 97.63 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.558e-05/2.097, allocations: 16 kB / 1.022 GB, free: 97.62 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01448/2.112, allocations: 5.913 MB / 1.027 GB, free: 91.58 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0298/2.141, allocations: 11.73 MB / 1.039 GB, free: 79.77 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.319e-05/2.141, allocations: 3.984 kB / 1.039 GB, free: 79.77 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005182/2.147, allocations: 0.8506 MB / 1.04 GB, free: 78.92 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001868/2.149, allocations: 0.7097 MB / 1.04 GB, free: 78.2 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001137/2.15, allocations: 103.4 kB / 1.04 GB, free: 78.1 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01033/2.16, allocations: 10.05 MB / 1.05 GB, free: 67.66 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/2.16, allocations: 7.938 kB / 1.05 GB, free: 67.65 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02277/2.183, allocations: 9.8 MB / 1.06 GB, free: 57.71 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003057/2.186, allocations: 0.9144 MB / 1.061 GB, free: 56.77 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001551/2.188, allocations: 79.97 kB / 1.061 GB, free: 56.69 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004662/2.192, allocations: 481.2 kB / 1.061 GB, free: 56.22 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009478/2.193, allocations: 250.3 kB / 1.061 GB, free: 55.98 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006585/2.194, allocations: 119.9 kB / 1.062 GB, free: 55.86 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.003552/2.197, allocations: 2.103 MB / 1.064 GB, free: 53.76 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.5e-07/2.198, allocations: 3.938 kB / 1.064 GB, free: 53.75 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.005457/2.203, allocations: 1.11 MB / 1.065 GB, free: 52.66 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 7 (thermalZoneFourElements.volAir.dynBal.U,thermalZoneFourElements.volAir.dynBal.mXi[1],thermalZoneFourElements.volAir.dynBal.mC[1],thermalZoneFourElements.extWallRC.thermCapExt[1].T,thermalZoneFourElements.intWallRC.thermCapInt[1].T,thermalZoneFourElements.floorRC.thermCapExt[1].T,thermalZoneFourElements.roofRC.thermCapExt[1].T) * Number of discrete variables: 10 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext,intGai.nextTimeEvent,intGai.nextTimeEventScaled,traSub.T_start,traSub.count) * Number of discrete states: 5 (intGai.nextTimeEvent,traSub.count,intGai.nextTimeEventScaled,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (304): * Single equations (assignments): 295 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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): 3 systems {(5,49,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00325/2.206, allocations: 1.067 MB / 1.066 GB, free: 52.03 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.02474/2.231, allocations: 10.36 MB / 1.076 GB, free: 41.65 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.387e-05/2.231, allocations: 4 kB / 1.076 GB, free: 41.64 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.007904/2.239, allocations: 3.544 MB / 1.079 GB, free: 38.07 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008065/2.247, allocations: 1.028 MB / 1.08 GB, free: 37.09 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02142/2.269, allocations: 11.77 MB / 1.092 GB, free: 25.27 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003968/2.273, allocations: 2.92 MB / 1.095 GB, free: 22.32 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.006409/2.279, allocations: 1.278 MB / 1.096 GB, free: 21.04 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002089/2.281, allocations: 299.3 kB / 1.096 GB, free: 20.74 MB / 0.67 GB Notification: Performance of SimCode: time 2.084e-06/2.281, allocations: 4 kB / 1.096 GB, free: 20.74 MB / 0.67 GB Notification: Performance of Templates: time 0.42/2.701, allocations: 62.74 MB / 1.157 GB, free: 194.2 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.makefile (rm -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe ; mkfifo IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe >> ../files/IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.sim & ./IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe 2>&1)