Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.287/2.287, allocations: 251.1 MB / 266.1 MB, free: 11.54 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001577/0.001577, allocations: 183.6 kB / 325.6 MB, free: 2.805 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.607/2.607, allocations: 205.4 MB / 0.5766 GB, free: 20.77 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001118/0.001118, allocations: 96.36 kB / 0.6811 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004587/0.0004589, allocations: 13.69 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2439/0.2444, allocations: 106.3 MB / 0.8989 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.2822/0.5267, allocations: 135.4 MB / 1.031 GB, free: 9.707 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.05871/0.5855, allocations: 22.22 MB / 1.053 GB, free: 3.438 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00397/0.5895, allocations: 59.62 kB / 1.053 GB, free: 3.379 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.004762/0.5943, allocations: 0.9335 MB / 1.054 GB, free: 2.441 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01184/0.6062, allocations: 2.016 MB / 1.056 GB, free: 432 kB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.6959/1.302, allocations: 1.578 MB / 1.057 GB, free: 4.273 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.006915/1.309, allocations: 2.707 MB / 1.06 GB, free: 4.262 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005757/1.315, allocations: 2.743 MB / 1.063 GB, free: 3.934 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003703/1.319, allocations: 1.227 MB / 1.064 GB, free: 3.93 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00435/1.323, allocations: 1.525 MB / 1.065 GB, free: 3.922 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001314/1.324, allocations: 97.66 kB / 1.065 GB, free: 3.922 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003467/1.328, allocations: 0.5132 MB / 1.066 GB, free: 3.922 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001974/1.33, allocations: 0.661 MB / 1.067 GB, free: 3.922 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001849/1.332, allocations: 0.5903 MB / 1.067 GB, free: 3.891 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.008293/1.34, allocations: 4.017 MB / 1.071 GB, free: 3.629 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/1.34, allocations: 0 / 1.071 GB, free: 3.629 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.835e-06/1.34, allocations: 1.25 kB / 1.071 GB, free: 3.629 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002229/1.341, allocations: 0 / 1.071 GB, free: 3.629 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.01502/1.356, allocations: 3.645 MB / 1.075 GB, free: 2.012 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.543e-05/1.356, allocations: 9.188 kB / 1.075 GB, free: 2.012 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02406/1.38, allocations: 2.676 MB / 1.077 GB, free: 1.762 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007238/1.387, allocations: 2.054 MB / 1.079 GB, free: 17.25 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003351/1.387, allocations: 224.6 kB / 1.079 GB, free: 17.24 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001681/1.389, allocations: 297.9 kB / 1.08 GB, free: 17.24 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02018/1.409, allocations: 4.787 MB / 1.084 GB, free: 16.94 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001546/1.409, allocations: 0 / 1.084 GB, free: 16.94 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008238/1.41, allocations: 124 kB / 1.084 GB, free: 16.94 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.944e-05/1.41, allocations: 71.19 kB / 1.085 GB, free: 16.94 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02552/1.436, allocations: 5.919 MB / 1.09 GB, free: 16.87 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.04305/1.479, allocations: 13.4 MB / 1.103 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02089/1.5, allocations: 4.408 MB / 1.108 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001624/1.502, allocations: 0.664 MB / 1.108 GB, free: 9.992 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01005/1.512, allocations: 2.264 MB / 1.111 GB, free: 9.23 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=255): time 6.061e-06/1.512, allocations: 0 / 1.111 GB, free: 9.23 MB / 0.7136 GB Notification: Performance of matching and sorting (n=255): time 0.0328/1.545, allocations: 6.664 MB / 1.117 GB, free: 7.277 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001458/1.545, allocations: 210.6 kB / 1.117 GB, free: 7.051 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005063/1.55, allocations: 2.29 MB / 1.12 GB, free: 6.473 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0009935/1.551, allocations: 71.8 kB / 1.12 GB, free: 6.441 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001678/1.553, allocations: 1.281 MB / 1.121 GB, free: 5.824 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.002061/1.555, allocations: 0.8443 MB / 1.122 GB, free: 5.211 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003713/1.555, allocations: 43.34 kB / 1.122 GB, free: 5.211 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0003045/1.555, allocations: 398.2 kB / 1.122 GB, free: 4.879 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007905/1.563, allocations: 1.785 MB / 1.124 GB, free: 4.461 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008601/1.572, allocations: 2.087 MB / 1.126 GB, free: 3.785 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008284/1.58, allocations: 1.934 MB / 1.128 GB, free: 3.379 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.619e-05/1.58, allocations: 1.625 kB / 1.128 GB, free: 3.379 MB / 0.7136 GB Notification: Performance of matching and sorting (n=284) (initialization): time 0.01939/1.6, allocations: 4.471 MB / 1.132 GB, free: 2.273 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.334e-05/1.6, allocations: 6.469 kB / 1.132 GB, free: 2.273 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.878e-05/1.6, allocations: 2.281 kB / 1.132 GB, free: 2.273 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001001/1.601, allocations: 231.3 kB / 1.132 GB, free: 2.227 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007953/1.609, allocations: 0.7632 MB / 1.133 GB, free: 2.016 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006369/1.615, allocations: 3.189 MB / 1.136 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006721/1.622, allocations: 0.5004 MB / 1.137 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001081/1.623, allocations: 102.5 kB / 1.137 GB, free: 15.37 MB / 0.7292 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.003945/1.627, allocations: 0.8729 MB / 1.138 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001193/1.628, allocations: 252.8 kB / 1.138 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02431/1.653, allocations: 5.095 MB / 1.143 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.756e-05/1.653, allocations: 24 kB / 1.143 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.356e-05/1.653, allocations: 4 kB / 1.143 GB, free: 10.76 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.097e-05/1.653, allocations: 17.56 kB / 1.143 GB, free: 10.75 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03376/1.687, allocations: 8.57 MB / 1.151 GB, free: 4.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.986e-05/1.687, allocations: 0 / 1.151 GB, free: 4.57 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007851/1.695, allocations: 0.718 MB / 1.152 GB, free: 3.891 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001421/1.696, allocations: 265.7 kB / 1.152 GB, free: 3.676 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000934/1.697, allocations: 70.69 kB / 1.152 GB, free: 3.641 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007675/1.705, allocations: 4.879 MB / 1.157 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/1.705, allocations: 1.859 kB / 1.157 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03102/1.736, allocations: 7.214 MB / 1.164 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003404/1.739, allocations: 0.8112 MB / 1.165 GB, free: 9.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001303/1.741, allocations: 48.62 kB / 1.165 GB, free: 9.328 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006281/1.747, allocations: 382.2 kB / 1.165 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001066/1.748, allocations: 162.7 kB / 1.165 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005924/1.749, allocations: 92.69 kB / 1.166 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.00451/1.753, allocations: 1.674 MB / 1.167 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.51e-07/1.753, allocations: 4 kB / 1.167 GB, free: 7.535 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.005723/1.759, allocations: 0.9376 MB / 1.168 GB, free: 6.68 MB / 0.7448 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.003945/1.763, allocations: 0.9895 MB / 1.169 GB, free: 6.133 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.01952/1.782, allocations: 4.339 MB / 1.173 GB, free: 2.863 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.009e-05/1.783, allocations: 4 kB / 1.173 GB, free: 2.859 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.01066/1.793, allocations: 2.504 MB / 1.176 GB, free: 0.9609 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005385/1.799, allocations: 0.5466 MB / 1.176 GB, free: 0.5547 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02729/1.826, allocations: 8.597 MB / 1.185 GB, free: 8.906 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00477/1.831, allocations: 2.411 MB / 1.187 GB, free: 6.629 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.008773/1.84, allocations: 1.087 MB / 1.188 GB, free: 5.547 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00275/1.842, allocations: 253.2 kB / 1.188 GB, free: 5.32 MB / 0.7605 GB Notification: Performance of SimCode: time 2.765e-06/1.842, allocations: 0 / 1.188 GB, free: 5.32 MB / 0.7605 GB Notification: Performance of Templates: time 0.1187/1.961, allocations: 39.79 MB / 1.227 GB, free: 13.91 MB / 0.8073 GB