Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements") translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.559/2.559, allocations: 287.3 MB / 302.3 MB, free: 8.238 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.001632/0.001632, allocations: 179.8 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.279/2.279, allocations: 205.4 MB / 0.6295 GB, free: 10.61 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.001593/0.001593, allocations: 90.92 kB / 0.7428 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006445/0.0006446, allocations: 10.25 kB / 0.8656 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2074/0.2081, allocations: 115.3 MB / 0.9782 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.8982/1.106, allocations: 137.7 MB / 1.113 GB, free: 1.125 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.04307/1.149, allocations: 23.08 MB / 1.135 GB, free: 15.21 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004998/1.154, allocations: 67.56 kB / 1.135 GB, free: 15.18 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.004365/1.159, allocations: 1.036 MB / 1.136 GB, free: 14.99 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01066/1.17, allocations: 2.285 MB / 1.139 GB, free: 14.86 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.008563/1.178, allocations: 1.825 MB / 1.14 GB, free: 14.68 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.009736/1.188, allocations: 3.594 MB / 1.144 GB, free: 13.33 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007256/1.195, allocations: 3.274 MB / 1.147 GB, free: 12.04 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004739/1.2, allocations: 1.496 MB / 1.148 GB, free: 11.47 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005334/1.205, allocations: 1.9 MB / 1.15 GB, free: 10.62 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001327/1.207, allocations: 138.3 kB / 1.15 GB, free: 10.62 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004126/1.211, allocations: 0.5448 MB / 1.151 GB, free: 10.53 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.002199/1.213, allocations: 0.8325 MB / 1.152 GB, free: 9.973 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.002149/1.215, allocations: 0.7477 MB / 1.153 GB, free: 9.508 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.01012/1.226, allocations: 4.992 MB / 1.157 GB, free: 5.949 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/1.226, allocations: 0 / 1.157 GB, free: 5.949 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.647e-06/1.226, allocations: 0 / 1.157 GB, free: 5.949 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002734/1.226, allocations: 1.406 kB / 1.157 GB, free: 5.949 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.01708/1.243, allocations: 4.314 MB / 1.162 GB, free: 3.086 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/1.243, allocations: 10.12 kB / 1.162 GB, free: 3.086 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02429/1.267, allocations: 2.758 MB / 1.164 GB, free: 1.809 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008225/1.276, allocations: 2.375 MB / 1.167 GB, free: 168 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003049/1.276, allocations: 274.8 kB / 1.167 GB, free: 40 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001533/1.278, allocations: 358.7 kB / 1.167 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02309/1.301, allocations: 5.532 MB / 1.173 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001498/1.301, allocations: 6.812 kB / 1.173 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001066/1.302, allocations: 153.7 kB / 1.173 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-05/1.302, allocations: 88.22 kB / 1.173 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02871/1.331, allocations: 6.67 MB / 1.179 GB, free: 9.375 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.05459/1.385, allocations: 17.15 MB / 1.196 GB, free: 8.812 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01858/1.404, allocations: 4.5 MB / 1.201 GB, free: 4.297 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001689/1.406, allocations: 0.6699 MB / 1.201 GB, free: 3.496 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01121/1.417, allocations: 2.608 MB / 1.204 GB, free: 0.8516 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=313): time 7.865e-06/1.417, allocations: 0 / 1.204 GB, free: 0.8516 MB / 0.7292 GB Notification: Performance of matching and sorting (n=313): time 0.05139/1.469, allocations: 9.352 MB / 1.213 GB, free: 7.359 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001707/1.469, allocations: 214.4 kB / 1.213 GB, free: 7.105 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007031/1.476, allocations: 2.645 MB / 1.216 GB, free: 4.445 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.001046/1.477, allocations: 77.7 kB / 1.216 GB, free: 4.363 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.002647/1.48, allocations: 1.53 MB / 1.217 GB, free: 2.816 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.002267/1.482, allocations: 1.043 MB / 1.218 GB, free: 1.758 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004982/1.482, allocations: 52 kB / 1.218 GB, free: 1.707 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0004411/1.483, allocations: 419.5 kB / 1.219 GB, free: 1.293 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009381/1.492, allocations: 2.062 MB / 1.221 GB, free: 15.23 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009972/1.502, allocations: 2.423 MB / 1.223 GB, free: 12.71 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009957/1.512, allocations: 2.255 MB / 1.225 GB, free: 10.45 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.618e-05/1.512, allocations: 0 / 1.225 GB, free: 10.45 MB / 0.7605 GB Notification: Performance of matching and sorting (n=345) (initialization): time 0.02507/1.538, allocations: 5.552 MB / 1.231 GB, free: 4.848 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 4.006e-05/1.538, allocations: 11.98 kB / 1.231 GB, free: 4.836 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.263e-05/1.538, allocations: 4.406 kB / 1.231 GB, free: 4.832 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003315/1.541, allocations: 0.8434 MB / 1.232 GB, free: 3.984 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008085/1.549, allocations: 0.7527 MB / 1.232 GB, free: 3.23 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01946/1.569, allocations: 7.222 MB / 1.239 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007326/1.576, allocations: 0.5439 MB / 1.24 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001076/1.577, allocations: 111.9 kB / 1.24 GB, free: 11.22 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.004237/1.581, allocations: 1.009 MB / 1.241 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001324/1.583, allocations: 304.2 kB / 1.241 GB, free: 9.902 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02777/1.611, allocations: 6.188 MB / 1.247 GB, free: 3.648 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.431e-05/1.611, allocations: 35.95 kB / 1.247 GB, free: 3.613 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.882e-05/1.611, allocations: 9.859 kB / 1.247 GB, free: 3.605 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.756e-05/1.611, allocations: 15.94 kB / 1.247 GB, free: 3.59 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03933/1.65, allocations: 10.48 MB / 1.258 GB, free: 8.996 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.179e-05/1.65, allocations: 0 / 1.258 GB, free: 8.996 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007852/1.658, allocations: 0.7293 MB / 1.258 GB, free: 8.266 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00356/1.662, allocations: 0.7301 MB / 1.259 GB, free: 7.523 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009831/1.663, allocations: 83.94 kB / 1.259 GB, free: 7.441 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02017/1.683, allocations: 10.01 MB / 1.269 GB, free: 13 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.778e-06/1.683, allocations: 3.953 kB / 1.269 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03517/1.718, allocations: 8.75 MB / 1.277 GB, free: 4.156 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003808/1.722, allocations: 0.9354 MB / 1.278 GB, free: 3.199 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00126/1.723, allocations: 63.98 kB / 1.278 GB, free: 3.137 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006472/1.73, allocations: 407.3 kB / 1.279 GB, free: 2.738 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001141/1.731, allocations: 206.4 kB / 1.279 GB, free: 2.535 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000628/1.732, allocations: 107.9 kB / 1.279 GB, free: 2.43 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.005038/1.737, allocations: 1.911 MB / 1.281 GB, free: 0.5117 MB / 0.8073 GB Notification: Performance of sort global known variables: time 3.907e-06/1.737, allocations: 0 / 1.281 GB, free: 0.5117 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.006438/1.743, allocations: 1.204 MB / 1.282 GB, free: 15.3 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.003804/1.747, allocations: 0.9948 MB / 1.283 GB, free: 14.65 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.02193/1.769, allocations: 5.29 MB / 1.288 GB, free: 9.324 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 6.593e-06/1.769, allocations: 1.938 kB / 1.288 GB, free: 9.324 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.01299/1.782, allocations: 3.223 MB / 1.291 GB, free: 6.055 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006102/1.788, allocations: 0.6608 MB / 1.292 GB, free: 5.398 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03011/1.818, allocations: 10.29 MB / 1.302 GB, free: 11.07 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004619/1.823, allocations: 2.749 MB / 1.305 GB, free: 8.289 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.007989/1.831, allocations: 1.145 MB / 1.306 GB, free: 7.141 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00288/1.834, allocations: 275.2 kB / 1.306 GB, free: 6.871 MB / 0.8386 GB Notification: Performance of SimCode: time 1.373e-06/1.834, allocations: 0 / 1.306 GB, free: 6.871 MB / 0.8386 GB Notification: Performance of Templates: time 0.1457/1.98, allocations: 49.94 MB / 1.355 GB, free: 5.207 MB / 0.8855 GB make -j1 -f Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.makefile (rm -f Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; mkfifo Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe >> ../files/Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.sim & ./Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe 2>&1)