Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,fileNamePrefix="Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElements",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,fileNamePrefix="Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElements",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.88/1.88, allocations: 288.2 MB / 303.2 MB, free: 8.191 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001516/0.001517, allocations: 173.1 kB / 371.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.827/1.827, allocations: 205.4 MB / 0.6305 GB, free: 10 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009904/0.00099, allocations: 91.69 kB / 0.7439 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006178/0.0006179, allocations: 9.406 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3213/0.322, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.9553/1.277, allocations: 137.7 MB / 1.114 GB, free: 1.758 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.04307/1.32, allocations: 23.06 MB / 1.136 GB, free: 15.84 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006454/1.327, allocations: 71.09 kB / 1.137 GB, free: 15.81 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.004399/1.331, allocations: 1.033 MB / 1.138 GB, free: 15.62 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01184/1.343, allocations: 2.29 MB / 1.14 GB, free: 15.04 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.008002/1.351, allocations: 1.831 MB / 1.142 GB, free: 14.34 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.01156/1.363, allocations: 3.596 MB / 1.145 GB, free: 13 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009917/1.373, allocations: 3.264 MB / 1.148 GB, free: 11.71 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005949/1.379, allocations: 1.501 MB / 1.15 GB, free: 10.91 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006378/1.385, allocations: 1.896 MB / 1.152 GB, free: 9.793 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.002114/1.387, allocations: 143.1 kB / 1.152 GB, free: 9.789 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004739/1.392, allocations: 0.5463 MB / 1.152 GB, free: 9.617 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.002669/1.395, allocations: 0.8327 MB / 1.153 GB, free: 9.055 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.004303/1.399, allocations: 0.7429 MB / 1.154 GB, free: 8.594 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.01122/1.411, allocations: 4.992 MB / 1.159 GB, free: 5.035 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/1.411, allocations: 1.031 kB / 1.159 GB, free: 5.035 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.779e-06/1.411, allocations: 0 / 1.159 GB, free: 5.035 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0004314/1.411, allocations: 1.859 kB / 1.159 GB, free: 5.035 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 940 * Number of variables: 940 Notification: Performance of Generate backend data structure: time 0.01852/1.43, allocations: 4.313 MB / 1.163 GB, free: 2.172 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.992e-05/1.43, allocations: 10.19 kB / 1.163 GB, free: 2.172 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00348/1.433, allocations: 0.5002 MB / 1.163 GB, free: 1.797 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01488/1.448, allocations: 2.755 MB / 1.166 GB, free: 0.5234 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0104/1.459, allocations: 2.375 MB / 1.168 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005276/1.459, allocations: 275.4 kB / 1.169 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002822/1.462, allocations: 360.7 kB / 1.169 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02148/1.483, allocations: 5.538 MB / 1.174 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001978/1.484, allocations: 0 / 1.174 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001604/1.485, allocations: 149.2 kB / 1.175 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001192/1.486, allocations: 93.14 kB / 1.175 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02139/1.507, allocations: 6.668 MB / 1.181 GB, free: 8.09 MB / 0.7136 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.04633/1.553, allocations: 17.15 MB / 1.198 GB, free: 7.199 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01175/1.565, allocations: 4.492 MB / 1.202 GB, free: 2.691 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001497/1.567, allocations: 0.6777 MB / 1.203 GB, free: 1.883 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007827/1.575, allocations: 2.612 MB / 1.206 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=313): time 7.894e-06/1.575, allocations: 0 / 1.206 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of matching and sorting (n=313): time 0.02991/1.605, allocations: 9.341 MB / 1.215 GB, free: 5.754 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001596/1.605, allocations: 218.4 kB / 1.215 GB, free: 5.496 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007328/1.612, allocations: 2.633 MB / 1.217 GB, free: 2.848 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.001261/1.613, allocations: 81.7 kB / 1.218 GB, free: 2.762 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.002164/1.616, allocations: 1.536 MB / 1.219 GB, free: 1.211 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.002137/1.618, allocations: 1.043 MB / 1.22 GB, free: 156 kB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008796/1.619, allocations: 52 kB / 1.22 GB, free: 104 kB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0004356/1.619, allocations: 415.5 kB / 1.22 GB, free: 15.69 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005869/1.625, allocations: 2.07 MB / 1.222 GB, free: 13.62 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006044/1.631, allocations: 2.415 MB / 1.225 GB, free: 11.11 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006138/1.637, allocations: 2.261 MB / 1.227 GB, free: 8.836 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.371e-05/1.637, allocations: 7.938 kB / 1.227 GB, free: 8.828 MB / 0.7605 GB Notification: Performance of matching and sorting (n=345) (initialization): time 0.01534/1.653, allocations: 5.552 MB / 1.232 GB, free: 3.23 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 3.957e-05/1.653, allocations: 11.95 kB / 1.232 GB, free: 3.219 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.06e-05/1.653, allocations: 4 kB / 1.233 GB, free: 3.215 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002134/1.655, allocations: 0.8399 MB / 1.233 GB, free: 2.371 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004307/1.659, allocations: 0.7488 MB / 1.234 GB, free: 1.621 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01244/1.672, allocations: 7.216 MB / 1.241 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00509/1.677, allocations: 0.5555 MB / 1.242 GB, free: 9.715 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001216/1.678, allocations: 111.9 kB / 1.242 GB, free: 9.605 MB / 0.7761 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 (281): * Single equations (assignments): 280 * 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 {(5,100.0%) 60} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005758/1.684, allocations: 1.009 MB / 1.243 GB, free: 8.586 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002455/1.686, allocations: 308.2 kB / 1.243 GB, free: 8.281 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02085/1.707, allocations: 6.187 MB / 1.249 GB, free: 2.031 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.982e-05/1.707, allocations: 32 kB / 1.249 GB, free: 2 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.836e-05/1.707, allocations: 15.95 kB / 1.249 GB, free: 1.984 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.026e-05/1.707, allocations: 15.94 kB / 1.249 GB, free: 1.969 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02887/1.736, allocations: 10.47 MB / 1.259 GB, free: 7.379 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.652e-05/1.736, allocations: 0 / 1.259 GB, free: 7.379 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004166/1.74, allocations: 0.7255 MB / 1.26 GB, free: 6.652 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002212/1.743, allocations: 0.7379 MB / 1.261 GB, free: 5.902 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005958/1.743, allocations: 83.94 kB / 1.261 GB, free: 5.82 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01381/1.757, allocations: 10.01 MB / 1.271 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/1.757, allocations: 0 / 1.271 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02482/1.782, allocations: 8.754 MB / 1.279 GB, free: 2.535 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003895/1.786, allocations: 0.9335 MB / 1.28 GB, free: 1.578 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001741/1.788, allocations: 71.94 kB / 1.28 GB, free: 1.508 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004554/1.792, allocations: 399.3 kB / 1.281 GB, free: 1.117 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001002/1.793, allocations: 206.3 kB / 1.281 GB, free: 0.9141 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007432/1.794, allocations: 111.9 kB / 1.281 GB, free: 0.8047 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.005133/1.799, allocations: 1.911 MB / 1.283 GB, free: 14.89 MB / 0.823 GB Notification: Performance of sort global known variables: time 7.92e-07/1.799, allocations: 0 / 1.283 GB, free: 14.89 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.007249/1.807, allocations: 1.196 MB / 1.284 GB, free: 13.69 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (thermalZoneFourElements.volAir.dynBal.U,thermalZoneFourElements.volAir.dynBal.m,thermalZoneFourElements.extWallRC.thermCapExt[1].T,thermalZoneFourElements.intWallRC.thermCapInt[1].T,thermalZoneFourElements.floorRC.thermCapExt[1].T,thermalZoneFourElements.roofRC.thermCapExt[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 (267): * Single equations (assignments): 259 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,100.0%) 49,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.02676/1.833, allocations: 10.21 MB / 1.294 GB, free: 3.637 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.01541/1.849, allocations: 5.286 MB / 1.299 GB, free: 14.31 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.17e-05/1.849, allocations: 4 kB / 1.299 GB, free: 14.31 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.008831/1.858, allocations: 3.219 MB / 1.302 GB, free: 11.05 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005326/1.863, allocations: 0.6664 MB / 1.303 GB, free: 10.39 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08126/1.944, allocations: 30.73 MB / 1.333 GB, free: 10.38 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006262/1.951, allocations: 2.756 MB / 1.336 GB, free: 7.586 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.007635/1.958, allocations: 1.146 MB / 1.337 GB, free: 6.434 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005111/1.964, allocations: 1.608 MB / 1.338 GB, free: 4.824 MB / 0.8698 GB Notification: Performance of SimCode: time 1.423e-06/1.964, allocations: 0 / 1.338 GB, free: 4.824 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1732/2.137, allocations: 79.72 MB / 1.416 GB, free: 5.539 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000274/2.137, allocations: 289.9 kB / 1.416 GB, free: 5.18 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.678/6.815, allocations: 4 kB / 1.416 GB, free: 5.176 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe >> ../files/Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElements_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElements.fmu > Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe 2>&1)