Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.SimpleRoomFourElements,tolerance=1e-06,outputFormat="mat",numberOfIntervals=17520,variableFilter="time|thermalZoneFourElements.TAir",fileNamePrefix="Buildings_10_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements") translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,tolerance=1e-06,outputFormat="mat",numberOfIntervals=17520,variableFilter="time|thermalZoneFourElements.TAir",fileNamePrefix="Buildings_10_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 119 kB / 16.42 MB, free: 6.473 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.001197/0.001197, allocations: 183.9 kB / 17.35 MB, free: 5.75 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.353/1.353, allocations: 222.9 MB / 241.1 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.613/2.613, allocations: 437 MB / 0.7112 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 67.89 kB / 1.019 GB, free: 9.508 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7702/0.7717, allocations: 151.6 MB / 1.167 GB, free: 3.938 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.1629/0.9346, allocations: 165 MB / 1.328 GB, free: 14.34 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.03313/0.9677, allocations: 27.78 MB / 1.356 GB, free: 2.473 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003048/0.9708, allocations: 87.56 kB / 1.356 GB, free: 2.387 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.002577/0.9735, allocations: 1.188 MB / 1.357 GB, free: 1.191 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.005635/0.9791, allocations: 2.113 MB / 1.359 GB, free: 15.07 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.004804/0.984, allocations: 2.069 MB / 1.361 GB, free: 13.01 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.008085/0.9921, allocations: 6.57 MB / 1.367 GB, free: 6.41 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007428/0.9995, allocations: 4.926 MB / 1.372 GB, free: 1.41 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005109/1.005, allocations: 2.506 MB / 1.375 GB, free: 14.9 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005567/1.01, allocations: 3.015 MB / 1.377 GB, free: 11.88 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.002528/1.013, allocations: 0.5547 MB / 1.378 GB, free: 11.32 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004537/1.017, allocations: 1.159 MB / 1.379 GB, free: 10.16 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.002638/1.02, allocations: 1.433 MB / 1.381 GB, free: 8.723 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.005472/1.026, allocations: 2.586 MB / 1.383 GB, free: 6.125 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.01208/1.038, allocations: 7.203 MB / 1.39 GB, free: 14.9 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/1.038, allocations: 0 / 1.39 GB, free: 14.9 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.603e-06/1.038, allocations: 0 / 1.39 GB, free: 14.9 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0002168/1.038, allocations: 4 kB / 1.39 GB, free: 14.9 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 987 * Number of variables: 987 Notification: Performance of Generate backend data structure: time 0.01749/1.055, allocations: 5.429 MB / 1.395 GB, free: 9.383 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.539e-05/1.055, allocations: 12.03 kB / 1.395 GB, free: 9.371 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0147/1.07, allocations: 2.854 MB / 1.398 GB, free: 6.508 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006318/1.077, allocations: 2.642 MB / 1.401 GB, free: 3.793 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002521/1.077, allocations: 291.7 kB / 1.401 GB, free: 3.508 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00117/1.078, allocations: 380 kB / 1.401 GB, free: 3.137 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01329/1.091, allocations: 5.918 MB / 1.407 GB, free: 13.16 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.115e-05/1.091, allocations: 7.906 kB / 1.407 GB, free: 13.15 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000422/1.092, allocations: 160 kB / 1.407 GB, free: 13 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.411e-05/1.092, allocations: 92 kB / 1.407 GB, free: 12.91 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01628/1.108, allocations: 7.042 MB / 1.414 GB, free: 5.855 MB / 1.139 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.03435/1.143, allocations: 18.51 MB / 1.432 GB, free: 2.398 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01078/1.153, allocations: 4.799 MB / 1.437 GB, free: 13.6 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006292/1.16, allocations: 3.061 MB / 1.44 GB, free: 10.54 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009906/1.161, allocations: 0.6894 MB / 1.441 GB, free: 9.715 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006783/1.168, allocations: 2.97 MB / 1.444 GB, free: 6.711 MB / 1.17 GB Notification: Performance of pre-optimization done (n=336): time 6.472e-06/1.168, allocations: 0 / 1.444 GB, free: 6.711 MB / 1.17 GB Notification: Performance of matching and sorting (n=336): time 0.02623/1.194, allocations: 10.17 MB / 1.454 GB, free: 12.41 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001042/1.194, allocations: 214.6 kB / 1.454 GB, free: 12.15 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003805/1.198, allocations: 2.78 MB / 1.456 GB, free: 9.363 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0003933/1.198, allocations: 89.69 kB / 1.457 GB, free: 9.27 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.001271/1.199, allocations: 1.581 MB / 1.458 GB, free: 7.672 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.001047/1.201, allocations: 1.109 MB / 1.459 GB, free: 6.547 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001201/1.202, allocations: 0.5805 MB / 1.46 GB, free: 5.957 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 8.338e-05/1.202, allocations: 301.1 kB / 1.46 GB, free: 5.66 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005422/1.207, allocations: 2.316 MB / 1.462 GB, free: 3.34 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005889/1.213, allocations: 2.676 MB / 1.465 GB, free: 0.5859 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01143/1.225, allocations: 4.92 MB / 1.47 GB, free: 11.59 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-05/1.225, allocations: 3.938 kB / 1.47 GB, free: 11.58 MB / 1.201 GB Notification: Performance of matching and sorting (n=383) (initialization): time 0.01533/1.24, allocations: 6.102 MB / 1.476 GB, free: 5.441 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.705e-05/1.24, allocations: 4 kB / 1.476 GB, free: 5.438 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.624e-05/1.24, allocations: 4 kB / 1.476 GB, free: 5.434 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001821/1.242, allocations: 0.824 MB / 1.477 GB, free: 4.609 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004636/1.247, allocations: 0.8463 MB / 1.477 GB, free: 3.762 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01118/1.258, allocations: 7.585 MB / 1.485 GB, free: 12.03 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004729/1.263, allocations: 0.6044 MB / 1.485 GB, free: 11.42 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007337/1.263, allocations: 127.9 kB / 1.485 GB, free: 11.3 MB / 1.217 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 (319): * Single equations (assignments): 318 * 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 {(5,60,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002715/1.266, allocations: 1.08 MB / 1.487 GB, free: 10.21 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001051/1.267, allocations: 324 kB / 1.487 GB, free: 9.887 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0164/1.283, allocations: 6.738 MB / 1.493 GB, free: 3.086 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.326e-05/1.284, allocations: 19.92 kB / 1.493 GB, free: 3.066 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.765e-06/1.284, allocations: 0 / 1.493 GB, free: 3.066 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002401/1.286, allocations: 0.9491 MB / 1.494 GB, free: 2.094 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009626/1.287, allocations: 87.77 kB / 1.494 GB, free: 2.008 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003772/1.291, allocations: 431.4 kB / 1.495 GB, free: 1.586 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000649/1.291, allocations: 278.4 kB / 1.495 GB, free: 1.312 MB / 1.217 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01706/1.308, allocations: 6.575 MB / 1.502 GB, free: 10.69 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.019/1.328, allocations: 9.162 MB / 1.51 GB, free: 1.469 MB / 1.232 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005612/1.333, allocations: 2.692 MB / 1.513 GB, free: 14.77 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.002966/1.336, allocations: 2.009 MB / 1.515 GB, free: 12.75 MB / 1.248 GB Notification: Performance of Backend: time 8.82e-07/1.336, allocations: 0 / 1.515 GB, free: 12.75 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.01298/1.349, allocations: 4.776 MB / 1.52 GB, free: 8.293 MB / 1.248 GB Notification: Performance of SimCode: time 0.01448/1.364, allocations: 8.374 MB / 1.528 GB, free: 15.89 MB / 1.264 GB Notification: Performance of Templates: time 0.6127/1.976, allocations: 70.06 MB / 1.596 GB, free: 353 MB / 1.279 GB make -j1 -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.makefile (rm -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe >> ../files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.sim & ./Buildings_10_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe 2>&1)