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.001224/0.001224, allocations: 115 kB / 16.42 MB, free: 6.5 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.001223/0.001223, allocations: 187.9 kB / 17.35 MB, free: 5.762 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.29/1.29, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002133/0.002133, allocations: 282.1 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.918/0.918, allocations: 169.3 MB / 0.499 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00174/0.00174, allocations: 95.86 kB / 0.6821 GB, free: 6.953 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3471/0.3489, allocations: 86.98 MB / 0.7671 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance): time 0.5317/0.8806, allocations: 202.4 MB / 0.9647 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01835/0.899, allocations: 15.3 MB / 0.9797 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00222/0.9013, allocations: 93.88 kB / 0.9798 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001997/0.9033, allocations: 1.325 MB / 0.9811 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00495/0.9083, allocations: 2.807 MB / 0.9838 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004067/0.9124, allocations: 2.256 MB / 0.986 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.005084/0.9175, allocations: 7.011 MB / 0.9929 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005225/0.9227, allocations: 5.648 MB / 0.9984 GB, free: 16.81 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002855/0.9256, allocations: 2.759 MB / 1.001 GB, free: 16.8 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003413/0.929, allocations: 3.234 MB / 1.004 GB, free: 16.49 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0007457/0.9298, allocations: 0.6041 MB / 1.005 GB, free: 16.49 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003269/0.933, allocations: 1.984 MB / 1.007 GB, free: 16.47 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001161/0.9342, allocations: 1.673 MB / 1.008 GB, free: 16.27 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.002264/0.9365, allocations: 2.772 MB / 1.011 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.006639/0.9431, allocations: 8.086 MB / 1.019 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.9431, allocations: 0 / 1.019 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.503e-06/0.9431, allocations: 0 / 1.019 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0001025/0.9433, allocations: 0 / 1.019 GB, free: 14.48 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.01086/0.9541, allocations: 5.917 MB / 1.025 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.487e-05/0.9542, allocations: 10.09 kB / 1.025 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01461/0.9688, allocations: 3.009 MB / 1.028 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004777/0.9736, allocations: 2.839 MB / 1.03 GB, free: 8.594 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001924/0.9738, allocations: 318.4 kB / 1.031 GB, free: 8.453 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006583/0.9744, allocations: 421.2 kB / 1.031 GB, free: 8.312 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01235/0.9868, allocations: 6.422 MB / 1.037 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.149e-05/0.9869, allocations: 2.938 kB / 1.037 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004944/0.9874, allocations: 169 kB / 1.038 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.931e-05/0.9875, allocations: 157.2 kB / 1.038 GB, free: 4.477 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01628/1.004, allocations: 7.506 MB / 1.045 GB, free: 14.34 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.03039/1.034, allocations: 19.25 MB / 1.064 GB, free: 10.73 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01045/1.045, allocations: 5.129 MB / 1.069 GB, free: 5.617 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006282/1.051, allocations: 3.281 MB / 1.072 GB, free: 2.328 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009835/1.052, allocations: 0.701 MB / 1.073 GB, free: 1.516 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006548/1.058, allocations: 3.174 MB / 1.076 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=366): time 5.751e-06/1.059, allocations: 4 kB / 1.076 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of matching and sorting (n=368): time 0.04062/1.099, allocations: 16.97 MB / 1.092 GB, free: 13.2 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001124/1.099, allocations: 230.7 kB / 1.093 GB, free: 12.93 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003719/1.103, allocations: 3.014 MB / 1.096 GB, free: 9.902 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0003205/1.103, allocations: 97.69 kB / 1.096 GB, free: 9.801 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.001408/1.105, allocations: 1.727 MB / 1.097 GB, free: 8.059 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.001001/1.106, allocations: 1.208 MB / 1.099 GB, free: 6.863 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001216/1.107, allocations: 0.6273 MB / 1.099 GB, free: 6.23 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.396e-05/1.107, allocations: 301.1 kB / 1.1 GB, free: 5.934 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0056/1.113, allocations: 2.473 MB / 1.102 GB, free: 3.457 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005952/1.119, allocations: 2.824 MB / 1.105 GB, free: 0.5742 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.383/1.502, allocations: 87.33 MB / 1.19 GB, free: 9.059 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/1.502, allocations: 0 / 1.19 GB, free: 9.059 MB / 0.8887 GB Notification: Performance of matching and sorting (n=414) (initialization): time 0.01474/1.516, allocations: 6.492 MB / 1.196 GB, free: 2.574 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 4.162e-05/1.516, allocations: 41.58 kB / 1.196 GB, free: 2.527 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/1.516, allocations: 0 / 1.196 GB, free: 2.527 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001746/1.518, allocations: 0.8388 MB / 1.197 GB, free: 1.691 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00453/1.523, allocations: 0.9008 MB / 1.198 GB, free: 0.8203 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01053/1.533, allocations: 7.498 MB / 1.205 GB, free: 9.215 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004397/1.538, allocations: 467.3 kB / 1.206 GB, free: 8.758 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003783/1.538, allocations: 139.9 kB / 1.206 GB, free: 8.621 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.002386/1.541, allocations: 1.195 MB / 1.207 GB, free: 7.453 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007993/1.541, allocations: 359.5 kB / 1.207 GB, free: 7.098 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01586/1.557, allocations: 7.128 MB / 1.214 GB, free: 15.95 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01302/1.57, allocations: 6.242 MB / 1.221 GB, free: 9.625 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.209e-05/1.57, allocations: 3.938 kB / 1.221 GB, free: 9.621 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002148/1.572, allocations: 0.9572 MB / 1.221 GB, free: 8.641 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007246/1.573, allocations: 94.92 kB / 1.222 GB, free: 8.551 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003708/1.577, allocations: 457.4 kB / 1.222 GB, free: 8.105 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000588/1.577, allocations: 306.5 kB / 1.222 GB, free: 7.805 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01715/1.595, allocations: 6.992 MB / 1.229 GB, free: 0.8516 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01936/1.614, allocations: 9.796 MB / 1.239 GB, free: 7 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005646/1.62, allocations: 2.9 MB / 1.241 GB, free: 4.09 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.002925/1.623, allocations: 2.176 MB / 1.244 GB, free: 1.918 MB / 0.9356 GB Notification: Performance of Backend: time 3e-07/1.623, allocations: 4 kB / 1.244 GB, free: 1.914 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0119/1.635, allocations: 5.191 MB / 1.249 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0139/1.648, allocations: 9.163 MB / 1.258 GB, free: 4.047 MB / 0.9512 GB Notification: Performance of Templates: time 0.3989/2.047, allocations: 78.83 MB / 1.335 GB, free: 461.6 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)