Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=336,variableFilter="time|thermalZoneFourElements.TAir|thermalZoneFourElements.volAir.C.1.",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance") translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=336,variableFilter="time|thermalZoneFourElements.TAir|thermalZoneFourElements.volAir.C.1.",fileNamePrefix="Buildings_latest_Buildings.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.001548/0.001547, allocations: 115.2 kB / 16.42 MB, free: 6.488 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.001193/0.001194, allocations: 185.7 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.292/1.292, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.422/2.422, allocations: 461.9 MB / 0.7355 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001933, allocations: 67.89 kB / 1.055 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.736/0.738, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance): time 0.2075/0.9455, allocations: 204 MB / 1.408 GB, free: 0.8672 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.02458/0.9701, allocations: 15.5 MB / 1.423 GB, free: 1.324 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003892/0.974, allocations: 91.56 kB / 1.423 GB, free: 1.234 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.003661/0.9777, allocations: 1.39 MB / 1.424 GB, free: 15.83 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.008529/0.9863, allocations: 2.906 MB / 1.427 GB, free: 12.92 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.006139/0.9925, allocations: 2.286 MB / 1.429 GB, free: 10.64 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.009915/1.002, allocations: 7.444 MB / 1.437 GB, free: 3.18 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01026/1.013, allocations: 5.559 MB / 1.442 GB, free: 13.53 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005703/1.018, allocations: 2.831 MB / 1.445 GB, free: 10.69 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005829/1.024, allocations: 3.285 MB / 1.448 GB, free: 7.391 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.002115/1.026, allocations: 0.6093 MB / 1.449 GB, free: 6.781 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005339/1.032, allocations: 1.989 MB / 1.451 GB, free: 4.789 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.002668/1.034, allocations: 1.675 MB / 1.452 GB, free: 3.109 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.004754/1.039, allocations: 2.85 MB / 1.455 GB, free: 252 kB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.01116/1.05, allocations: 8.225 MB / 1.463 GB, free: 7.992 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/1.05, allocations: 0 / 1.463 GB, free: 7.992 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.904e-06/1.05, allocations: 0 / 1.463 GB, free: 7.992 MB / 1.186 GB Notification: Performance of Transformations before backend: time 0.0002919/1.051, allocations: 0 / 1.463 GB, free: 7.992 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1080 * Number of variables: 1080 Notification: Performance of Generate backend data structure: time 0.01502/1.066, allocations: 5.979 MB / 1.469 GB, free: 1.918 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/1.066, allocations: 8.031 kB / 1.469 GB, free: 1.91 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01501/1.081, allocations: 3.02 MB / 1.472 GB, free: 14.88 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006115/1.087, allocations: 2.852 MB / 1.475 GB, free: 11.95 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003085/1.087, allocations: 320.4 kB / 1.475 GB, free: 11.64 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001499/1.089, allocations: 419.9 kB / 1.475 GB, free: 11.23 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01768/1.107, allocations: 6.428 MB / 1.482 GB, free: 4.699 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001605/1.107, allocations: 7.938 kB / 1.482 GB, free: 4.691 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001082/1.108, allocations: 175.9 kB / 1.482 GB, free: 4.52 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001347/1.108, allocations: 144.2 kB / 1.482 GB, free: 4.375 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01757/1.126, allocations: 7.517 MB / 1.489 GB, free: 12.84 MB / 1.217 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.03585/1.161, allocations: 20.06 MB / 1.509 GB, free: 7.84 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01166/1.173, allocations: 5.143 MB / 1.514 GB, free: 2.695 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006942/1.18, allocations: 3.285 MB / 1.517 GB, free: 15.4 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001148/1.181, allocations: 0.7015 MB / 1.518 GB, free: 14.57 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007543/1.189, allocations: 3.188 MB / 1.521 GB, free: 11.35 MB / 1.248 GB Notification: Performance of pre-optimization done (n=366): time 6.963e-06/1.189, allocations: 0 / 1.521 GB, free: 11.35 MB / 1.248 GB Notification: Performance of matching and sorting (n=368): time 0.044/1.233, allocations: 16.98 MB / 1.537 GB, free: 10.18 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001076/1.233, allocations: 226.7 kB / 1.538 GB, free: 9.914 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004438/1.238, allocations: 3.047 MB / 1.541 GB, free: 6.855 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.0007163/1.238, allocations: 89.7 kB / 1.541 GB, free: 6.762 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0016/1.24, allocations: 1.74 MB / 1.542 GB, free: 5.004 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.001541/1.241, allocations: 1.205 MB / 1.544 GB, free: 3.781 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001949/1.243, allocations: 0.6165 MB / 1.544 GB, free: 3.156 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 9.542e-05/1.243, allocations: 305.2 kB / 1.544 GB, free: 2.855 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005641/1.249, allocations: 2.481 MB / 1.547 GB, free: 380 kB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005935/1.255, allocations: 2.837 MB / 1.55 GB, free: 13.47 MB / 1.279 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.9084/2.164, allocations: 87.34 MB / 1.635 GB, free: 288 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.523e-06/2.164, allocations: 4 kB / 1.635 GB, free: 288 MB / 1.279 GB Notification: Performance of matching and sorting (n=414) (initialization): time 0.01176/2.175, allocations: 6.505 MB / 1.641 GB, free: 281.6 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 3.413e-05/2.175, allocations: 33.7 kB / 1.641 GB, free: 281.6 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/2.175, allocations: 0 / 1.641 GB, free: 281.6 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00145/2.177, allocations: 0.8357 MB / 1.642 GB, free: 280.8 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003954/2.181, allocations: 0.9086 MB / 1.643 GB, free: 279.9 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007913/2.189, allocations: 7.509 MB / 1.65 GB, free: 272.3 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004121/2.193, allocations: 461.5 kB / 1.651 GB, free: 271.9 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004186/2.193, allocations: 139.9 kB / 1.651 GB, free: 271.8 MB / 1.279 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.001999/2.195, allocations: 1.186 MB / 1.652 GB, free: 270.6 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006291/2.196, allocations: 363.9 kB / 1.652 GB, free: 270.4 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01336/2.209, allocations: 7.14 MB / 1.659 GB, free: 263.2 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01111/2.22, allocations: 6.247 MB / 1.665 GB, free: 256.9 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-05/2.221, allocations: 0 / 1.665 GB, free: 256.9 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00195/2.222, allocations: 0.9673 MB / 1.666 GB, free: 256 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006567/2.223, allocations: 90.64 kB / 1.667 GB, free: 256 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00343/2.227, allocations: 459.3 kB / 1.667 GB, free: 255.5 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005401/2.227, allocations: 298.6 kB / 1.667 GB, free: 255.2 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01459/2.242, allocations: 6.98 MB / 1.674 GB, free: 248.3 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01631/2.258, allocations: 9.797 MB / 1.684 GB, free: 238.4 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004825/2.263, allocations: 2.908 MB / 1.686 GB, free: 235.5 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.002476/2.265, allocations: 2.198 MB / 1.689 GB, free: 233.3 MB / 1.279 GB Notification: Performance of Backend: time 7.61e-07/2.265, allocations: 0 / 1.689 GB, free: 233.3 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.01066/2.276, allocations: 5.19 MB / 1.694 GB, free: 228.7 MB / 1.279 GB Notification: Performance of SimCode: time 0.01126/2.287, allocations: 9.237 MB / 1.703 GB, free: 219.5 MB / 1.279 GB Notification: Performance of Templates: time 0.09228/2.38, allocations: 78.33 MB / 1.779 GB, free: 141.8 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe 2>&1)