Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.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.SimpleRoomOneElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement") translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008414/0.0008416, allocations: 91.06 kB / 15.36 MB, free: 0.7383 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.005099/0.0051, allocations: 172.5 kB / 16.26 MB, free: 6.613 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.354/1.354, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.719/2.719, allocations: 473.4 MB / 0.7469 GB, free: 6.051 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003138/0.0003138, allocations: 11.53 kB / 0.9158 GB, free: 33.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2757/0.276, allocations: 162.2 MB / 1.074 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.157/0.4331, allocations: 157.4 MB / 1.228 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.5633/0.9964, allocations: 26.48 MB / 1.254 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002963/0.9994, allocations: 64.53 kB / 1.254 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002191/1.002, allocations: 0.9195 MB / 1.255 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005004/1.007, allocations: 1.616 MB / 1.256 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003706/1.01, allocations: 1.526 MB / 1.258 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.006681/1.017, allocations: 5.465 MB / 1.263 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004464/1.022, allocations: 3.391 MB / 1.266 GB, free: 21.91 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002533/1.024, allocations: 1.44 MB / 1.268 GB, free: 21.9 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002915/1.027, allocations: 1.974 MB / 1.27 GB, free: 21.89 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0004584/1.027, allocations: 108.5 kB / 1.27 GB, free: 21.89 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002043/1.03, allocations: 0.7079 MB / 1.27 GB, free: 21.88 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0008624/1.03, allocations: 0.7361 MB / 1.271 GB, free: 21.88 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.002289/1.033, allocations: 1.657 MB / 1.273 GB, free: 21.73 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00891/1.042, allocations: 5.478 MB / 1.278 GB, free: 20.96 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/1.042, allocations: 0 / 1.278 GB, free: 20.96 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.424e-06/1.042, allocations: 0 / 1.278 GB, free: 20.96 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0002743/1.042, allocations: 1.062 kB / 1.278 GB, free: 20.96 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: 816 * Number of variables: 816 Notification: Performance of Generate backend data structure: time 0.01093/1.053, allocations: 3.95 MB / 1.282 GB, free: 19.16 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/1.053, allocations: 9.5 kB / 1.282 GB, free: 19.16 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01464/1.068, allocations: 2.891 MB / 1.285 GB, free: 18.89 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005428/1.073, allocations: 2.295 MB / 1.287 GB, free: 18.28 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002277/1.073, allocations: 240.2 kB / 1.287 GB, free: 18.27 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001012/1.074, allocations: 314 kB / 1.288 GB, free: 18.27 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01277/1.087, allocations: 5.205 MB / 1.293 GB, free: 17.97 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.418e-05/1.087, allocations: 4.562 kB / 1.293 GB, free: 17.97 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004543/1.088, allocations: 130.8 kB / 1.293 GB, free: 17.97 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-05/1.088, allocations: 76.81 kB / 1.293 GB, free: 17.97 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01569/1.103, allocations: 6.378 MB / 1.299 GB, free: 17.9 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.03152/1.135, allocations: 14.96 MB / 1.314 GB, free: 13.24 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009862/1.145, allocations: 4.72 MB / 1.318 GB, free: 12.22 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004771/1.15, allocations: 2.436 MB / 1.321 GB, free: 11.7 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008736/1.151, allocations: 0.6756 MB / 1.321 GB, free: 11 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005316/1.156, allocations: 2.625 MB / 1.324 GB, free: 10.11 MB / 1.014 GB Notification: Performance of pre-optimization done (n=278): time 4.608e-06/1.156, allocations: 0 / 1.324 GB, free: 10.11 MB / 1.014 GB Notification: Performance of matching and sorting (n=278): time 0.0169/1.173, allocations: 7.433 MB / 1.331 GB, free: 7.969 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001264/1.173, allocations: 209.3 kB / 1.331 GB, free: 7.746 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003652/1.177, allocations: 2.43 MB / 1.334 GB, free: 7.152 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0006508/1.177, allocations: 79.67 kB / 1.334 GB, free: 7.121 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001212/1.179, allocations: 1.338 MB / 1.335 GB, free: 6.48 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.001097/1.18, allocations: 0.9054 MB / 1.336 GB, free: 5.828 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003523/1.18, allocations: 197.8 kB / 1.336 GB, free: 5.785 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001059/1.18, allocations: 301.1 kB / 1.337 GB, free: 5.488 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004902/1.185, allocations: 2.043 MB / 1.339 GB, free: 5.008 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005154/1.19, allocations: 2.347 MB / 1.341 GB, free: 3.699 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009881/1.2, allocations: 4.293 MB / 1.345 GB, free: 1.43 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.658e-06/1.2, allocations: 5.812 kB / 1.345 GB, free: 1.43 MB / 1.014 GB Notification: Performance of matching and sorting (n=322) (initialization): time 0.01139/1.212, allocations: 5.011 MB / 1.35 GB, free: 14.93 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.693e-05/1.212, allocations: 10.61 kB / 1.35 GB, free: 14.93 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/1.212, allocations: 5.406 kB / 1.35 GB, free: 14.93 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005851/1.212, allocations: 238.6 kB / 1.35 GB, free: 14.83 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003904/1.216, allocations: 0.8148 MB / 1.351 GB, free: 14.58 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003646/1.22, allocations: 3.094 MB / 1.354 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004076/1.224, allocations: 0.5886 MB / 1.355 GB, free: 11.83 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003037/1.224, allocations: 125.3 kB / 1.355 GB, free: 11.78 MB / 1.029 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 (300): * Single equations (assignments): 299 * 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 {(2,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002125/1.226, allocations: 0.9462 MB / 1.356 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005864/1.227, allocations: 274.8 kB / 1.356 GB, free: 11.08 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0132/1.24, allocations: 5.644 MB / 1.361 GB, free: 6.285 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.31e-05/1.24, allocations: 28 kB / 1.361 GB, free: 6.258 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/1.24, allocations: 4 kB / 1.361 GB, free: 6.254 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.786e-05/1.24, allocations: 15.95 kB / 1.361 GB, free: 6.238 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006175/1.246, allocations: 3.691 MB / 1.365 GB, free: 2.559 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.123e-05/1.246, allocations: 0 / 1.365 GB, free: 2.559 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00421/1.251, allocations: 0.7435 MB / 1.366 GB, free: 1.84 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008579/1.252, allocations: 258.4 kB / 1.366 GB, free: 1.578 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004201/1.252, allocations: 83.92 kB / 1.366 GB, free: 1.496 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004713/1.257, allocations: 4.812 MB / 1.371 GB, free: 12.42 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/1.257, allocations: 0 / 1.371 GB, free: 12.42 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0192/1.276, allocations: 8.051 MB / 1.379 GB, free: 4.293 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002261/1.278, allocations: 0.8676 MB / 1.379 GB, free: 3.402 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005054/1.279, allocations: 60.27 kB / 1.38 GB, free: 3.344 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003379/1.282, allocations: 473.7 kB / 1.38 GB, free: 2.883 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004471/1.283, allocations: 198 kB / 1.38 GB, free: 2.688 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002672/1.283, allocations: 103.9 kB / 1.38 GB, free: 2.586 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.002491/1.285, allocations: 1.773 MB / 1.382 GB, free: 0.8008 MB / 1.045 GB Notification: Performance of sort global known variables: time 2.6e-07/1.285, allocations: 7.562 kB / 1.382 GB, free: 0.7969 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.003058/1.288, allocations: 1.068 MB / 1.383 GB, free: 15.72 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (thermalZoneOneElement.volAir.dynBal.U,thermalZoneOneElement.volAir.dynBal.m,thermalZoneOneElement.extWallRC.thermCapExt[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 (276): * Single equations (assignments): 262 * 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 {(2,16,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.002424/1.291, allocations: 1.047 MB / 1.384 GB, free: 15.07 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.01093/1.302, allocations: 4.912 MB / 1.389 GB, free: 10.16 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/1.302, allocations: 0 / 1.389 GB, free: 10.16 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.005777/1.308, allocations: 2.782 MB / 1.392 GB, free: 7.391 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003541/1.311, allocations: 0.6583 MB / 1.392 GB, free: 6.746 MB / 1.061 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.01551/1.327, allocations: 9.54 MB / 1.402 GB, free: 13.17 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002129/1.329, allocations: 2.454 MB / 1.404 GB, free: 10.68 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.004625/1.333, allocations: 1.14 MB / 1.405 GB, free: 9.539 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001219/1.335, allocations: 279.2 kB / 1.405 GB, free: 9.266 MB / 1.076 GB Notification: Performance of SimCode: time 8.32e-07/1.335, allocations: 2.906 kB / 1.405 GB, free: 9.266 MB / 1.076 GB Notification: Performance of Templates: time 0.07995/1.415, allocations: 45.67 MB / 1.45 GB, free: 12.12 MB / 1.123 GB make -j1 -f Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.makefile (rm -f Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; mkfifo Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe >> ../files/Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.sim & ./Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe 2>&1)