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.001328/0.001328, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001242/0.001243, allocations: 197.6 kB / 16.26 MB, free: 6.629 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.336/1.336, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9176/0.9176, allocations: 135.6 MB / 425.6 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001865/0.001865, allocations: 63.77 kB / 0.5054 GB, free: 5.219 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1687/0.1706, allocations: 81.01 MB / 0.5845 GB, free: 4.348 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance): time 0.4854/0.656, allocations: 199.4 MB / 0.7793 GB, free: 5.074 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02466/0.6807, allocations: 14.91 MB / 0.7938 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003523/0.6843, allocations: 87.5 kB / 0.7939 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.003396/0.6877, allocations: 1.159 MB / 0.795 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.009262/0.697, allocations: 2.444 MB / 0.7974 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.006598/0.7036, allocations: 1.984 MB / 0.7994 GB, free: 476 kB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.009792/0.7134, allocations: 6.669 MB / 0.8059 GB, free: 9.781 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008268/0.7217, allocations: 5.522 MB / 0.8113 GB, free: 4.184 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005499/0.7273, allocations: 2.636 MB / 0.8138 GB, free: 1.539 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006192/0.7335, allocations: 3.177 MB / 0.8169 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001871/0.7354, allocations: 0.5742 MB / 0.8175 GB, free: 13.78 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005354/0.7407, allocations: 1.962 MB / 0.8194 GB, free: 11.82 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.002121/0.7429, allocations: 1.624 MB / 0.821 GB, free: 10.19 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.004171/0.7471, allocations: 2.655 MB / 0.8236 GB, free: 7.52 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01055/0.7576, allocations: 7.708 MB / 0.8311 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.7577, allocations: 0 / 0.8311 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.623e-06/0.7577, allocations: 0 / 0.8311 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0002058/0.7579, allocations: 0 / 0.8311 GB, free: 15.79 MB / 0.6544 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.01279/0.7707, allocations: 5.621 MB / 0.8366 GB, free: 10.08 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.7707, allocations: 8.031 kB / 0.8366 GB, free: 10.07 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01452/0.7853, allocations: 3.005 MB / 0.8396 GB, free: 7.059 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005658/0.791, allocations: 2.679 MB / 0.8422 GB, free: 4.305 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002564/0.7912, allocations: 308.2 kB / 0.8425 GB, free: 4 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007559/0.792, allocations: 408 kB / 0.8429 GB, free: 3.602 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01377/0.8058, allocations: 6.222 MB / 0.8489 GB, free: 13.27 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.8e-05/0.8059, allocations: 0 / 0.8489 GB, free: 13.27 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004378/0.8063, allocations: 168 kB / 0.8491 GB, free: 13.11 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001449/0.8065, allocations: 148 kB / 0.8492 GB, free: 12.96 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01656/0.8231, allocations: 7.325 MB / 0.8564 GB, free: 5.613 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.3467/1.17, allocations: 18.87 MB / 0.8748 GB, free: 206.5 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007985/1.178, allocations: 4.811 MB / 0.8795 GB, free: 204.9 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004766/1.183, allocations: 3.161 MB / 0.8826 GB, free: 203.9 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008255/1.183, allocations: 0.6998 MB / 0.8833 GB, free: 203.2 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004974/1.188, allocations: 2.932 MB / 0.8862 GB, free: 202.4 MB / 0.67 GB Notification: Performance of pre-optimization done (n=345): time 4.969e-06/1.188, allocations: 0 / 0.8862 GB, free: 202.4 MB / 0.67 GB Notification: Performance of matching and sorting (n=347): time 0.03675/1.225, allocations: 16.23 MB / 0.902 GB, free: 196.7 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.073e-05/1.225, allocations: 219.8 kB / 0.9022 GB, free: 196.5 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004224/1.23, allocations: 2.914 MB / 0.9051 GB, free: 195.5 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0005214/1.23, allocations: 85.34 kB / 0.9051 GB, free: 195.5 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001382/1.231, allocations: 1.691 MB / 0.9068 GB, free: 194.2 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001105/1.233, allocations: 1.156 MB / 0.9079 GB, free: 193.3 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001057/1.234, allocations: 0.5795 MB / 0.9085 GB, free: 193 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 4.255e-05/1.234, allocations: 302.3 kB / 0.9088 GB, free: 192.8 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00486/1.239, allocations: 2.337 MB / 0.911 GB, free: 192.1 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005179/1.244, allocations: 2.681 MB / 0.9137 GB, free: 191.1 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.3198/1.563, allocations: 86.73 MB / 0.9984 GB, free: 120.9 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.105e-06/1.564, allocations: 0 / 0.9984 GB, free: 120.9 MB / 0.67 GB Notification: Performance of matching and sorting (n=386) (initialization): time 0.01391/1.577, allocations: 6.202 MB / 1.004 GB, free: 114.7 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 4.516e-05/1.578, allocations: 37.36 kB / 1.004 GB, free: 114.7 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.755e-05/1.578, allocations: 7.938 kB / 1.004 GB, free: 114.7 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001538/1.579, allocations: 0.8396 MB / 1.005 GB, free: 113.8 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003998/1.583, allocations: 0.8645 MB / 1.006 GB, free: 112.9 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008301/1.591, allocations: 7.492 MB / 1.013 GB, free: 105.3 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004236/1.596, allocations: 483.2 kB / 1.014 GB, free: 104.9 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005495/1.596, allocations: 127.9 kB / 1.014 GB, free: 104.7 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.002486/1.599, allocations: 1.142 MB / 1.015 GB, free: 103.6 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001051/1.6, allocations: 347.7 kB / 1.015 GB, free: 103.2 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01355/1.613, allocations: 6.756 MB / 1.022 GB, free: 96.42 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.068e-05/1.613, allocations: 43.94 kB / 1.022 GB, free: 96.38 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.011e-05/1.613, allocations: 12 kB / 1.022 GB, free: 96.37 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01012/1.624, allocations: 5.921 MB / 1.028 GB, free: 90.32 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02047/1.644, allocations: 11.73 MB / 1.039 GB, free: 78.52 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.029e-05/1.644, allocations: 4 kB / 1.039 GB, free: 78.52 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005767/1.65, allocations: 0.8507 MB / 1.04 GB, free: 77.66 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001499/1.651, allocations: 0.702 MB / 1.041 GB, free: 76.95 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005813/1.652, allocations: 99.92 kB / 1.041 GB, free: 76.86 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008705/1.661, allocations: 10.05 MB / 1.051 GB, free: 66.4 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/1.661, allocations: 7.938 kB / 1.051 GB, free: 66.39 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01797/1.679, allocations: 9.8 MB / 1.06 GB, free: 56.45 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002037/1.681, allocations: 0.9144 MB / 1.061 GB, free: 55.52 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009453/1.682, allocations: 83.83 kB / 1.061 GB, free: 55.43 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003905/1.686, allocations: 471.7 kB / 1.062 GB, free: 54.97 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006111/1.686, allocations: 250.3 kB / 1.062 GB, free: 54.73 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003523/1.687, allocations: 119.9 kB / 1.062 GB, free: 54.61 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002837/1.69, allocations: 2.103 MB / 1.064 GB, free: 52.51 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.71e-07/1.69, allocations: 0 / 1.064 GB, free: 52.51 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003831/1.693, allocations: 1.111 MB / 1.065 GB, free: 51.42 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.003504/1.697, allocations: 1.065 MB / 1.066 GB, free: 50.79 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.02337/1.72, allocations: 10.37 MB / 1.076 GB, free: 40.41 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.286e-05/1.72, allocations: 4 kB / 1.076 GB, free: 40.4 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.006899/1.727, allocations: 3.545 MB / 1.08 GB, free: 36.82 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006064/1.733, allocations: 1.031 MB / 1.081 GB, free: 35.84 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01762/1.751, allocations: 11.77 MB / 1.092 GB, free: 24.02 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002993/1.754, allocations: 2.932 MB / 1.095 GB, free: 21.06 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.005549/1.76, allocations: 1.27 MB / 1.097 GB, free: 19.79 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001776/1.761, allocations: 307.1 kB / 1.097 GB, free: 19.48 MB / 0.67 GB Notification: Performance of SimCode: time 8.31e-07/1.761, allocations: 0 / 1.097 GB, free: 19.48 MB / 0.67 GB Notification: Performance of Templates: time 0.3665/2.128, allocations: 62.75 MB / 1.158 GB, free: 193.3 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)