Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.SimpleRoomFourElementsTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance") translateModel(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.0007909/0.000791, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.006162/0.006162, allocations: 172.3 kB / 16.26 MB, free: 6.613 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.368/1.368, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7529/0.7529, allocations: 132.4 MB / 423.8 MB, free: 1.957 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000408/0.0004085, allocations: 11.98 kB / 0.504 GB, free: 3.91 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4822/0.4826, allocations: 81.58 MB / 0.5837 GB, free: 4.289 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance): time 0.2296/0.7123, allocations: 196.9 MB / 0.776 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02417/0.7365, allocations: 14.96 MB / 0.7906 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004509/0.7411, allocations: 87.5 kB / 0.7907 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003002/0.7441, allocations: 1.147 MB / 0.7918 GB, free: 10.72 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.007891/0.752, allocations: 2.426 MB / 0.7942 GB, free: 8.285 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.005603/0.7576, allocations: 1.942 MB / 0.7961 GB, free: 6.363 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.009489/0.7671, allocations: 7.364 MB / 0.8033 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00722/0.7744, allocations: 4.597 MB / 0.8078 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004095/0.7785, allocations: 1.835 MB / 0.8095 GB, free: 8.453 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004673/0.7832, allocations: 2.487 MB / 0.812 GB, free: 5.957 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0007767/0.784, allocations: 156 kB / 0.8121 GB, free: 5.805 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00396/0.7879, allocations: 1.688 MB / 0.8138 GB, free: 4.113 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001197/0.7891, allocations: 1.093 MB / 0.8148 GB, free: 3.016 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002758/0.7919, allocations: 2.079 MB / 0.8169 GB, free: 0.918 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.4257/1.218, allocations: 7.212 MB / 0.8239 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/1.218, allocations: 0.625 kB / 0.8239 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.314e-06/1.218, allocations: 0 / 0.8239 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0002967/1.218, allocations: 0 / 0.8239 GB, free: 12.95 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.01261/1.231, allocations: 4.754 MB / 0.8286 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/1.231, allocations: 13.75 kB / 0.8286 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01585/1.246, allocations: 3.119 MB / 0.8316 GB, free: 10.57 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006465/1.253, allocations: 2.679 MB / 0.8342 GB, free: 9.867 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003103/1.253, allocations: 309.7 kB / 0.8345 GB, free: 9.855 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001337/1.255, allocations: 405 kB / 0.8349 GB, free: 9.855 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01621/1.271, allocations: 6.28 MB / 0.841 GB, free: 9.516 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.429e-05/1.271, allocations: 0 / 0.841 GB, free: 9.516 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004839/1.271, allocations: 175.5 kB / 0.8412 GB, free: 9.512 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.561e-05/1.272, allocations: 142 kB / 0.8413 GB, free: 9.5 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01604/1.288, allocations: 7.435 MB / 0.8486 GB, free: 9.414 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.03253/1.32, allocations: 18.96 MB / 0.8671 GB, free: 3.348 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008846/1.329, allocations: 4.822 MB / 0.8718 GB, free: 2.418 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005823/1.335, allocations: 3.181 MB / 0.8749 GB, free: 1.824 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009097/1.336, allocations: 0.6991 MB / 0.8756 GB, free: 1.117 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005912/1.342, allocations: 2.945 MB / 0.8785 GB, free: 192 kB / 0.6387 GB Notification: Performance of pre-optimization done (n=345): time 5.35e-06/1.342, allocations: 0 / 0.8785 GB, free: 192 kB / 0.6387 GB Notification: Performance of matching and sorting (n=347): time 0.04488/1.387, allocations: 16.38 MB / 0.8945 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001488/1.387, allocations: 225.5 kB / 0.8947 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00626/1.393, allocations: 2.9 MB / 0.8975 GB, free: 9.812 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0009429/1.394, allocations: 89.88 kB / 0.8976 GB, free: 9.762 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.002132/1.396, allocations: 1.681 MB / 0.8993 GB, free: 8.754 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.001826/1.398, allocations: 1.15 MB / 0.9004 GB, free: 7.766 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001036/1.399, allocations: 243.6 kB / 0.9006 GB, free: 7.617 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001101/1.399, allocations: 303.1 kB / 0.9009 GB, free: 7.32 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006345/1.406, allocations: 2.354 MB / 0.9032 GB, free: 5.625 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006515/1.412, allocations: 2.705 MB / 0.9058 GB, free: 3.582 MB / 0.6544 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.3782/1.79, allocations: 88.29 MB / 0.9921 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.08e-05/1.79, allocations: 0 / 0.9921 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of matching and sorting (n=386) (initialization): time 0.01887/1.809, allocations: 6.233 MB / 0.9982 GB, free: 8.055 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 6.369e-05/1.809, allocations: 37.7 kB / 0.9982 GB, free: 8.012 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.949e-05/1.809, allocations: 4 kB / 0.9982 GB, free: 8.008 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001941/1.811, allocations: 0.8268 MB / 0.999 GB, free: 7.184 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005212/1.817, allocations: 0.8716 MB / 0.9999 GB, free: 6.34 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01132/1.828, allocations: 6.949 MB / 1.007 GB, free: 15.29 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005696/1.834, allocations: 0.4912 MB / 1.007 GB, free: 14.8 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001077/1.835, allocations: 127.9 kB / 1.007 GB, free: 14.67 MB / 0.7637 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: 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.004163/1.839, allocations: 1.143 MB / 1.008 GB, free: 13.55 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001369/1.84, allocations: 345.6 kB / 1.009 GB, free: 13.21 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0199/1.86, allocations: 6.804 MB / 1.015 GB, free: 6.387 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-05/1.86, allocations: 35.94 kB / 1.015 GB, free: 6.352 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.461e-05/1.86, allocations: 12 kB / 1.015 GB, free: 6.34 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01755/1.878, allocations: 5.949 MB / 1.021 GB, free: 304 kB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03436/1.912, allocations: 11.77 MB / 1.033 GB, free: 4.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.432e-05/1.912, allocations: 0 / 1.033 GB, free: 4.5 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005567/1.918, allocations: 0.8641 MB / 1.034 GB, free: 3.664 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002117/1.92, allocations: 0.6942 MB / 1.034 GB, free: 2.961 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001152/1.921, allocations: 95.94 kB / 1.034 GB, free: 2.867 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01266/1.934, allocations: 9.206 MB / 1.043 GB, free: 9.301 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.163e-06/1.934, allocations: 4 kB / 1.043 GB, free: 9.297 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02665/1.961, allocations: 9.843 MB / 1.053 GB, free: 15.35 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003615/1.964, allocations: 0.9532 MB / 1.054 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001708/1.966, allocations: 74.98 kB / 1.054 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005085/1.971, allocations: 491.9 kB / 1.054 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009918/1.972, allocations: 253.1 kB / 1.055 GB, free: 13.58 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005526/1.973, allocations: 123.9 kB / 1.055 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.004281/1.977, allocations: 2.103 MB / 1.057 GB, free: 11.36 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.21e-07/1.977, allocations: 0 / 1.057 GB, free: 11.36 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.005214/1.982, allocations: 1.107 MB / 1.058 GB, free: 10.25 MB / 0.8106 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.003095/1.985, allocations: 1.059 MB / 1.059 GB, free: 9.68 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.01599/2.001, allocations: 5.955 MB / 1.065 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 7.554e-06/2.002, allocations: 0.5 kB / 1.065 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.00817/2.01, allocations: 3.578 MB / 1.068 GB, free: 168 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007902/2.018, allocations: 0.9731 MB / 1.069 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02255/2.04, allocations: 11.92 MB / 1.081 GB, free: 3.246 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003623/2.044, allocations: 2.92 MB / 1.084 GB, free: 308 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.005898/2.05, allocations: 1.278 MB / 1.085 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001858/2.052, allocations: 295.3 kB / 1.085 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of SimCode: time 1.012e-06/2.052, allocations: 0 / 1.085 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of Templates: time 0.3883/2.44, allocations: 59.71 MB / 1.143 GB, free: 386.9 MB / 0.8419 GB make -j1 -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.makefile (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.sim & ./IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe 2>&1)