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.006859/0.006859, allocations: 95.61 kB / 15.73 MB, free: 6.047 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.001541/0.001541, allocations: 197.7 kB / 16.67 MB, free: 5.973 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.4/1.4, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9683/0.9683, allocations: 135.1 MB / 425.7 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 59.91 kB / 0.5856 GB, free: 3.355 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4673/0.4685, allocations: 80.91 MB / 0.6647 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance): time 0.2249/0.6934, allocations: 202.1 MB / 0.862 GB, free: 6.84 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.5756/1.269, allocations: 15.13 MB / 0.8768 GB, free: 2.012 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00624/1.275, allocations: 93.19 kB / 0.8769 GB, free: 2.012 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.003783/1.279, allocations: 1.303 MB / 0.8781 GB, free: 2.012 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01082/1.29, allocations: 2.648 MB / 0.8807 GB, free: 1.934 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.008708/1.299, allocations: 2.193 MB / 0.8829 GB, free: 1.887 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.01326/1.312, allocations: 6.696 MB / 0.8894 GB, free: 1.879 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01119/1.323, allocations: 5.526 MB / 0.8948 GB, free: 17.23 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006453/1.33, allocations: 2.618 MB / 0.8974 GB, free: 17.22 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007052/1.337, allocations: 3.103 MB / 0.9004 GB, free: 17.15 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.002783/1.34, allocations: 0.5719 MB / 0.901 GB, free: 17.15 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007534/1.347, allocations: 1.945 MB / 0.9029 GB, free: 17.12 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.003513/1.351, allocations: 1.606 MB / 0.9044 GB, free: 16.94 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.006927/1.358, allocations: 2.652 MB / 0.907 GB, free: 16.2 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.01546/1.373, allocations: 7.784 MB / 0.9146 GB, free: 15.17 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/1.373, allocations: 2.812 kB / 0.9146 GB, free: 15.17 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.164e-06/1.373, allocations: 0.5938 kB / 0.9146 GB, free: 15.17 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0003872/1.374, allocations: 2.953 kB / 0.9146 GB, free: 15.17 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.01991/1.394, allocations: 5.772 MB / 0.9203 GB, free: 12.84 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/1.394, allocations: 11.59 kB / 0.9203 GB, free: 12.84 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01485/1.409, allocations: 3.026 MB / 0.9232 GB, free: 12.5 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006709/1.415, allocations: 2.751 MB / 0.9259 GB, free: 11.77 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000267/1.416, allocations: 315.1 kB / 0.9262 GB, free: 11.76 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009654/1.417, allocations: 407.4 kB / 0.9266 GB, free: 11.76 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01402/1.431, allocations: 6.217 MB / 0.9327 GB, free: 10.49 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.583e-05/1.431, allocations: 4.875 kB / 0.9327 GB, free: 10.49 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004439/1.431, allocations: 179.6 kB / 0.9328 GB, free: 10.48 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001112/1.431, allocations: 149.1 kB / 0.933 GB, free: 10.46 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01659/1.448, allocations: 7.326 MB / 0.9401 GB, free: 8.438 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.04918/1.497, allocations: 18.8 MB / 0.9585 GB, free: 8.223 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01629/1.513, allocations: 4.799 MB / 0.9632 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01004/1.524, allocations: 3.163 MB / 0.9663 GB, free: 264 kB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001679/1.525, allocations: 0.697 MB / 0.967 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009333/1.535, allocations: 2.924 MB / 0.9698 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=345): time 8.185e-06/1.535, allocations: 0 / 0.9698 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of matching and sorting (n=347): time 0.05146/1.586, allocations: 16.32 MB / 0.9857 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001714/1.586, allocations: 222.7 kB / 0.986 GB, free: 11.77 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006042/1.592, allocations: 2.899 MB / 0.9888 GB, free: 8.855 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.001024/1.593, allocations: 89.7 kB / 0.9889 GB, free: 8.762 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.00207/1.596, allocations: 1.707 MB / 0.9905 GB, free: 7.043 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.002132/1.598, allocations: 1.208 MB / 0.9917 GB, free: 5.852 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002416/1.6, allocations: 0.5885 MB / 0.9923 GB, free: 5.254 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001271/1.6, allocations: 305.1 kB / 0.9926 GB, free: 4.953 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006311/1.607, allocations: 2.332 MB / 0.9949 GB, free: 2.617 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00691/1.614, allocations: 2.689 MB / 0.9975 GB, free: 15.87 MB / 0.7637 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.358/1.972, allocations: 86.69 MB / 1.082 GB, free: 8.992 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.977e-06/1.972, allocations: 4 kB / 1.082 GB, free: 8.988 MB / 0.8419 GB Notification: Performance of matching and sorting (n=386) (initialization): time 0.01794/1.989, allocations: 6.216 MB / 1.088 GB, free: 2.777 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 7.817e-05/1.99, allocations: 45.69 kB / 1.088 GB, free: 2.727 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.769e-05/1.99, allocations: 0 / 1.088 GB, free: 2.727 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002031/1.992, allocations: 0.8278 MB / 1.089 GB, free: 1.898 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005096/1.997, allocations: 0.8619 MB / 1.09 GB, free: 1.066 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01164/2.008, allocations: 7.5 MB / 1.097 GB, free: 9.457 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005172/2.014, allocations: 451.3 kB / 1.098 GB, free: 9.016 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001014/2.015, allocations: 127.9 kB / 1.098 GB, free: 8.891 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.003856/2.019, allocations: 1.139 MB / 1.099 GB, free: 7.773 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001406/2.02, allocations: 361.6 kB / 1.099 GB, free: 7.418 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01711/2.037, allocations: 6.767 MB / 1.106 GB, free: 0.6328 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.173e-05/2.037, allocations: 36 kB / 1.106 GB, free: 0.5977 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.029e-05/2.037, allocations: 12 kB / 1.106 GB, free: 0.5859 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01462/2.052, allocations: 5.917 MB / 1.112 GB, free: 10.58 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02666/2.078, allocations: 11.72 MB / 1.123 GB, free: 14.83 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.354e-05/2.079, allocations: 0 / 1.123 GB, free: 14.83 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004647/2.083, allocations: 0.8544 MB / 1.124 GB, free: 14 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001722/2.085, allocations: 0.6942 MB / 1.125 GB, free: 13.3 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006171/2.086, allocations: 99.88 kB / 1.125 GB, free: 13.2 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01164/2.097, allocations: 10.06 MB / 1.135 GB, free: 2.773 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.384e-06/2.097, allocations: 11.94 kB / 1.135 GB, free: 2.762 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02138/2.119, allocations: 9.824 MB / 1.144 GB, free: 8.84 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002206/2.121, allocations: 0.928 MB / 1.145 GB, free: 7.891 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006729/2.122, allocations: 79.88 kB / 1.145 GB, free: 7.812 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003675/2.125, allocations: 430.7 kB / 1.146 GB, free: 7.395 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000668/2.126, allocations: 249.4 kB / 1.146 GB, free: 7.152 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003309/2.126, allocations: 119.9 kB / 1.146 GB, free: 7.035 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.003406/2.13, allocations: 2.107 MB / 1.148 GB, free: 4.93 MB / 0.9044 GB Notification: Performance of sort global known variables: time 4.71e-07/2.13, allocations: 0 / 1.148 GB, free: 4.93 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.004363/2.134, allocations: 1.105 MB / 1.149 GB, free: 3.824 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.002795/2.137, allocations: 1.064 MB / 1.15 GB, free: 3.16 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.01477/2.152, allocations: 5.935 MB / 1.156 GB, free: 13.22 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.42e-05/2.152, allocations: 7.938 kB / 1.156 GB, free: 13.21 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.008277/2.16, allocations: 3.567 MB / 1.159 GB, free: 9.672 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005644/2.166, allocations: 1.028 MB / 1.16 GB, free: 8.691 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01982/2.185, allocations: 9.992 MB / 1.17 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003093/2.189, allocations: 2.932 MB / 1.173 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.005044/2.194, allocations: 1.259 MB / 1.174 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001464/2.195, allocations: 303.3 kB / 1.175 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of SimCode: time 7.02e-07/2.195, allocations: 0 / 1.175 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of Templates: time 0.4878/2.683, allocations: 63.84 MB / 1.237 GB, free: 420.8 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)