Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements") translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.00146/0.00146, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001955/0.001955, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.872/1.872, allocations: 205.4 MB / 222.1 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.701/1.701, allocations: 251.9 MB / 0.51 GB, free: 4.828 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006767/0.0006768, allocations: 15.12 kB / 0.6241 GB, free: 1.191 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.741/0.7416, allocations: 106.3 MB / 0.728 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements): time 0.1906/0.9323, allocations: 135.9 MB / 0.8607 GB, free: 3.188 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.03875/0.9711, allocations: 22.39 MB / 0.8825 GB, free: 12.75 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004735/0.9759, allocations: 59.62 kB / 0.8826 GB, free: 12.7 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.003507/0.9794, allocations: 0.9646 MB / 0.8835 GB, free: 11.73 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.009988/0.9895, allocations: 2.077 MB / 0.8856 GB, free: 9.648 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.007701/0.9972, allocations: 1.626 MB / 0.8872 GB, free: 8.051 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.01018/1.007, allocations: 2.87 MB / 0.89 GB, free: 5.176 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005756/1.013, allocations: 2.862 MB / 0.8928 GB, free: 2.273 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003132/1.016, allocations: 1.288 MB / 0.894 GB, free: 0.9805 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002912/1.019, allocations: 1.614 MB / 0.8956 GB, free: 15.36 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0004199/1.02, allocations: 112 kB / 0.8957 GB, free: 15.25 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002091/1.022, allocations: 0.5189 MB / 0.8962 GB, free: 14.73 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0007266/1.023, allocations: 0.7004 MB / 0.8969 GB, free: 14.03 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0009648/1.024, allocations: 0.6286 MB / 0.8975 GB, free: 13.39 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00507/1.029, allocations: 4.236 MB / 0.9016 GB, free: 9.148 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/1.029, allocations: 0 / 0.9016 GB, free: 9.148 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.607e-06/1.029, allocations: 7.875 kB / 0.9017 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001982/1.029, allocations: 0 / 0.9017 GB, free: 9.141 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 804 * Number of variables: 804 Notification: Performance of Generate backend data structure: time 0.01106/1.04, allocations: 3.796 MB / 0.9054 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 7.572e-05/1.04, allocations: 12.03 kB / 0.9054 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01374/1.054, allocations: 2.694 MB / 0.908 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006535/1.06, allocations: 2.132 MB / 0.9101 GB, free: 360 kB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002247/1.061, allocations: 238.2 kB / 0.9103 GB, free: 120 kB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.6417/1.702, allocations: 304.2 kB / 0.9106 GB, free: 176.2 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01734/1.72, allocations: 4.954 MB / 0.9154 GB, free: 174.9 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.494e-05/1.72, allocations: 5.031 kB / 0.9154 GB, free: 174.9 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004332/1.72, allocations: 129.7 kB / 0.9156 GB, free: 174.8 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001147/1.721, allocations: 75.84 kB / 0.9156 GB, free: 174.8 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01912/1.74, allocations: 6.102 MB / 0.9216 GB, free: 173.1 MB / 0.7169 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.02598/1.766, allocations: 14.28 MB / 0.9355 GB, free: 162.9 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00902/1.775, allocations: 4.581 MB / 0.94 GB, free: 158.3 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008856/1.776, allocations: 0.6703 MB / 0.9407 GB, free: 157.5 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004577/1.78, allocations: 2.356 MB / 0.943 GB, free: 155.1 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=268): time 6.392e-06/1.78, allocations: 0 / 0.943 GB, free: 155.1 MB / 0.7169 GB Notification: Performance of matching and sorting (n=268): time 0.01608/1.796, allocations: 7.226 MB / 0.95 GB, free: 147.8 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.239e-05/1.797, allocations: 210 kB / 0.9502 GB, free: 147.5 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002935/1.799, allocations: 2.384 MB / 0.9526 GB, free: 145.1 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0005084/1.8, allocations: 69.7 kB / 0.9526 GB, free: 145.1 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001061/1.801, allocations: 1.347 MB / 0.9539 GB, free: 143.7 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009722/1.802, allocations: 0.8912 MB / 0.9548 GB, free: 142.8 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001688/1.802, allocations: 48 kB / 0.9548 GB, free: 142.8 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001356/1.802, allocations: 406.6 kB / 0.9552 GB, free: 142.4 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003715/1.806, allocations: 1.855 MB / 0.957 GB, free: 140.5 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00401/1.81, allocations: 2.17 MB / 0.9592 GB, free: 138.2 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004121/1.814, allocations: 2.015 MB / 0.9611 GB, free: 136.2 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-05/1.814, allocations: 0 / 0.9611 GB, free: 136.2 MB / 0.7169 GB Notification: Performance of matching and sorting (n=298) (initialization): time 0.01029/1.825, allocations: 4.719 MB / 0.9657 GB, free: 131.4 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.992e-05/1.825, allocations: 8.406 kB / 0.9658 GB, free: 131.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.032e-05/1.825, allocations: 11.95 kB / 0.9658 GB, free: 131.4 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008521/1.825, allocations: 336.6 kB / 0.9661 GB, free: 131.1 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003738/1.829, allocations: 0.7761 MB / 0.9668 GB, free: 130.3 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004813/1.834, allocations: 4.01 MB / 0.9708 GB, free: 126.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003955/1.838, allocations: 0.5013 MB / 0.9712 GB, free: 125.7 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007052/1.839, allocations: 103.9 kB / 0.9713 GB, free: 125.6 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.intGai.nextTimeEvent,$whenCondition3,$whenCondition2,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,intGai.nextTimeEvent,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (268): * Single equations (assignments): 267 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 28} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002672/1.841, allocations: 0.921 MB / 0.9722 GB, free: 124.6 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001084/1.843, allocations: 272.6 kB / 0.9725 GB, free: 124.4 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01312/1.856, allocations: 5.35 MB / 0.9777 GB, free: 118.9 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-05/1.856, allocations: 27.95 kB / 0.9778 GB, free: 118.9 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.103e-05/1.856, allocations: 12 kB / 0.9778 GB, free: 118.9 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.465e-05/1.856, allocations: 15.94 kB / 0.9778 GB, free: 118.9 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01989/1.876, allocations: 9.046 MB / 0.9866 GB, free: 109.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.38e-05/1.876, allocations: 3.984 kB / 0.9866 GB, free: 109.8 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003573/1.879, allocations: 0.7262 MB / 0.9873 GB, free: 109 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001127/1.881, allocations: 374.3 kB / 0.9877 GB, free: 108.7 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000424/1.881, allocations: 75.94 kB / 0.9878 GB, free: 108.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005446/1.886, allocations: 5.917 MB / 0.9935 GB, free: 102.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/1.886, allocations: 0 / 0.9935 GB, free: 102.4 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01731/1.904, allocations: 7.598 MB / 1.001 GB, free: 94.7 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00341/1.907, allocations: 0.8442 MB / 1.002 GB, free: 93.83 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00152/1.909, allocations: 51.98 kB / 1.002 GB, free: 93.78 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00385/1.913, allocations: 379.4 kB / 1.002 GB, free: 93.41 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007118/1.913, allocations: 170 kB / 1.002 GB, free: 93.24 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005778/1.914, allocations: 103.9 kB / 1.002 GB, free: 93.14 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002967/1.917, allocations: 1.737 MB / 1.004 GB, free: 91.39 MB / 0.7169 GB Notification: Performance of sort global known variables: time 5.81e-07/1.917, allocations: 3.938 kB / 1.004 GB, free: 91.39 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.004377/1.921, allocations: 1.006 MB / 1.005 GB, free: 90.4 MB / 0.7169 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: 7 ($whenCondition3,$whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext,intGai.nextTimeEvent,intGai.nextTimeEventScaled) * Number of discrete states: 4 (intGai.nextTimeEvent,intGai.nextTimeEventScaled,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (251): * Single equations (assignments): 244 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 25,(1,100.0%) 3} * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.003068/1.925, allocations: 0.9837 MB / 1.006 GB, free: 89.8 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01089/1.935, allocations: 4.569 MB / 1.011 GB, free: 85.19 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 8.837e-06/1.936, allocations: 4 kB / 1.011 GB, free: 85.19 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.00562/1.941, allocations: 2.663 MB / 1.013 GB, free: 82.5 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003542/1.945, allocations: 0.565 MB / 1.014 GB, free: 81.94 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01691/1.962, allocations: 9.02 MB / 1.023 GB, free: 72.88 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00285/1.965, allocations: 2.501 MB / 1.025 GB, free: 70.35 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.005427/1.97, allocations: 1.11 MB / 1.026 GB, free: 69.24 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001554/1.972, allocations: 263.3 kB / 1.026 GB, free: 68.98 MB / 0.7169 GB Notification: Performance of SimCode: time 1.222e-06/1.972, allocations: 0 / 1.026 GB, free: 68.98 MB / 0.7169 GB Notification: Performance of Templates: time 0.06613/2.038, allocations: 42.19 MB / 1.068 GB, free: 27.15 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe >> ../files/Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.sim & ./Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe 2>&1) Environment - environmentSimulation: