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.001142/0.001142, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001216/0.001216, allocations: 189.3 kB / 16.25 MB, free: 6.629 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.357/1.357, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.788/2.788, allocations: 472.6 MB / 0.7448 GB, free: 4.879 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 63.56 kB / 0.9115 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2699/0.2712, allocations: 159.9 MB / 1.068 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements): time 0.1649/0.4361, allocations: 160.4 MB / 1.224 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.5655/1.002, allocations: 26.77 MB / 1.25 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002904/1.005, allocations: 69.09 kB / 1.251 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002406/1.007, allocations: 0.9538 MB / 1.251 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004894/1.012, allocations: 1.692 MB / 1.253 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004011/1.016, allocations: 1.605 MB / 1.255 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.006677/1.023, allocations: 5.541 MB / 1.26 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005218/1.028, allocations: 4.336 MB / 1.264 GB, free: 21.15 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004101/1.032, allocations: 2.196 MB / 1.266 GB, free: 21.15 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00384/1.036, allocations: 2.669 MB / 1.269 GB, free: 21.15 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001282/1.037, allocations: 483.8 kB / 1.27 GB, free: 21.15 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003601/1.041, allocations: 1.067 MB / 1.271 GB, free: 21.13 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001611/1.042, allocations: 1.244 MB / 1.272 GB, free: 20.98 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.004715/1.047, allocations: 2.232 MB / 1.274 GB, free: 20.37 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.008735/1.056, allocations: 6.169 MB / 1.28 GB, free: 19.56 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/1.056, allocations: 1.5 kB / 1.28 GB, free: 19.56 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.523e-06/1.056, allocations: 0 / 1.28 GB, free: 19.56 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0002214/1.056, allocations: 1.094 kB / 1.28 GB, free: 19.56 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.01311/1.069, allocations: 4.807 MB / 1.285 GB, free: 17.65 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/1.069, allocations: 9.875 kB / 1.285 GB, free: 17.65 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01431/1.084, allocations: 2.788 MB / 1.287 GB, free: 17.43 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006115/1.09, allocations: 2.381 MB / 1.29 GB, free: 16.8 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002292/1.09, allocations: 250.7 kB / 1.29 GB, free: 16.79 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001143/1.091, allocations: 325 kB / 1.29 GB, free: 16.79 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01207/1.103, allocations: 5.342 MB / 1.296 GB, free: 16.52 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.232e-05/1.103, allocations: 1.688 kB / 1.296 GB, free: 16.52 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004303/1.104, allocations: 137.6 kB / 1.296 GB, free: 16.52 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.24e-05/1.104, allocations: 80.5 kB / 1.296 GB, free: 16.52 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01393/1.118, allocations: 6.47 MB / 1.302 GB, free: 16.48 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.02645/1.144, allocations: 15.77 MB / 1.317 GB, free: 11.69 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01001/1.154, allocations: 4.875 MB / 1.322 GB, free: 11.46 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005228/1.16, allocations: 2.578 MB / 1.325 GB, free: 10.93 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009803/1.161, allocations: 0.6709 MB / 1.325 GB, free: 10.23 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00589/1.167, allocations: 2.711 MB / 1.328 GB, free: 8.711 MB / 1.014 GB Notification: Performance of pre-optimization done (n=291): time 5.39e-06/1.167, allocations: 0 / 1.328 GB, free: 8.711 MB / 1.014 GB Notification: Performance of matching and sorting (n=291): time 0.02162/1.188, allocations: 8.009 MB / 1.336 GB, free: 4.531 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001227/1.188, allocations: 215.6 kB / 1.336 GB, free: 4.305 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00363/1.192, allocations: 2.516 MB / 1.339 GB, free: 3.055 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.000896/1.193, allocations: 84.97 kB / 1.339 GB, free: 2.98 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001436/1.194, allocations: 1.391 MB / 1.34 GB, free: 1.773 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.001486/1.196, allocations: 0.9524 MB / 1.341 GB, free: 0.957 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001152/1.197, allocations: 0.5266 MB / 1.341 GB, free: 0.6602 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 9.393e-05/1.197, allocations: 301.1 kB / 1.342 GB, free: 372 kB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00485/1.202, allocations: 2.103 MB / 1.344 GB, free: 15.3 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005252/1.207, allocations: 2.422 MB / 1.346 GB, free: 13.95 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01062/1.218, allocations: 4.441 MB / 1.35 GB, free: 11.61 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.741e-05/1.218, allocations: 7.203 kB / 1.35 GB, free: 11.6 MB / 1.029 GB Notification: Performance of matching and sorting (n=336) (initialization): time 0.01338/1.231, allocations: 5.258 MB / 1.356 GB, free: 7.918 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.852e-05/1.231, allocations: 8 kB / 1.356 GB, free: 7.91 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.483e-05/1.231, allocations: 4.078 kB / 1.356 GB, free: 7.906 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008856/1.232, allocations: 353.2 kB / 1.356 GB, free: 7.559 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004668/1.237, allocations: 0.8204 MB / 1.357 GB, free: 6.77 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005624/1.243, allocations: 4.236 MB / 1.361 GB, free: 2.41 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004821/1.248, allocations: 0.5846 MB / 1.361 GB, free: 1.824 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007674/1.248, allocations: 131.8 kB / 1.362 GB, free: 1.695 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.002796/1.251, allocations: 0.9792 MB / 1.363 GB, free: 0.7344 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001105/1.252, allocations: 284.4 kB / 1.363 GB, free: 460 kB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01489/1.267, allocations: 5.904 MB / 1.369 GB, free: 10.5 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.498e-05/1.267, allocations: 28 kB / 1.369 GB, free: 10.48 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.265e-05/1.267, allocations: 8 kB / 1.369 GB, free: 10.47 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-05/1.267, allocations: 15.94 kB / 1.369 GB, free: 10.45 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006336/1.274, allocations: 3.861 MB / 1.372 GB, free: 6.613 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.394e-05/1.274, allocations: 7.938 kB / 1.372 GB, free: 6.605 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004073/1.278, allocations: 0.7515 MB / 1.373 GB, free: 5.879 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001095/1.279, allocations: 382.3 kB / 1.373 GB, free: 5.496 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000431/1.279, allocations: 83.92 kB / 1.374 GB, free: 5.414 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006382/1.286, allocations: 6.299 MB / 1.38 GB, free: 14.84 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/1.286, allocations: 4.031 kB / 1.38 GB, free: 14.84 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01781/1.304, allocations: 8.416 MB / 1.388 GB, free: 6.355 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002084/1.306, allocations: 0.8637 MB / 1.389 GB, free: 5.469 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007229/1.306, allocations: 71.89 kB / 1.389 GB, free: 5.398 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003409/1.31, allocations: 447.2 kB / 1.389 GB, free: 4.961 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004908/1.31, allocations: 213.1 kB / 1.389 GB, free: 4.754 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002926/1.311, allocations: 115.9 kB / 1.39 GB, free: 4.641 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.002484/1.313, allocations: 1.83 MB / 1.391 GB, free: 2.801 MB / 1.061 GB Notification: Performance of sort global known variables: time 2.41e-07/1.313, allocations: 0 / 1.391 GB, free: 2.801 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.003394/1.317, allocations: 1.134 MB / 1.392 GB, free: 1.664 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.002474/1.319, allocations: 1.04 MB / 1.393 GB, free: 1.02 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.02144/1.34, allocations: 8.928 MB / 1.402 GB, free: 8.109 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 7.284e-06/1.341, allocations: 6.969 kB / 1.402 GB, free: 8.105 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.006157/1.347, allocations: 2.92 MB / 1.405 GB, free: 5.207 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003596/1.35, allocations: 0.7369 MB / 1.406 GB, free: 4.504 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.01591/1.366, allocations: 9.855 MB / 1.415 GB, free: 10.63 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002378/1.369, allocations: 2.534 MB / 1.418 GB, free: 8.066 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.004899/1.374, allocations: 1.157 MB / 1.419 GB, free: 6.902 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001276/1.375, allocations: 283.2 kB / 1.419 GB, free: 6.625 MB / 1.092 GB Notification: Performance of SimCode: time 6.01e-07/1.375, allocations: 0 / 1.419 GB, free: 6.625 MB / 1.092 GB Notification: Performance of Templates: time 0.07879/1.454, allocations: 50.58 MB / 1.469 GB, free: 4.641 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)