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=336,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance") translateModel(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=336,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.005089/0.005089, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001153/0.001153, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.364/1.364, allocations: 222.9 MB / 240.4 MB, free: 4.188 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.013/1.013, allocations: 135.1 MB / 425.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 59.91 kB / 0.5856 GB, free: 3.383 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4908/0.4921, allocations: 80.92 MB / 0.6647 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance): time 0.2064/0.6986, allocations: 202.1 MB / 0.862 GB, free: 6.836 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.5501/1.249, allocations: 15.12 MB / 0.8768 GB, free: 2 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005785/1.254, allocations: 94.31 kB / 0.8769 GB, free: 2 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.004365/1.259, allocations: 1.319 MB / 0.8782 GB, free: 2 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01035/1.269, allocations: 2.726 MB / 0.8808 GB, free: 1.93 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.007725/1.277, allocations: 2.197 MB / 0.883 GB, free: 1.879 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.01416/1.291, allocations: 6.709 MB / 0.8895 GB, free: 1.863 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01384/1.305, allocations: 5.525 MB / 0.8949 GB, free: 17.21 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008111/1.313, allocations: 2.661 MB / 0.8975 GB, free: 17.21 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00795/1.321, allocations: 3.101 MB / 0.9005 GB, free: 17.14 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.003562/1.325, allocations: 0.5715 MB / 0.9011 GB, free: 17.14 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007458/1.332, allocations: 1.95 MB / 0.903 GB, free: 17.11 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.003869/1.336, allocations: 1.611 MB / 0.9046 GB, free: 16.93 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.008621/1.345, allocations: 2.653 MB / 0.9072 GB, free: 16.18 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.01578/1.361, allocations: 7.752 MB / 0.9147 GB, free: 15.18 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/1.361, allocations: 3.438 kB / 0.9147 GB, free: 15.18 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.225e-06/1.361, allocations: 1.094 kB / 0.9147 GB, free: 15.18 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0004112/1.361, allocations: 0 / 0.9147 GB, free: 15.18 MB / 0.7012 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.02092/1.382, allocations: 5.628 MB / 0.9202 GB, free: 13 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.157e-05/1.382, allocations: 10.12 kB / 0.9202 GB, free: 13 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01593/1.398, allocations: 2.997 MB / 0.9232 GB, free: 12.7 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008231/1.406, allocations: 2.739 MB / 0.9259 GB, free: 11.98 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000425/1.407, allocations: 308.2 kB / 0.9261 GB, free: 11.97 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002248/1.409, allocations: 403.5 kB / 0.9265 GB, free: 11.97 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02188/1.431, allocations: 6.224 MB / 0.9326 GB, free: 10.69 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002864/1.431, allocations: 5.062 kB / 0.9326 GB, free: 10.69 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001998/1.433, allocations: 170.7 kB / 0.9328 GB, free: 10.69 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002023/1.434, allocations: 149.5 kB / 0.9329 GB, free: 10.67 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02058/1.454, allocations: 7.326 MB / 0.9401 GB, free: 8.578 MB / 0.7012 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.04845/1.503, allocations: 18.76 MB / 0.9584 GB, free: 8.312 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01173/1.514, allocations: 4.794 MB / 0.9631 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007294/1.522, allocations: 3.168 MB / 0.9662 GB, free: 356 kB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001364/1.523, allocations: 0.7046 MB / 0.9669 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008174/1.531, allocations: 2.935 MB / 0.9697 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=345): time 9.718e-06/1.531, allocations: 0 / 0.9697 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of matching and sorting (n=347): time 0.0482/1.58, allocations: 16.24 MB / 0.9856 GB, free: 12.17 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001308/1.58, allocations: 222.7 kB / 0.9858 GB, free: 11.91 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005644/1.585, allocations: 2.903 MB / 0.9886 GB, free: 8.988 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0009815/1.586, allocations: 89.7 kB / 0.9887 GB, free: 8.895 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.001989/1.588, allocations: 1.679 MB / 0.9904 GB, free: 7.203 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.001863/1.59, allocations: 1.147 MB / 0.9915 GB, free: 6.066 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002587/1.593, allocations: 0.5845 MB / 0.992 GB, free: 5.473 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001056/1.593, allocations: 301.1 kB / 0.9923 GB, free: 5.176 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005771/1.599, allocations: 2.34 MB / 0.9946 GB, free: 2.832 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006034/1.605, allocations: 2.691 MB / 0.9972 GB, free: 84 kB / 0.7481 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.3532/1.958, allocations: 86.69 MB / 1.082 GB, free: 9.207 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.744e-06/1.958, allocations: 0 / 1.082 GB, free: 9.207 MB / 0.8419 GB Notification: Performance of matching and sorting (n=386) (initialization): time 0.01514/1.973, allocations: 6.206 MB / 1.088 GB, free: 3.004 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.811e-05/1.973, allocations: 29.7 kB / 1.088 GB, free: 2.969 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.559e-05/1.973, allocations: 4 kB / 1.088 GB, free: 2.965 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001798/1.975, allocations: 0.8279 MB / 1.089 GB, free: 2.137 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004339/1.98, allocations: 0.8618 MB / 1.09 GB, free: 1.305 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01025/1.99, allocations: 7.493 MB / 1.097 GB, free: 9.699 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004586/1.994, allocations: 439.4 kB / 1.097 GB, free: 9.27 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006373/1.995, allocations: 127.9 kB / 1.098 GB, free: 9.145 MB / 0.8575 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.002583/1.998, allocations: 1.147 MB / 1.099 GB, free: 8.02 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008118/1.998, allocations: 343.7 kB / 1.099 GB, free: 7.68 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01454/2.013, allocations: 6.767 MB / 1.106 GB, free: 0.8945 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.831e-05/2.013, allocations: 32 kB / 1.106 GB, free: 0.8633 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-05/2.013, allocations: 12 kB / 1.106 GB, free: 0.8516 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01238/2.026, allocations: 5.916 MB / 1.111 GB, free: 10.84 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02304/2.049, allocations: 11.71 MB / 1.123 GB, free: 15.11 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-05/2.049, allocations: 7.938 kB / 1.123 GB, free: 15.1 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004335/2.053, allocations: 0.858 MB / 1.124 GB, free: 14.27 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001592/2.055, allocations: 0.6942 MB / 1.124 GB, free: 13.56 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004163/2.055, allocations: 103.9 kB / 1.124 GB, free: 13.46 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01101/2.066, allocations: 10.04 MB / 1.134 GB, free: 3.051 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.682e-06/2.066, allocations: 11.92 kB / 1.134 GB, free: 3.039 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02041/2.087, allocations: 9.81 MB / 1.144 GB, free: 9.129 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002516/2.089, allocations: 0.9066 MB / 1.145 GB, free: 8.199 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006776/2.09, allocations: 83.92 kB / 1.145 GB, free: 8.117 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003337/2.093, allocations: 428.2 kB / 1.145 GB, free: 7.699 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005979/2.094, allocations: 257.5 kB / 1.145 GB, free: 7.449 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002937/2.094, allocations: 115.9 kB / 1.146 GB, free: 7.336 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.003175/2.097, allocations: 2.107 MB / 1.148 GB, free: 5.23 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.9e-07/2.097, allocations: 0 / 1.148 GB, free: 5.23 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.003764/2.101, allocations: 1.094 MB / 1.149 GB, free: 4.137 MB / 0.9044 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.002533/2.104, allocations: 1.062 MB / 1.15 GB, free: 3.477 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.01397/2.118, allocations: 5.937 MB / 1.156 GB, free: 13.54 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.053e-05/2.118, allocations: 0 / 1.156 GB, free: 13.54 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.008156/2.126, allocations: 3.554 MB / 1.159 GB, free: 10.01 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006753/2.133, allocations: 1.032 MB / 1.16 GB, free: 9.027 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02374/2.156, allocations: 9.856 MB / 1.17 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003336/2.16, allocations: 2.928 MB / 1.172 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.004854/2.165, allocations: 1.262 MB / 1.174 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00146/2.166, allocations: 307.2 kB / 1.174 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of SimCode: time 1.172e-06/2.166, allocations: 3.938 kB / 1.174 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of Templates: time 0.4618/2.628, allocations: 63.83 MB / 1.236 GB, free: 421.1 MB / 0.9512 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)