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.00596/0.00596, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001238/0.001238, allocations: 191.3 kB / 16.67 MB, free: 5.93 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.566/1.566, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8368/0.8368, allocations: 135.1 MB / 425.7 MB, free: 4.059 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 58.97 kB / 0.5856 GB, free: 21.56 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1935/0.1948, allocations: 80.93 MB / 0.6647 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance): time 0.7113/0.9061, allocations: 202.1 MB / 0.862 GB, free: 3.934 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02597/0.9321, allocations: 15.12 MB / 0.8768 GB, free: 5.895 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005347/0.9375, allocations: 95.56 kB / 0.8769 GB, free: 5.801 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003635/0.9412, allocations: 1.324 MB / 0.8782 GB, free: 4.469 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.00835/0.9496, allocations: 2.729 MB / 0.8808 GB, free: 1.73 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.006074/0.9557, allocations: 2.196 MB / 0.883 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.009436/0.9652, allocations: 6.701 MB / 0.8895 GB, free: 8.836 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008576/0.9738, allocations: 5.529 MB / 0.8949 GB, free: 3.223 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005993/0.9798, allocations: 2.663 MB / 0.8975 GB, free: 0.5508 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008029/0.9878, allocations: 3.098 MB / 0.9005 GB, free: 13.44 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.002961/0.9908, allocations: 0.5703 MB / 0.9011 GB, free: 12.87 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006795/0.9976, allocations: 1.954 MB / 0.903 GB, free: 10.91 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.002988/1.001, allocations: 1.609 MB / 0.9046 GB, free: 9.301 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.005695/1.006, allocations: 2.655 MB / 0.9072 GB, free: 6.633 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01189/1.018, allocations: 7.754 MB / 0.9147 GB, free: 14.86 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/1.018, allocations: 0 / 0.9147 GB, free: 14.86 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.723e-06/1.018, allocations: 0 / 0.9147 GB, free: 14.86 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.000233/1.019, allocations: 0 / 0.9147 GB, free: 14.86 MB / 0.6856 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.01445/1.033, allocations: 5.627 MB / 0.9202 GB, free: 9.145 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/1.033, allocations: 9.109 kB / 0.9202 GB, free: 9.137 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01515/1.048, allocations: 2.993 MB / 0.9232 GB, free: 6.133 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006131/1.054, allocations: 2.749 MB / 0.9259 GB, free: 3.309 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002409/1.055, allocations: 308.2 kB / 0.9261 GB, free: 3.004 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009533/1.056, allocations: 404 kB / 0.9265 GB, free: 2.609 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01503/1.071, allocations: 6.222 MB / 0.9326 GB, free: 12.28 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.721e-05/1.071, allocations: 0 / 0.9326 GB, free: 12.28 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000463/1.071, allocations: 168 kB / 0.9328 GB, free: 12.12 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001264/1.071, allocations: 148 kB / 0.9329 GB, free: 11.97 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01945/1.091, allocations: 7.333 MB / 0.9401 GB, free: 4.613 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.04501/1.136, allocations: 18.76 MB / 0.9584 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01202/1.148, allocations: 4.804 MB / 0.9631 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007371/1.155, allocations: 3.163 MB / 0.9662 GB, free: 9.109 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001297/1.157, allocations: 0.6975 MB / 0.9669 GB, free: 8.281 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007746/1.165, allocations: 2.94 MB / 0.9697 GB, free: 5.309 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=345): time 6.733e-06/1.165, allocations: 0 / 0.9697 GB, free: 5.309 MB / 0.7325 GB Notification: Performance of matching and sorting (n=347): time 0.04731/1.212, allocations: 16.24 MB / 0.9856 GB, free: 4.879 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001503/1.212, allocations: 218.6 kB / 0.9858 GB, free: 4.621 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005805/1.218, allocations: 2.907 MB / 0.9886 GB, free: 1.695 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0009299/1.219, allocations: 89.7 kB / 0.9887 GB, free: 1.602 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.001961/1.221, allocations: 1.676 MB / 0.9903 GB, free: 15.91 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.00175/1.223, allocations: 1.151 MB / 0.9915 GB, free: 14.74 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00228/1.225, allocations: 0.5806 MB / 0.992 GB, free: 14.15 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001138/1.225, allocations: 305.1 kB / 0.9923 GB, free: 13.85 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006031/1.231, allocations: 2.336 MB / 0.9946 GB, free: 11.51 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006265/1.237, allocations: 2.685 MB / 0.9972 GB, free: 8.758 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.776/2.013, allocations: 86.68 MB / 1.082 GB, free: 314.9 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.914e-06/2.013, allocations: 0 / 1.082 GB, free: 314.9 MB / 0.8262 GB Notification: Performance of matching and sorting (n=386) (initialization): time 0.01451/2.028, allocations: 6.201 MB / 1.088 GB, free: 313 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.683e-05/2.028, allocations: 39.45 kB / 1.088 GB, free: 313 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.81e-05/2.028, allocations: 3.031 kB / 1.088 GB, free: 313 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001697/2.03, allocations: 0.8266 MB / 1.089 GB, free: 312.8 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004369/2.034, allocations: 0.8667 MB / 1.09 GB, free: 312.8 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009027/2.043, allocations: 7.497 MB / 1.097 GB, free: 308.6 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004433/2.048, allocations: 448.1 kB / 1.097 GB, free: 308.6 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007249/2.048, allocations: 126.8 kB / 1.098 GB, free: 308.5 MB / 0.8262 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.002476/2.051, allocations: 1.137 MB / 1.099 GB, free: 308 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008124/2.052, allocations: 339.2 kB / 1.099 GB, free: 308 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0138/2.065, allocations: 6.773 MB / 1.106 GB, free: 304.9 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.333e-05/2.066, allocations: 35.81 kB / 1.106 GB, free: 304.9 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.471e-05/2.066, allocations: 11.47 kB / 1.106 GB, free: 304.9 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01133/2.077, allocations: 5.915 MB / 1.111 GB, free: 301.6 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02084/2.098, allocations: 11.72 MB / 1.123 GB, free: 292.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.471e-05/2.098, allocations: 7.984 kB / 1.123 GB, free: 292.2 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004143/2.102, allocations: 0.8426 MB / 1.124 GB, free: 291.3 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001414/2.103, allocations: 0.698 MB / 1.124 GB, free: 290.6 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004606/2.104, allocations: 99.92 kB / 1.124 GB, free: 290.5 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008771/2.113, allocations: 10.06 MB / 1.134 GB, free: 280.1 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/2.113, allocations: 4 kB / 1.134 GB, free: 280.1 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01814/2.131, allocations: 9.809 MB / 1.144 GB, free: 270.2 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001974/2.133, allocations: 0.9125 MB / 1.145 GB, free: 269.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007077/2.134, allocations: 78.02 kB / 1.145 GB, free: 269.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003865/2.137, allocations: 428.2 kB / 1.145 GB, free: 268.8 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008427/2.138, allocations: 258.2 kB / 1.145 GB, free: 268.5 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003333/2.139, allocations: 123.9 kB / 1.146 GB, free: 268.4 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.002887/2.142, allocations: 2.1 MB / 1.148 GB, free: 266.3 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.7e-07/2.142, allocations: 0 / 1.148 GB, free: 266.3 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.003593/2.145, allocations: 1.102 MB / 1.149 GB, free: 265.2 MB / 0.8262 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.002463/2.148, allocations: 1.06 MB / 1.15 GB, free: 264.6 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.01201/2.16, allocations: 5.947 MB / 1.156 GB, free: 258.6 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.028e-05/2.16, allocations: 4 kB / 1.156 GB, free: 258.6 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.006522/2.166, allocations: 3.545 MB / 1.159 GB, free: 255 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004863/2.171, allocations: 1.029 MB / 1.16 GB, free: 254.1 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01608/2.187, allocations: 9.867 MB / 1.17 GB, free: 244.2 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002078/2.189, allocations: 2.922 MB / 1.173 GB, free: 241.2 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.004217/2.194, allocations: 1.262 MB / 1.174 GB, free: 239.9 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00122/2.195, allocations: 303.3 kB / 1.174 GB, free: 239.6 MB / 0.8262 GB Notification: Performance of SimCode: time 8.61e-07/2.195, allocations: 0 / 1.174 GB, free: 239.6 MB / 0.8262 GB Notification: Performance of Templates: time 0.08616/2.281, allocations: 63.83 MB / 1.236 GB, free: 176.3 MB / 0.8262 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)