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/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=336,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=336,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001321/0.001321, allocations: 111.7 kB / 16.42 MB, free: 6.52 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.001304/0.001304, allocations: 187.9 kB / 17.35 MB, free: 5.738 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.266/1.266, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002108/0.002108, allocations: 292.7 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9115/0.9115, allocations: 169.3 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001725/0.001725, allocations: 95.84 kB / 0.6821 GB, free: 6.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3522/0.3539, allocations: 86.98 MB / 0.7671 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance): time 0.5303/0.8842, allocations: 202.4 MB / 0.9647 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01852/0.9028, allocations: 15.3 MB / 0.9797 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002924/0.9057, allocations: 95.84 kB / 0.9798 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002093/0.9078, allocations: 1.305 MB / 0.9811 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00523/0.9131, allocations: 2.71 MB / 0.9837 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00435/0.9175, allocations: 2.266 MB / 0.9859 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.005824/0.9233, allocations: 7.008 MB / 0.9928 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005981/0.9293, allocations: 5.633 MB / 0.9983 GB, free: 16.85 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004009/0.9333, allocations: 2.762 MB / 1.001 GB, free: 16.84 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004463/0.9378, allocations: 3.226 MB / 1.004 GB, free: 16.54 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0008707/0.9387, allocations: 0.6015 MB / 1.005 GB, free: 16.54 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003525/0.9422, allocations: 1.977 MB / 1.007 GB, free: 16.51 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001168/0.9434, allocations: 1.677 MB / 1.008 GB, free: 16.31 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.002772/0.9462, allocations: 2.771 MB / 1.011 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.007357/0.9536, allocations: 8.084 MB / 1.019 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.9536, allocations: 0 / 1.019 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.052e-06/0.9536, allocations: 3.938 kB / 1.019 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0001395/0.9537, allocations: 0 / 1.019 GB, free: 14.51 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1078 * Number of variables: 1078 Notification: Performance of Generate backend data structure: time 0.01136/0.9651, allocations: 5.919 MB / 1.025 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.9651, allocations: 8.094 kB / 1.025 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01486/0.98, allocations: 3.01 MB / 1.028 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004646/0.9847, allocations: 2.832 MB / 1.03 GB, free: 8.727 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002097/0.9849, allocations: 323.6 kB / 1.031 GB, free: 8.578 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007665/0.9857, allocations: 423.1 kB / 1.031 GB, free: 8.438 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01329/0.999, allocations: 6.418 MB / 1.037 GB, free: 4.758 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.402e-05/0.9991, allocations: 0 / 1.037 GB, free: 4.758 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004942/0.9996, allocations: 176.6 kB / 1.038 GB, free: 4.621 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.909e-05/0.9997, allocations: 149 kB / 1.038 GB, free: 4.605 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01716/1.017, allocations: 7.512 MB / 1.045 GB, free: 14.5 MB / 0.7481 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.03043/1.047, allocations: 19.24 MB / 1.064 GB, free: 10.9 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01034/1.058, allocations: 5.125 MB / 1.069 GB, free: 5.789 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006203/1.064, allocations: 3.288 MB / 1.072 GB, free: 2.496 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009871/1.065, allocations: 0.6989 MB / 1.073 GB, free: 1.684 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00652/1.071, allocations: 3.173 MB / 1.076 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=366): time 5.56e-06/1.071, allocations: 0 / 1.076 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of matching and sorting (n=368): time 0.04162/1.113, allocations: 16.97 MB / 1.092 GB, free: 13.37 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001225/1.113, allocations: 230.7 kB / 1.093 GB, free: 13.1 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003865/1.117, allocations: 3.018 MB / 1.096 GB, free: 10.07 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0003789/1.117, allocations: 93.69 kB / 1.096 GB, free: 9.973 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.001364/1.119, allocations: 1.728 MB / 1.097 GB, free: 8.227 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.001016/1.12, allocations: 1.209 MB / 1.098 GB, free: 7.031 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001159/1.121, allocations: 0.6226 MB / 1.099 GB, free: 6.402 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 8.221e-05/1.121, allocations: 301.1 kB / 1.099 GB, free: 6.105 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005589/1.127, allocations: 2.476 MB / 1.102 GB, free: 3.629 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005914/1.133, allocations: 2.824 MB / 1.105 GB, free: 0.7461 MB / 0.795 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.3793/1.512, allocations: 87.34 MB / 1.19 GB, free: 9.23 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/1.512, allocations: 0 / 1.19 GB, free: 9.23 MB / 0.8887 GB Notification: Performance of matching and sorting (n=414) (initialization): time 0.01534/1.527, allocations: 6.492 MB / 1.196 GB, free: 2.746 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 4.304e-05/1.527, allocations: 40.77 kB / 1.196 GB, free: 2.703 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/1.527, allocations: 0 / 1.196 GB, free: 2.703 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00177/1.529, allocations: 0.8357 MB / 1.197 GB, free: 1.867 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004574/1.534, allocations: 0.9037 MB / 1.198 GB, free: 0.9961 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01049/1.544, allocations: 7.504 MB / 1.205 GB, free: 9.391 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004559/1.549, allocations: 471.3 kB / 1.206 GB, free: 8.93 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004915/1.549, allocations: 135.9 kB / 1.206 GB, free: 8.797 MB / 0.9044 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: 39 ($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,HDirTil[2].incAng.decAng.tNext,$PRE.HDirTil[2].incAng.decAng.tNext,HDirTil[1].incAng.decAng.tNext,$PRE.HDirTil[1].incAng.decAng.tNext,HDifTil[2].incAng.decAng.tNext,$PRE.HDifTil[2].incAng.decAng.tNext,HDifTil[1].incAng.decAng.tNext,$PRE.HDifTil[1].incAng.decAng.tNext,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (349): * Single equations (assignments): 347 * 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.00255/1.552, allocations: 1.204 MB / 1.207 GB, free: 7.621 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009591/1.553, allocations: 359.5 kB / 1.207 GB, free: 7.266 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0165/1.569, allocations: 7.124 MB / 1.214 GB, free: 128 kB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01328/1.583, allocations: 6.246 MB / 1.22 GB, free: 9.793 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-05/1.583, allocations: 3.938 kB / 1.22 GB, free: 9.789 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001988/1.585, allocations: 0.9649 MB / 1.221 GB, free: 8.801 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008559/1.586, allocations: 87.81 kB / 1.221 GB, free: 8.715 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003984/1.59, allocations: 461.2 kB / 1.222 GB, free: 8.27 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006052/1.59, allocations: 302.6 kB / 1.222 GB, free: 7.973 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01744/1.608, allocations: 6.99 MB / 1.229 GB, free: 1.02 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01975/1.627, allocations: 9.794 MB / 1.239 GB, free: 7.168 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005693/1.633, allocations: 2.904 MB / 1.241 GB, free: 4.254 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.003309/1.636, allocations: 2.176 MB / 1.244 GB, free: 2.082 MB / 0.9356 GB Notification: Performance of Backend: time 3.9e-07/1.637, allocations: 0 / 1.244 GB, free: 2.082 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.01241/1.649, allocations: 5.182 MB / 1.249 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of SimCode: time 0.01443/1.663, allocations: 9.171 MB / 1.258 GB, free: 4.223 MB / 0.9512 GB Notification: Performance of Templates: time 0.4077/2.071, allocations: 78.84 MB / 1.335 GB, free: 461.5 MB / 1.014 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)