Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7732/0.7732, allocations: 143.4 MB / 159.2 MB, free: 4.934 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 193.7 kB / 191.9 MB, free: 5.73 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.487/1.487, allocations: 222.9 MB / 447.3 MB, free: 5.84 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009351/0.0009351, allocations: 111.7 kB / 0.517 GB, free: 3.691 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002065/0.002066, allocations: 278.3 kB / 0.5973 GB, free: 49.36 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001575/0.001576, allocations: 79.89 kB / 0.6885 GB, free: 3.832 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4002/0.4018, allocations: 81.3 MB / 0.7679 GB, free: 27.64 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance): time 0.598/0.9999, allocations: 199.7 MB / 0.9629 GB, free: 14.84 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.02473/1.025, allocations: 15.11 MB / 0.9777 GB, free: 12.05 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006546/1.031, allocations: 82.81 kB / 0.9778 GB, free: 12.02 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.004117/1.035, allocations: 1.144 MB / 0.9789 GB, free: 11.44 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.009563/1.045, allocations: 2.415 MB / 0.9813 GB, free: 10.01 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.006736/1.052, allocations: 1.937 MB / 0.9831 GB, free: 8.695 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.01135/1.063, allocations: 7.401 MB / 0.9904 GB, free: 4.652 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007491/1.071, allocations: 4.917 MB / 0.9952 GB, free: 1.77 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004824/1.075, allocations: 2.206 MB / 0.9973 GB, free: 0.625 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007992/1.084, allocations: 2.939 MB / 1 GB, free: 14.89 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.002366/1.086, allocations: 314.7 kB / 1 GB, free: 14.6 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005668/1.092, allocations: 1.841 MB / 1.002 GB, free: 12.91 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.00163/1.093, allocations: 1.339 MB / 1.004 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.003733/1.097, allocations: 2.35 MB / 1.006 GB, free: 9.254 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.008752/1.106, allocations: 7.466 MB / 1.013 GB, free: 2.016 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/1.106, allocations: 0 / 1.013 GB, free: 2.016 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.613e-06/1.106, allocations: 4 kB / 1.013 GB, free: 2.012 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0002087/1.106, allocations: 0 / 1.013 GB, free: 2.012 MB / 0.5886 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.01205/1.118, allocations: 5.614 MB / 1.019 GB, free: 12.33 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/1.118, allocations: 12.03 kB / 1.019 GB, free: 12.32 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01427/1.132, allocations: 2.993 MB / 1.022 GB, free: 9.312 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006287/1.139, allocations: 2.673 MB / 1.024 GB, free: 6.617 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002334/1.139, allocations: 308.2 kB / 1.025 GB, free: 6.312 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008826/1.14, allocations: 412 kB / 1.025 GB, free: 5.91 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01315/1.153, allocations: 6.217 MB / 1.031 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.291e-05/1.153, allocations: 7.844 kB / 1.031 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004051/1.154, allocations: 172 kB / 1.031 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000109/1.154, allocations: 144 kB / 1.031 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01614/1.17, allocations: 7.325 MB / 1.038 GB, free: 7.922 MB / 0.6198 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.03195/1.202, allocations: 18.87 MB / 1.057 GB, free: 4.465 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009355/1.211, allocations: 4.815 MB / 1.062 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005969/1.217, allocations: 3.167 MB / 1.065 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001007/1.218, allocations: 0.6961 MB / 1.065 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006248/1.225, allocations: 2.946 MB / 1.068 GB, free: 8.68 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=345): time 6.432e-06/1.225, allocations: 0 / 1.068 GB, free: 8.68 MB / 0.6511 GB Notification: Performance of matching and sorting (n=347): time 0.04173/1.266, allocations: 16.22 MB / 1.084 GB, free: 8.266 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001178/1.266, allocations: 222.6 kB / 1.084 GB, free: 8.004 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004948/1.271, allocations: 2.899 MB / 1.087 GB, free: 5.086 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0003857/1.272, allocations: 85.7 kB / 1.087 GB, free: 4.996 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.002025/1.274, allocations: 1.679 MB / 1.089 GB, free: 3.305 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.001558/1.275, allocations: 1.153 MB / 1.09 GB, free: 2.164 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001766/1.277, allocations: 0.5806 MB / 1.091 GB, free: 1.574 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001197/1.277, allocations: 309.1 kB / 1.091 GB, free: 1.27 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005536/1.283, allocations: 2.336 MB / 1.093 GB, free: 14.93 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005765/1.289, allocations: 2.689 MB / 1.096 GB, free: 12.17 MB / 0.6823 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.3488/1.637, allocations: 86.69 MB / 1.18 GB, free: 5.285 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.111e-05/1.637, allocations: 4 kB / 1.18 GB, free: 5.281 MB / 0.7605 GB Notification: Performance of matching and sorting (n=386) (initialization): time 0.3815/2.019, allocations: 6.197 MB / 1.186 GB, free: 322.7 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 6.708e-05/2.019, allocations: 35.98 kB / 1.186 GB, free: 322.7 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.969e-05/2.019, allocations: 5.984 kB / 1.186 GB, free: 322.7 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002227/2.021, allocations: 0.8287 MB / 1.187 GB, free: 322.7 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005321/2.027, allocations: 0.8626 MB / 1.188 GB, free: 322.6 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01118/2.038, allocations: 6.931 MB / 1.195 GB, free: 318.9 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005493/2.043, allocations: 483.6 kB / 1.195 GB, free: 318.8 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001184/2.045, allocations: 135.8 kB / 1.195 GB, free: 318.8 MB / 0.7605 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.003487/2.048, allocations: 1.147 MB / 1.197 GB, free: 318.3 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009407/2.049, allocations: 340.6 kB / 1.197 GB, free: 318.3 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01594/2.065, allocations: 6.765 MB / 1.204 GB, free: 316.1 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.297e-05/2.065, allocations: 35.56 kB / 1.204 GB, free: 316.1 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.421e-05/2.065, allocations: 11.91 kB / 1.204 GB, free: 316.1 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01111/2.076, allocations: 5.92 MB / 1.209 GB, free: 313.9 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01997/2.096, allocations: 11.72 MB / 1.221 GB, free: 307 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-05/2.096, allocations: 4 kB / 1.221 GB, free: 307 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003965/2.1, allocations: 0.8537 MB / 1.222 GB, free: 306.1 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001459/2.102, allocations: 0.6974 MB / 1.222 GB, free: 305.4 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004594/2.102, allocations: 91.94 kB / 1.222 GB, free: 305.3 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008631/2.111, allocations: 9.192 MB / 1.231 GB, free: 295.9 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/2.111, allocations: 9.766 kB / 1.231 GB, free: 295.9 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3539/2.465, allocations: 137 MB / 1.365 GB, free: 157.9 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002901/2.468, allocations: 0.9123 MB / 1.366 GB, free: 156.9 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001214/2.469, allocations: 79.64 kB / 1.366 GB, free: 156.9 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004163/2.473, allocations: 480 kB / 1.367 GB, free: 156.4 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00094/2.474, allocations: 254.2 kB / 1.367 GB, free: 156.2 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006201/2.475, allocations: 119.9 kB / 1.367 GB, free: 156 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.002972/2.478, allocations: 2.099 MB / 1.369 GB, free: 153.9 MB / 0.7605 GB Notification: Performance of sort global known variables: time 3.51e-07/2.478, allocations: 0 / 1.369 GB, free: 153.9 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.006705/2.484, allocations: 1.798 MB / 1.371 GB, free: 152.2 MB / 0.7605 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.002819/2.487, allocations: 1.115 MB / 1.372 GB, free: 151.5 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.01255/2.5, allocations: 5.91 MB / 1.378 GB, free: 145.6 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.031e-05/2.5, allocations: 0 / 1.378 GB, free: 145.6 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.007023/2.507, allocations: 3.553 MB / 1.381 GB, free: 142 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005599/2.513, allocations: 0.9743 MB / 1.382 GB, free: 141 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0227/2.535, allocations: 14.69 MB / 1.396 GB, free: 126.2 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00384/2.539, allocations: 3.061 MB / 1.399 GB, free: 123.1 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.008601/2.548, allocations: 1.602 MB / 1.401 GB, free: 121.5 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003906/2.552, allocations: 367.2 kB / 1.401 GB, free: 121.2 MB / 0.7605 GB Notification: Performance of SimCode: time 1.042e-06/2.552, allocations: 4 kB / 1.401 GB, free: 121.2 MB / 0.7605 GB Notification: Performance of Templates: time 0.1452/2.697, allocations: 114.9 MB / 1.514 GB, free: 6.625 MB / 0.7605 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.makefile (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.sim & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe 2>&1)