Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.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: translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement") translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.739/1.739, allocations: 288.3 MB / 303.2 MB, free: 8.113 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.001159/0.001158, allocations: 185 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.49/1.49, allocations: 205.4 MB / 0.6306 GB, free: 10.02 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.0009387/0.0009386, allocations: 98.84 kB / 0.7439 GB, free: 5.961 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003925/0.0003925, allocations: 14.53 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2341/0.2345, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.6993/0.9339, allocations: 135.4 MB / 1.112 GB, free: 1.926 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.04157/0.9755, allocations: 22.19 MB / 1.133 GB, free: 100 kB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004393/0.9799, allocations: 57.88 kB / 1.133 GB, free: 76 kB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.003653/0.9836, allocations: 0.9496 MB / 1.134 GB, free: 0 / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01091/0.9946, allocations: 2.018 MB / 1.136 GB, free: 15.78 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.005785/1, allocations: 1.596 MB / 1.138 GB, free: 15.39 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.005888/1.006, allocations: 2.701 MB / 1.14 GB, free: 14.79 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004241/1.011, allocations: 2.747 MB / 1.143 GB, free: 13.69 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002513/1.013, allocations: 1.233 MB / 1.144 GB, free: 13.2 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002655/1.016, allocations: 1.523 MB / 1.146 GB, free: 12.5 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0003386/1.016, allocations: 101.3 kB / 1.146 GB, free: 12.5 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001705/1.018, allocations: 0.5125 MB / 1.146 GB, free: 12.41 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0006143/1.018, allocations: 0.6532 MB / 1.147 GB, free: 12.11 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0007292/1.019, allocations: 0.5924 MB / 1.148 GB, free: 11.96 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003983/1.023, allocations: 4.02 MB / 1.152 GB, free: 9.598 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/1.023, allocations: 0 / 1.152 GB, free: 9.598 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.325e-06/1.023, allocations: 1.438 kB / 1.152 GB, free: 9.598 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001346/1.023, allocations: 0 / 1.152 GB, free: 9.598 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: 768 * Number of variables: 768 Notification: Performance of Generate backend data structure: time 0.008486/1.032, allocations: 3.645 MB / 1.155 GB, free: 7.367 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/1.032, allocations: 13.19 kB / 1.155 GB, free: 7.363 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0131/1.045, allocations: 2.677 MB / 1.158 GB, free: 6.133 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005137/1.05, allocations: 2.055 MB / 1.16 GB, free: 5.168 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001987/1.05, allocations: 223.6 kB / 1.16 GB, free: 5.066 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007853/1.051, allocations: 294.7 kB / 1.16 GB, free: 4.969 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01008/1.061, allocations: 4.785 MB / 1.165 GB, free: 2.195 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.07e-05/1.061, allocations: 0 / 1.165 GB, free: 2.195 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003382/1.062, allocations: 123.9 kB / 1.165 GB, free: 2.102 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-05/1.062, allocations: 76.81 kB / 1.165 GB, free: 2.098 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01338/1.075, allocations: 5.916 MB / 1.171 GB, free: 15.23 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.0311/1.106, allocations: 13.39 MB / 1.184 GB, free: 5.75 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01218/1.118, allocations: 4.427 MB / 1.188 GB, free: 1.414 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001024/1.12, allocations: 0.6618 MB / 1.189 GB, free: 0.625 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005715/1.125, allocations: 2.265 MB / 1.191 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=255): time 5.229e-06/1.125, allocations: 4 kB / 1.191 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of matching and sorting (n=255): time 0.01786/1.143, allocations: 6.66 MB / 1.198 GB, free: 7.531 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001216/1.143, allocations: 205.9 kB / 1.198 GB, free: 7.285 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004456/1.148, allocations: 2.289 MB / 1.2 GB, free: 4.961 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0006915/1.149, allocations: 69.7 kB / 1.2 GB, free: 4.887 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001425/1.15, allocations: 1.286 MB / 1.201 GB, free: 3.586 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.001333/1.151, allocations: 0.8394 MB / 1.202 GB, free: 2.734 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003741/1.152, allocations: 44 kB / 1.202 GB, free: 2.691 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002527/1.152, allocations: 398.3 kB / 1.203 GB, free: 2.297 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004753/1.157, allocations: 1.788 MB / 1.204 GB, free: 0.5039 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004878/1.162, allocations: 2.08 MB / 1.206 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004962/1.167, allocations: 1.931 MB / 1.208 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.02e-05/1.167, allocations: 4 kB / 1.208 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of matching and sorting (n=284) (initialization): time 0.0111/1.178, allocations: 4.467 MB / 1.213 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.916e-05/1.178, allocations: 10.44 kB / 1.213 GB, free: 7.848 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.537e-05/1.178, allocations: 11.95 kB / 1.213 GB, free: 7.836 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006653/1.178, allocations: 234.1 kB / 1.213 GB, free: 7.605 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004015/1.183, allocations: 0.7566 MB / 1.214 GB, free: 6.848 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004211/1.187, allocations: 3.18 MB / 1.217 GB, free: 3.535 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003932/1.191, allocations: 0.4897 MB / 1.217 GB, free: 3.043 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006179/1.191, allocations: 99.92 kB / 1.217 GB, free: 2.945 MB / 0.7448 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 (262): * Single equations (assignments): 261 * 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 {(2,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002675/1.194, allocations: 0.8836 MB / 1.218 GB, free: 2.051 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009512/1.195, allocations: 252.8 kB / 1.218 GB, free: 1.801 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01319/1.208, allocations: 5.081 MB / 1.223 GB, free: 12.65 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.092e-05/1.208, allocations: 27.94 kB / 1.223 GB, free: 12.62 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.134e-05/1.208, allocations: 4 kB / 1.223 GB, free: 12.62 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.065e-05/1.208, allocations: 15.91 kB / 1.223 GB, free: 12.61 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01998/1.228, allocations: 8.584 MB / 1.232 GB, free: 3.883 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.04e-05/1.228, allocations: 0 / 1.232 GB, free: 3.883 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003735/1.232, allocations: 0.7216 MB / 1.233 GB, free: 3.16 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008301/1.233, allocations: 254.4 kB / 1.233 GB, free: 2.902 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003205/1.233, allocations: 79.86 kB / 1.233 GB, free: 2.824 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005145/1.238, allocations: 4.863 MB / 1.238 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/1.238, allocations: 3.984 kB / 1.238 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01681/1.255, allocations: 7.215 MB / 1.245 GB, free: 6.352 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002675/1.258, allocations: 0.8097 MB / 1.245 GB, free: 5.52 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000957/1.259, allocations: 55.94 kB / 1.245 GB, free: 5.465 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003475/1.262, allocations: 390.4 kB / 1.246 GB, free: 5.086 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004875/1.263, allocations: 161.9 kB / 1.246 GB, free: 4.926 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003534/1.263, allocations: 95.92 kB / 1.246 GB, free: 4.832 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.003226/1.267, allocations: 1.672 MB / 1.248 GB, free: 3.145 MB / 0.7761 GB Notification: Performance of sort global known variables: time 2.61e-07/1.267, allocations: 0 / 1.248 GB, free: 3.145 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.003932/1.271, allocations: 0.9464 MB / 1.249 GB, free: 2.195 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (thermalZoneOneElement.volAir.dynBal.U,thermalZoneOneElement.volAir.dynBal.m,thermalZoneOneElement.extWallRC.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 (248): * Single equations (assignments): 241 * 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 {(2,100.0%) 16,(1,100.0%) 3} * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.00253/1.273, allocations: 0.9774 MB / 1.25 GB, free: 1.473 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.01069/1.284, allocations: 4.35 MB / 1.254 GB, free: 13.08 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/1.284, allocations: 3.938 kB / 1.254 GB, free: 13.07 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.005972/1.29, allocations: 2.498 MB / 1.256 GB, free: 10.54 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003579/1.293, allocations: 0.537 MB / 1.257 GB, free: 10.01 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01754/1.311, allocations: 8.602 MB / 1.265 GB, free: 1.363 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002858/1.314, allocations: 2.412 MB / 1.268 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.005454/1.319, allocations: 1.089 MB / 1.269 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001583/1.321, allocations: 247.3 kB / 1.269 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of SimCode: time 1.122e-06/1.321, allocations: 0 / 1.269 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of Templates: time 0.06645/1.387, allocations: 39.79 MB / 1.308 GB, free: 5.949 MB / 0.8386 GB make -j1 -f Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.makefile (rm -f Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe >> ../files/Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.sim & ./Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe 2>&1)