Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements") translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.315/1.315, allocations: 222.9 MB / 240.2 MB, free: 4.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.689/2.689, allocations: 472.6 MB / 0.7451 GB, free: 4.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 61.97 kB / 0.912 GB, free: 33.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2806/0.2818, allocations: 159.9 MB / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements): time 0.1683/0.4501, allocations: 162.6 MB / 1.227 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.5673/1.017, allocations: 27.11 MB / 1.253 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004986/1.022, allocations: 72.72 kB / 1.254 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002857/1.025, allocations: 1.083 MB / 1.255 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005668/1.031, allocations: 1.843 MB / 1.256 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004783/1.036, allocations: 1.782 MB / 1.258 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.007395/1.043, allocations: 5.522 MB / 1.264 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007199/1.05, allocations: 4.327 MB / 1.268 GB, free: 21.24 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004788/1.055, allocations: 2.189 MB / 1.27 GB, free: 21.23 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005171/1.06, allocations: 2.62 MB / 1.272 GB, free: 21.2 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.002298/1.063, allocations: 484.9 kB / 1.273 GB, free: 21.2 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005372/1.068, allocations: 1.061 MB / 1.274 GB, free: 21.18 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.002999/1.071, allocations: 1.238 MB / 1.275 GB, free: 21.03 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.005701/1.077, allocations: 2.232 MB / 1.277 GB, free: 20.41 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01065/1.088, allocations: 6.156 MB / 1.283 GB, free: 19.61 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/1.088, allocations: 2.531 kB / 1.283 GB, free: 19.61 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.214e-06/1.088, allocations: 2.594 kB / 1.283 GB, free: 19.61 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0002911/1.088, allocations: 0 / 1.283 GB, free: 19.61 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 852 * Number of variables: 852 Notification: Performance of Generate backend data structure: time 0.0148/1.103, allocations: 4.81 MB / 1.288 GB, free: 17.69 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/1.103, allocations: 9.219 kB / 1.288 GB, free: 17.69 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01435/1.117, allocations: 2.783 MB / 1.291 GB, free: 17.47 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006158/1.123, allocations: 2.368 MB / 1.293 GB, free: 16.84 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003031/1.124, allocations: 247.5 kB / 1.293 GB, free: 16.83 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001558/1.125, allocations: 328.5 kB / 1.294 GB, free: 16.83 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01392/1.139, allocations: 5.337 MB / 1.299 GB, free: 16.56 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.668e-05/1.139, allocations: 4.531 kB / 1.299 GB, free: 16.56 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004525/1.14, allocations: 138.2 kB / 1.299 GB, free: 16.56 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.64e-05/1.14, allocations: 83.69 kB / 1.299 GB, free: 16.56 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01449/1.154, allocations: 6.466 MB / 1.305 GB, free: 16.53 MB / 1.014 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.02476/1.179, allocations: 15.82 MB / 1.321 GB, free: 11.7 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00984/1.189, allocations: 4.869 MB / 1.326 GB, free: 10.66 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005061/1.194, allocations: 2.577 MB / 1.328 GB, free: 9.359 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008931/1.195, allocations: 0.6696 MB / 1.329 GB, free: 8.652 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005496/1.201, allocations: 2.721 MB / 1.331 GB, free: 7.082 MB / 1.014 GB Notification: Performance of pre-optimization done (n=291): time 5.11e-06/1.201, allocations: 0 / 1.331 GB, free: 7.082 MB / 1.014 GB Notification: Performance of matching and sorting (n=291): time 0.01936/1.22, allocations: 8.013 MB / 1.339 GB, free: 2.902 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001057/1.22, allocations: 211.3 kB / 1.339 GB, free: 2.68 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004032/1.224, allocations: 2.526 MB / 1.342 GB, free: 1.422 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0003905/1.224, allocations: 82.67 kB / 1.342 GB, free: 1.352 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001196/1.226, allocations: 1.386 MB / 1.343 GB, free: 152 kB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.001009/1.227, allocations: 0.9499 MB / 1.344 GB, free: 15.33 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001025/1.228, allocations: 0.5223 MB / 1.345 GB, free: 15.04 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 9.638e-05/1.228, allocations: 305.1 kB / 1.345 GB, free: 14.73 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004784/1.233, allocations: 2.107 MB / 1.347 GB, free: 13.67 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005265/1.238, allocations: 2.423 MB / 1.349 GB, free: 12.32 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01035/1.248, allocations: 4.442 MB / 1.354 GB, free: 9.973 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.247e-05/1.248, allocations: 2.938 kB / 1.354 GB, free: 9.973 MB / 1.029 GB Notification: Performance of matching and sorting (n=336) (initialization): time 0.01343/1.262, allocations: 5.249 MB / 1.359 GB, free: 5.531 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.931e-05/1.262, allocations: 12.16 kB / 1.359 GB, free: 5.52 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.639e-05/1.262, allocations: 4.078 kB / 1.359 GB, free: 5.516 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008879/1.263, allocations: 357.4 kB / 1.359 GB, free: 5.164 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004432/1.267, allocations: 0.8197 MB / 1.36 GB, free: 4.371 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005496/1.273, allocations: 4.222 MB / 1.364 GB, free: 28 kB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004615/1.277, allocations: 0.5696 MB / 1.365 GB, free: 15.46 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000725/1.278, allocations: 127.1 kB / 1.365 GB, free: 15.34 MB / 1.045 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 (306): * Single equations (assignments): 305 * 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 {(3,28,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002855/1.281, allocations: 0.9826 MB / 1.366 GB, free: 14.37 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001274/1.282, allocations: 288.4 kB / 1.366 GB, free: 14.09 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01655/1.299, allocations: 5.904 MB / 1.372 GB, free: 8.141 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.812e-05/1.299, allocations: 28 kB / 1.372 GB, free: 8.113 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.41e-05/1.299, allocations: 4 kB / 1.372 GB, free: 8.109 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.878e-05/1.299, allocations: 19.94 kB / 1.372 GB, free: 8.09 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007503/1.306, allocations: 3.869 MB / 1.376 GB, free: 4.25 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.341e-05/1.307, allocations: 0 / 1.376 GB, free: 4.25 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00441/1.311, allocations: 0.7463 MB / 1.376 GB, free: 3.527 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001215/1.312, allocations: 384.2 kB / 1.377 GB, free: 3.145 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000743/1.313, allocations: 83.92 kB / 1.377 GB, free: 3.062 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006699/1.32, allocations: 6.31 MB / 1.383 GB, free: 12.48 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/1.32, allocations: 0 / 1.383 GB, free: 12.48 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02087/1.341, allocations: 8.412 MB / 1.391 GB, free: 3.996 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0026/1.343, allocations: 0.8638 MB / 1.392 GB, free: 3.109 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001041/1.344, allocations: 75.83 kB / 1.392 GB, free: 3.035 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003931/1.348, allocations: 422.3 kB / 1.393 GB, free: 2.625 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005845/1.349, allocations: 210.1 kB / 1.393 GB, free: 2.418 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003576/1.349, allocations: 107.9 kB / 1.393 GB, free: 2.312 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.003238/1.352, allocations: 1.838 MB / 1.395 GB, free: 476 kB / 1.061 GB Notification: Performance of sort global known variables: time 5.11e-07/1.352, allocations: 0 / 1.395 GB, free: 476 kB / 1.061 GB Notification: Performance of remove unused functions: time 0.00378/1.356, allocations: 1.131 MB / 1.396 GB, free: 15.33 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.volAir.dynBal.U,thermalZoneTwoElements.volAir.dynBal.m,thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T) * Number of discrete variables: 21 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifTil[1].incAng.decAng.tNext,HDifTil[2].incAng.decAng.tNext,HDirTil[1].incAng.decAng.tNext,HDirTil[2].incAng.decAng.tNext,intGai.nextTimeEvent,intGai.nextTimeEventScaled) * Number of discrete states: 11 (intGai.nextTimeEventScaled,intGai.nextTimeEvent,HDirTil[2].incAng.decAng.tNext,HDirTil[1].incAng.decAng.tNext,HDifTil[2].incAng.decAng.tNext,HDifTil[1].incAng.decAng.tNext,weaDat.decAng.tNext,weaDat.eqnTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.tNext,weaDat.locTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (279): * Single equations (assignments): 265 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 11 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,25,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002774/1.359, allocations: 1.059 MB / 1.397 GB, free: 14.67 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0239/1.383, allocations: 8.928 MB / 1.406 GB, free: 5.77 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/1.383, allocations: 0 / 1.406 GB, free: 5.77 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.007551/1.391, allocations: 2.926 MB / 1.408 GB, free: 2.863 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004797/1.395, allocations: 0.7191 MB / 1.409 GB, free: 2.18 MB / 1.076 GB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01692/1.412, allocations: 8.359 MB / 1.417 GB, free: 9.797 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002653/1.415, allocations: 2.536 MB / 1.42 GB, free: 7.234 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.005273/1.42, allocations: 1.162 MB / 1.421 GB, free: 6.07 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001509/1.422, allocations: 287.2 kB / 1.421 GB, free: 5.789 MB / 1.092 GB Notification: Performance of SimCode: time 7.21e-07/1.422, allocations: 0 / 1.421 GB, free: 5.789 MB / 1.092 GB Notification: Performance of Templates: time 0.08395/1.506, allocations: 50.97 MB / 1.471 GB, free: 3.375 MB / 1.139 GB make -j1 -f Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.makefile (rm -f Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; mkfifo Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; head -c 1048576 < Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe >> ../files/Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.sim & ./Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe 2>&1)