Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 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.SimpleRoomThreeElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements") translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_1.6_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.0008501/0.0008504, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.006009/0.006009, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.374/1.374, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.807/2.807, allocations: 473.4 MB / 0.7469 GB, free: 6.098 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003172/0.0003171, allocations: 14.38 kB / 0.9158 GB, free: 33.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2801/0.2804, allocations: 162.2 MB / 1.074 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements): time 0.1709/0.4514, allocations: 159 MB / 1.229 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.6261/1.078, allocations: 26.89 MB / 1.256 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004016/1.082, allocations: 69.91 kB / 1.256 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002938/1.085, allocations: 0.9884 MB / 1.257 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.007376/1.092, allocations: 1.758 MB / 1.258 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00523/1.097, allocations: 1.659 MB / 1.26 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.009008/1.106, allocations: 6.14 MB / 1.266 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006258/1.113, allocations: 3.728 MB / 1.27 GB, free: 21.38 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004091/1.117, allocations: 1.591 MB / 1.271 GB, free: 21.38 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004951/1.122, allocations: 2.182 MB / 1.273 GB, free: 21.37 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0009267/1.123, allocations: 130.4 kB / 1.273 GB, free: 21.37 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00413/1.127, allocations: 0.7259 MB / 1.274 GB, free: 21.35 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001482/1.128, allocations: 0.8409 MB / 1.275 GB, free: 21.34 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.00502/1.133, allocations: 1.861 MB / 1.277 GB, free: 21.05 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.009386/1.143, allocations: 6.12 MB / 1.283 GB, free: 20.2 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/1.143, allocations: 1 kB / 1.283 GB, free: 20.2 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.484e-06/1.143, allocations: 0 / 1.283 GB, free: 20.2 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0002273/1.143, allocations: 0 / 1.283 GB, free: 20.2 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: 908 * Number of variables: 908 Notification: Performance of Generate backend data structure: time 0.01212/1.155, allocations: 4.331 MB / 1.287 GB, free: 18.24 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/1.155, allocations: 9.406 kB / 1.287 GB, free: 18.24 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01487/1.17, allocations: 2.936 MB / 1.29 GB, free: 17.95 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006204/1.176, allocations: 2.489 MB / 1.292 GB, free: 17.29 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002207/1.177, allocations: 266.1 kB / 1.293 GB, free: 17.28 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001019/1.178, allocations: 348.6 kB / 1.293 GB, free: 17.28 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01383/1.191, allocations: 5.624 MB / 1.298 GB, free: 16.99 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.489e-05/1.192, allocations: 4.797 kB / 1.298 GB, free: 16.99 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004445/1.192, allocations: 148.2 kB / 1.299 GB, free: 16.99 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.119e-05/1.192, allocations: 90.12 kB / 1.299 GB, free: 16.98 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01631/1.208, allocations: 6.798 MB / 1.305 GB, free: 16.91 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.02808/1.237, allocations: 17.02 MB / 1.322 GB, free: 9.922 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008712/1.245, allocations: 4.402 MB / 1.326 GB, free: 9.035 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005328/1.251, allocations: 2.791 MB / 1.329 GB, free: 8.48 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00089/1.252, allocations: 0.677 MB / 1.33 GB, free: 7.777 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005676/1.257, allocations: 2.832 MB / 1.332 GB, free: 6.84 MB / 1.014 GB Notification: Performance of pre-optimization done (n=309): time 5.581e-06/1.257, allocations: 0 / 1.332 GB, free: 6.84 MB / 1.014 GB Notification: Performance of matching and sorting (n=309): time 0.02489/1.282, allocations: 8.907 MB / 1.341 GB, free: 3.953 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000122/1.282, allocations: 215.6 kB / 1.341 GB, free: 3.727 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003653/1.286, allocations: 2.648 MB / 1.344 GB, free: 2.418 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0003577/1.286, allocations: 80.86 kB / 1.344 GB, free: 2.348 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001388/1.288, allocations: 1.474 MB / 1.345 GB, free: 1.07 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.001032/1.289, allocations: 1.01 MB / 1.346 GB, free: 208 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003953/1.289, allocations: 224.5 kB / 1.347 GB, free: 68 kB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001027/1.289, allocations: 305.1 kB / 1.347 GB, free: 15.77 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005313/1.295, allocations: 2.206 MB / 1.349 GB, free: 14.65 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005096/1.3, allocations: 2.53 MB / 1.351 GB, free: 13.25 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009727/1.309, allocations: 4.656 MB / 1.356 GB, free: 10.79 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.675e-06/1.309, allocations: 3.312 kB / 1.356 GB, free: 10.79 MB / 1.029 GB Notification: Performance of matching and sorting (n=355) (initialization): time 0.01239/1.322, allocations: 5.634 MB / 1.361 GB, free: 7.027 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.963e-05/1.322, allocations: 8 kB / 1.361 GB, free: 7.02 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.866e-05/1.322, allocations: 8.156 kB / 1.361 GB, free: 7.012 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001331/1.323, allocations: 0.5415 MB / 1.362 GB, free: 6.469 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004367/1.328, allocations: 0.8311 MB / 1.363 GB, free: 5.668 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007437/1.335, allocations: 5.306 MB / 1.368 GB, free: 248 kB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004822/1.34, allocations: 0.6257 MB / 1.369 GB, free: 15.61 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003472/1.34, allocations: 123.9 kB / 1.369 GB, free: 15.49 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 (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.002521/1.343, allocations: 1.019 MB / 1.37 GB, free: 14.49 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007247/1.344, allocations: 304.2 kB / 1.37 GB, free: 14.19 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01474/1.358, allocations: 6.275 MB / 1.376 GB, free: 7.883 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.071e-05/1.358, allocations: 28 kB / 1.376 GB, free: 7.855 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-05/1.358, allocations: 8 kB / 1.376 GB, free: 7.848 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.633e-05/1.358, allocations: 15.94 kB / 1.376 GB, free: 7.832 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006225/1.365, allocations: 4.078 MB / 1.38 GB, free: 3.77 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.046e-05/1.365, allocations: 0 / 1.38 GB, free: 3.77 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004074/1.369, allocations: 0.7747 MB / 1.381 GB, free: 3.02 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001446/1.37, allocations: 0.5264 MB / 1.381 GB, free: 2.484 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003687/1.371, allocations: 87.86 kB / 1.382 GB, free: 2.398 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007947/1.379, allocations: 6.963 MB / 1.388 GB, free: 11.16 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/1.379, allocations: 96 / 1.388 GB, free: 11.16 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02013/1.399, allocations: 8.932 MB / 1.397 GB, free: 2.18 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002506/1.401, allocations: 0.9491 MB / 1.398 GB, free: 1.207 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007713/1.402, allocations: 67.98 kB / 1.398 GB, free: 1.141 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003707/1.406, allocations: 486 kB / 1.399 GB, free: 0.668 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005191/1.406, allocations: 226.2 kB / 1.399 GB, free: 456 kB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002728/1.407, allocations: 111.9 kB / 1.399 GB, free: 344 kB / 1.061 GB Notification: Performance of sorting global known variables: time 0.002811/1.409, allocations: 1.915 MB / 1.401 GB, free: 14.41 MB / 1.076 GB Notification: Performance of sort global known variables: time 4.2e-07/1.409, allocations: 0 / 1.401 GB, free: 14.41 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.004063/1.414, allocations: 1.204 MB / 1.402 GB, free: 13.21 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (thermalZoneThreeElements.volAir.dynBal.U,thermalZoneThreeElements.volAir.dynBal.m,thermalZoneThreeElements.extWallRC.thermCapExt[1].T,thermalZoneThreeElements.intWallRC.thermCapInt[1].T,thermalZoneThreeElements.floorRC.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 (285): * Single equations (assignments): 271 * 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 {(4,36,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.002835/1.416, allocations: 1.04 MB / 1.403 GB, free: 12.55 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.01306/1.429, allocations: 5.43 MB / 1.408 GB, free: 7.125 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/1.43, allocations: 0 / 1.408 GB, free: 7.125 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.007001/1.437, allocations: 3.136 MB / 1.411 GB, free: 4.016 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004239/1.441, allocations: 0.719 MB / 1.412 GB, free: 3.309 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.01919/1.46, allocations: 10.54 MB / 1.422 GB, free: 8.738 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002616/1.463, allocations: 2.639 MB / 1.425 GB, free: 6.078 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.005389/1.468, allocations: 1.182 MB / 1.426 GB, free: 4.891 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001364/1.469, allocations: 295.2 kB / 1.426 GB, free: 4.602 MB / 1.092 GB Notification: Performance of SimCode: time 8.71e-07/1.469, allocations: 0 / 1.426 GB, free: 4.602 MB / 1.092 GB Notification: Performance of Templates: time 0.08931/1.559, allocations: 51.67 MB / 1.477 GB, free: 1.52 MB / 1.139 GB make -j1 -f Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.makefile (rm -f Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; mkfifo Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; head -c 1048576 < Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe >> ../files/Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.sim & ./Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe 2>&1)