Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements") translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001116/0.001116, allocations: 107.4 kB / 15.22 MB, free: 0.6562 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.001264/0.001264, allocations: 193.6 kB / 16.13 MB, free: 6.566 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.35/1.35, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.764/2.764, allocations: 472.6 MB / 0.7447 GB, free: 4.957 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 61.64 kB / 0.9113 GB, free: 33.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2897/0.291, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements): time 0.1743/0.4653, allocations: 160.3 MB / 1.224 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.5744/1.04, allocations: 26.94 MB / 1.25 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00301/1.043, allocations: 73.47 kB / 1.25 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002282/1.045, allocations: 0.9467 MB / 1.251 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006842/1.052, allocations: 1.678 MB / 1.253 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005271/1.057, allocations: 1.575 MB / 1.255 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00936/1.067, allocations: 5.733 MB / 1.26 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005794/1.072, allocations: 3.875 MB / 1.264 GB, free: 21.43 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004097/1.077, allocations: 1.803 MB / 1.266 GB, free: 21.43 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004653/1.081, allocations: 2.447 MB / 1.268 GB, free: 21.42 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.00108/1.082, allocations: 252.9 kB / 1.268 GB, free: 21.42 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002839/1.085, allocations: 0.8484 MB / 1.269 GB, free: 21.4 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001073/1.086, allocations: 0.9932 MB / 1.27 GB, free: 21.25 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.003087/1.089, allocations: 1.968 MB / 1.272 GB, free: 20.64 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.007804/1.097, allocations: 5.955 MB / 1.278 GB, free: 19.84 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/1.097, allocations: 1.312 kB / 1.278 GB, free: 19.84 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.282e-06/1.097, allocations: 0 / 1.278 GB, free: 19.84 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0002056/1.097, allocations: 4 kB / 1.278 GB, free: 19.83 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.01216/1.11, allocations: 4.807 MB / 1.283 GB, free: 17.89 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/1.11, allocations: 12.95 kB / 1.283 GB, free: 17.89 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01411/1.124, allocations: 2.791 MB / 1.285 GB, free: 17.62 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005731/1.13, allocations: 2.38 MB / 1.288 GB, free: 16.98 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002331/1.13, allocations: 249.8 kB / 1.288 GB, free: 16.98 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001208/1.131, allocations: 328.4 kB / 1.288 GB, free: 16.97 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01285/1.144, allocations: 5.339 MB / 1.293 GB, free: 16.68 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.696e-05/1.144, allocations: 6.094 kB / 1.293 GB, free: 16.68 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004301/1.144, allocations: 136.7 kB / 1.293 GB, free: 16.68 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.605e-05/1.145, allocations: 84.22 kB / 1.294 GB, free: 16.68 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01492/1.159, allocations: 6.464 MB / 1.3 GB, free: 16.62 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.02813/1.188, allocations: 15.78 MB / 1.315 GB, free: 11.8 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009658/1.197, allocations: 4.861 MB / 1.32 GB, free: 10.91 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004987/1.202, allocations: 2.575 MB / 1.323 GB, free: 10.38 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009143/1.203, allocations: 0.6733 MB / 1.323 GB, free: 9.684 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005665/1.209, allocations: 2.711 MB / 1.326 GB, free: 8.773 MB / 1.014 GB Notification: Performance of pre-optimization done (n=291): time 5.2e-06/1.209, allocations: 4 kB / 1.326 GB, free: 8.77 MB / 1.014 GB Notification: Performance of matching and sorting (n=291): time 0.0216/1.231, allocations: 8.015 MB / 1.334 GB, free: 5.172 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001623/1.231, allocations: 215.5 kB / 1.334 GB, free: 4.945 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005728/1.237, allocations: 2.517 MB / 1.336 GB, free: 3.695 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0009588/1.238, allocations: 83.28 kB / 1.336 GB, free: 3.621 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001647/1.239, allocations: 1.39 MB / 1.338 GB, free: 2.414 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.001523/1.241, allocations: 0.9513 MB / 1.339 GB, free: 1.602 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001948/1.243, allocations: 0.5199 MB / 1.339 GB, free: 1.309 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001006/1.243, allocations: 308.1 kB / 1.34 GB, free: 1.008 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005422/1.248, allocations: 2.105 MB / 1.342 GB, free: 15.95 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005473/1.254, allocations: 2.416 MB / 1.344 GB, free: 14.6 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01014/1.264, allocations: 4.451 MB / 1.348 GB, free: 12.24 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.136e-05/1.264, allocations: 3.984 kB / 1.348 GB, free: 12.24 MB / 1.029 GB Notification: Performance of matching and sorting (n=336) (initialization): time 0.01287/1.277, allocations: 5.253 MB / 1.353 GB, free: 9.078 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.907e-05/1.277, allocations: 11.75 kB / 1.353 GB, free: 9.07 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.696e-05/1.277, allocations: 8.156 kB / 1.353 GB, free: 9.062 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009401/1.278, allocations: 353.1 kB / 1.354 GB, free: 8.715 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004551/1.282, allocations: 0.8196 MB / 1.355 GB, free: 7.926 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005501/1.288, allocations: 3.876 MB / 1.358 GB, free: 3.926 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005032/1.293, allocations: 0.5885 MB / 1.359 GB, free: 3.336 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009326/1.294, allocations: 119.9 kB / 1.359 GB, free: 3.219 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 (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.003489/1.297, allocations: 0.9907 MB / 1.36 GB, free: 2.246 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00155/1.299, allocations: 288.4 kB / 1.36 GB, free: 1.961 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01717/1.316, allocations: 5.907 MB / 1.366 GB, free: 12.01 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.148e-05/1.316, allocations: 32 kB / 1.366 GB, free: 11.98 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.378e-05/1.316, allocations: 4 kB / 1.366 GB, free: 11.97 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.454e-05/1.316, allocations: 15.94 kB / 1.366 GB, free: 11.96 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007636/1.324, allocations: 3.85 MB / 1.37 GB, free: 8.129 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-05/1.324, allocations: 4 kB / 1.37 GB, free: 8.125 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004387/1.328, allocations: 0.7516 MB / 1.371 GB, free: 7.398 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001281/1.33, allocations: 378.5 kB / 1.371 GB, free: 7.02 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00069/1.33, allocations: 83.92 kB / 1.371 GB, free: 6.938 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00652/1.337, allocations: 5.802 MB / 1.377 GB, free: 0.875 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/1.337, allocations: 0 / 1.377 GB, free: 0.875 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0212/1.358, allocations: 8.426 MB / 1.385 GB, free: 8.379 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002749/1.361, allocations: 0.8599 MB / 1.386 GB, free: 7.496 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001393/1.362, allocations: 71.98 kB / 1.386 GB, free: 7.426 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004417/1.367, allocations: 449.1 kB / 1.386 GB, free: 6.988 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008748/1.368, allocations: 217.1 kB / 1.386 GB, free: 6.777 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006308/1.368, allocations: 115.9 kB / 1.387 GB, free: 6.664 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.003738/1.372, allocations: 1.826 MB / 1.388 GB, free: 4.828 MB / 1.061 GB Notification: Performance of sort global known variables: time 6.21e-07/1.372, allocations: 0 / 1.388 GB, free: 4.828 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.004975/1.377, allocations: 1.126 MB / 1.389 GB, free: 3.699 MB / 1.061 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.003234/1.38, allocations: 1.05 MB / 1.39 GB, free: 3.039 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.01288/1.393, allocations: 5.125 MB / 1.395 GB, free: 13.91 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/1.393, allocations: 2.906 kB / 1.396 GB, free: 13.91 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.00731/1.401, allocations: 2.917 MB / 1.398 GB, free: 11.01 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004726/1.405, allocations: 0.6864 MB / 1.399 GB, free: 10.34 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.01882/1.424, allocations: 9.859 MB / 1.409 GB, free: 472 kB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00332/1.428, allocations: 2.534 MB / 1.411 GB, free: 13.9 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.006488/1.434, allocations: 1.152 MB / 1.412 GB, free: 12.74 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001845/1.436, allocations: 287.2 kB / 1.413 GB, free: 12.46 MB / 1.092 GB Notification: Performance of SimCode: time 1.453e-06/1.436, allocations: 0 / 1.413 GB, free: 12.46 MB / 1.092 GB Notification: Performance of Templates: time 0.08559/1.522, allocations: 48.88 MB / 1.46 GB, free: 12.14 MB / 1.139 GB make -j1 -f Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.makefile (rm -f Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; mkfifo Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe >> ../files/Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.sim & ./Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe 2>&1)