Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.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.SimpleRoomThreeElements,tolerance=1e-06,outputFormat="mat",numberOfIntervals=17520,variableFilter="time|thermalZoneThreeElements.TAir",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements") translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements,tolerance=1e-06,outputFormat="mat",numberOfIntervals=17520,variableFilter="time|thermalZoneThreeElements.TAir",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 108.4 kB / 16.41 MB, free: 6.512 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.001775/0.001775, allocations: 186.7 kB / 17.35 MB, free: 5.723 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.421/1.421, 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.614/2.614, allocations: 469.4 MB / 0.7428 GB, free: 3.492 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 59.89 kB / 1.065 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7106/0.7119, allocations: 159.1 MB / 1.221 GB, free: 2.344 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements): time 0.1597/0.8717, allocations: 163.6 MB / 1.381 GB, free: 14.11 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.03066/0.9024, allocations: 27.4 MB / 1.407 GB, free: 2.625 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002894/0.9053, allocations: 83.56 kB / 1.407 GB, free: 2.543 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.00261/0.908, allocations: 1.13 MB / 1.409 GB, free: 1.406 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.007535/0.9155, allocations: 1.973 MB / 1.411 GB, free: 15.42 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.005237/0.9208, allocations: 1.884 MB / 1.412 GB, free: 13.55 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.007049/0.9278, allocations: 5.955 MB / 1.418 GB, free: 7.57 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005671/0.9335, allocations: 4.569 MB / 1.423 GB, free: 2.934 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003619/0.9371, allocations: 2.34 MB / 1.425 GB, free: 0.5859 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003797/0.941, allocations: 2.776 MB / 1.428 GB, free: 13.8 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.001328/0.9423, allocations: 0.5078 MB / 1.428 GB, free: 13.29 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0028/0.9451, allocations: 1.124 MB / 1.429 GB, free: 12.17 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.001637/0.9467, allocations: 1.313 MB / 1.43 GB, free: 10.85 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.003422/0.9502, allocations: 2.383 MB / 1.433 GB, free: 8.457 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.006397/0.9566, allocations: 6.669 MB / 1.439 GB, free: 1.77 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.9566, allocations: 4 kB / 1.439 GB, free: 1.766 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.392e-06/0.9566, allocations: 3.938 kB / 1.439 GB, free: 1.762 MB / 1.154 GB Notification: Performance of Transformations before backend: time 6.52e-05/0.9567, allocations: 4 kB / 1.439 GB, free: 1.758 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 908 * Number of variables: 908 Notification: Performance of Generate backend data structure: time 0.00927/0.966, allocations: 5.078 MB / 1.444 GB, free: 12.58 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.966, allocations: 8.031 kB / 1.444 GB, free: 12.57 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0137/0.9797, allocations: 2.811 MB / 1.447 GB, free: 9.754 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00474/0.9845, allocations: 2.503 MB / 1.45 GB, free: 7.176 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001889/0.9847, allocations: 271 kB / 1.45 GB, free: 6.91 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005651/0.9853, allocations: 351.9 kB / 1.45 GB, free: 6.566 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01109/0.9964, allocations: 5.58 MB / 1.456 GB, free: 0.918 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.161e-05/0.9964, allocations: 3.938 kB / 1.456 GB, free: 0.9141 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003915/0.9968, allocations: 148 kB / 1.456 GB, free: 0.7695 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.515e-05/0.9969, allocations: 88 kB / 1.456 GB, free: 0.6836 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01483/1.012, allocations: 6.716 MB / 1.462 GB, free: 9.957 MB / 1.186 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.02785/1.04, allocations: 16.86 MB / 1.479 GB, free: 8.301 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009213/1.049, allocations: 4.395 MB / 1.483 GB, free: 3.902 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00557/1.054, allocations: 2.78 MB / 1.486 GB, free: 1.117 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008899/1.055, allocations: 0.6737 MB / 1.486 GB, free: 320 kB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005992/1.061, allocations: 2.827 MB / 1.489 GB, free: 13.45 MB / 1.217 GB Notification: Performance of pre-optimization done (n=309): time 5.239e-06/1.061, allocations: 0 / 1.489 GB, free: 13.45 MB / 1.217 GB Notification: Performance of matching and sorting (n=309): time 0.02205/1.083, allocations: 8.84 MB / 1.498 GB, free: 4.496 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001066/1.084, allocations: 214.4 kB / 1.498 GB, free: 4.242 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003822/1.087, allocations: 2.656 MB / 1.501 GB, free: 1.57 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0003474/1.088, allocations: 77.81 kB / 1.501 GB, free: 1.488 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.001256/1.089, allocations: 1.483 MB / 1.502 GB, free: 15.98 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009784/1.09, allocations: 1.009 MB / 1.503 GB, free: 14.96 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001107/1.091, allocations: 0.5446 MB / 1.504 GB, free: 14.41 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 8.411e-05/1.091, allocations: 305.1 kB / 1.504 GB, free: 14.11 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005107/1.096, allocations: 2.195 MB / 1.506 GB, free: 11.91 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005603/1.102, allocations: 2.524 MB / 1.509 GB, free: 9.316 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01052/1.112, allocations: 4.649 MB / 1.513 GB, free: 4.586 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.296e-06/1.113, allocations: 0 / 1.513 GB, free: 4.586 MB / 1.232 GB Notification: Performance of matching and sorting (n=355) (initialization): time 0.01321/1.126, allocations: 5.624 MB / 1.519 GB, free: 14.91 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.849e-05/1.126, allocations: 10.02 kB / 1.519 GB, free: 14.91 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-05/1.126, allocations: 4 kB / 1.519 GB, free: 14.9 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001272/1.127, allocations: 0.5338 MB / 1.519 GB, free: 14.37 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00427/1.131, allocations: 0.8346 MB / 1.52 GB, free: 13.53 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007821/1.139, allocations: 5.736 MB / 1.526 GB, free: 7.656 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004245/1.143, allocations: 0.5827 MB / 1.526 GB, free: 7.07 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005797/1.144, allocations: 127.9 kB / 1.526 GB, free: 6.945 MB / 1.248 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 34 ($PRE.intGai.nextTimeEvent,$whenCondition1,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (310): * Single equations (assignments): 309 * Array equations: 0 * Algorithm blocks: 0 * 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 {(4,42,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002385/1.146, allocations: 1.017 MB / 1.527 GB, free: 5.918 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009545/1.147, allocations: 304.3 kB / 1.528 GB, free: 5.617 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01493/1.162, allocations: 6.261 MB / 1.534 GB, free: 15.29 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.685e-05/1.162, allocations: 15.94 kB / 1.534 GB, free: 15.28 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/1.162, allocations: 0 / 1.534 GB, free: 15.28 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002207/1.165, allocations: 0.9063 MB / 1.535 GB, free: 14.35 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007846/1.165, allocations: 75.83 kB / 1.535 GB, free: 14.27 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003592/1.169, allocations: 429.4 kB / 1.535 GB, free: 13.86 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005222/1.17, allocations: 246.2 kB / 1.535 GB, free: 13.61 MB / 1.264 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01612/1.186, allocations: 6.069 MB / 1.541 GB, free: 7.492 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01786/1.204, allocations: 8.656 MB / 1.55 GB, free: 14.77 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005242/1.209, allocations: 2.549 MB / 1.552 GB, free: 12.2 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.003416/1.212, allocations: 1.915 MB / 1.554 GB, free: 10.28 MB / 1.279 GB Notification: Performance of Backend: time 8.51e-07/1.212, allocations: 0 / 1.554 GB, free: 10.28 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.0123/1.225, allocations: 4.496 MB / 1.558 GB, free: 6.191 MB / 1.279 GB Notification: Performance of SimCode: time 0.5569/1.782, allocations: 7.679 MB / 1.566 GB, free: 330.3 MB / 1.279 GB Notification: Performance of Templates: time 0.09548/1.877, allocations: 65.62 MB / 1.63 GB, free: 286.6 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe 2>&1)