Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_master_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.766/4.766, allocations: 0.5623 GB / 0.5769 GB, free: 3.332 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00244/0.00244, allocations: 362.6 kB / 0.6441 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.383/4.383, allocations: 410.7 MB / 1.112 GB, free: 5.984 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001778/0.001778, allocations: 187 kB / 1.225 GB, free: 6.117 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005626/0.0005629, allocations: 12 kB / 1.348 GB, free: 8.262 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5908/0.5914, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.1417/0.7331, allocations: 145.1 MB / 1.602 GB, free: 139.2 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.02925/0.7624, allocations: 24.02 MB / 1.626 GB, free: 115.1 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00328/0.7658, allocations: 59.62 kB / 1.626 GB, free: 115.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.00235/0.7682, allocations: 0.8981 MB / 1.627 GB, free: 114.2 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.00664/0.7748, allocations: 2.049 MB / 1.629 GB, free: 112.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.005323/0.7802, allocations: 1.592 MB / 1.63 GB, free: 110.5 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.005226/0.7854, allocations: 4.237 MB / 1.635 GB, free: 106.3 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003911/0.7894, allocations: 2.746 MB / 1.637 GB, free: 103.6 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001998/0.7914, allocations: 1.237 MB / 1.638 GB, free: 102.3 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002422/0.7938, allocations: 1.704 MB / 1.64 GB, free: 100.6 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0004892/0.7944, allocations: 96 kB / 1.64 GB, free: 100.5 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001723/0.7961, allocations: 0.5265 MB / 1.641 GB, free: 100 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0006115/0.7967, allocations: 0.6769 MB / 1.641 GB, free: 99.32 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0007772/0.7975, allocations: 0.5897 MB / 1.642 GB, free: 98.72 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.008973/0.8065, allocations: 4.018 MB / 1.646 GB, free: 94.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 8.767e-06/0.8066, allocations: 0 / 1.646 GB, free: 94.7 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.416e-06/0.8066, allocations: 4 kB / 1.646 GB, free: 94.69 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0001265/0.8068, allocations: 0 / 1.646 GB, free: 94.69 MB / 0.8542 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.01701/0.8238, allocations: 3.638 MB / 1.649 GB, free: 90.98 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 6.711e-05/0.8239, allocations: 19.62 kB / 1.649 GB, free: 90.96 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03339/0.8573, allocations: 2.679 MB / 1.652 GB, free: 88.28 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0102/0.8676, allocations: 2.088 MB / 1.654 GB, free: 86.11 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004091/0.8681, allocations: 234 kB / 1.654 GB, free: 85.88 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001654/0.8697, allocations: 292 kB / 1.655 GB, free: 85.6 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01896/0.8887, allocations: 4.801 MB / 1.659 GB, free: 80.71 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.72e-05/0.8889, allocations: 3.938 kB / 1.659 GB, free: 80.71 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004565/0.8893, allocations: 127.9 kB / 1.659 GB, free: 80.58 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.513e-05/0.8894, allocations: 72 kB / 1.659 GB, free: 80.51 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01687/0.9063, allocations: 5.926 MB / 1.665 GB, free: 74.57 MB / 0.8542 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.0276/0.9339, allocations: 13.38 MB / 1.678 GB, free: 60.76 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01176/0.9457, allocations: 4.355 MB / 1.683 GB, free: 56.41 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005715/0.9515, allocations: 2.214 MB / 1.685 GB, free: 54.2 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008797/0.9524, allocations: 0.6735 MB / 1.685 GB, free: 53.39 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006005/0.9584, allocations: 2.265 MB / 1.688 GB, free: 51.09 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=255): time 7.329e-06/0.9585, allocations: 0 / 1.688 GB, free: 51.09 MB / 0.8542 GB Notification: Performance of matching and sorting (n=255): time 0.01949/0.978, allocations: 6.658 MB / 1.694 GB, free: 44.31 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.188e-05/0.9781, allocations: 209.9 kB / 1.694 GB, free: 44.06 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003231/0.9813, allocations: 2.266 MB / 1.697 GB, free: 41.76 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0004846/0.9818, allocations: 69.7 kB / 1.697 GB, free: 41.68 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001071/0.9829, allocations: 1.274 MB / 1.698 GB, free: 40.39 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.000919/0.9839, allocations: 0.8471 MB / 1.699 GB, free: 39.53 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002384/0.9841, allocations: 44 kB / 1.699 GB, free: 39.49 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.9843, allocations: 398.5 kB / 1.699 GB, free: 39.09 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005025/0.9893, allocations: 1.8 MB / 1.701 GB, free: 37.29 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005548/0.9949, allocations: 2.099 MB / 1.703 GB, free: 35.11 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005472/1, allocations: 1.948 MB / 1.705 GB, free: 33.14 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.316e-05/1, allocations: 4 kB / 1.705 GB, free: 33.14 MB / 0.8542 GB Notification: Performance of matching and sorting (n=292) (initialization): time 0.0128/1.013, allocations: 4.52 MB / 1.709 GB, free: 28.57 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.796e-05/1.013, allocations: 8 kB / 1.709 GB, free: 28.56 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.606e-05/1.013, allocations: 4 kB / 1.709 GB, free: 28.55 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007524/1.014, allocations: 227.8 kB / 1.709 GB, free: 28.33 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004679/1.019, allocations: 0.7332 MB / 1.71 GB, free: 27.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004407/1.023, allocations: 3.093 MB / 1.713 GB, free: 24.38 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003843/1.027, allocations: 0.4944 MB / 1.714 GB, free: 23.88 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004618/1.028, allocations: 107.9 kB / 1.714 GB, free: 23.77 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 13 ($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,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (270): * Single equations (assignments): 269 * 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.002146/1.03, allocations: 0.8899 MB / 1.715 GB, free: 22.88 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006572/1.03, allocations: 260.8 kB / 1.715 GB, free: 22.62 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01392/1.044, allocations: 5.065 MB / 1.72 GB, free: 17.48 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.579e-05/1.044, allocations: 31.98 kB / 1.72 GB, free: 17.45 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.104e-05/1.044, allocations: 0 / 1.72 GB, free: 17.45 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.295e-05/1.045, allocations: 15.95 kB / 1.72 GB, free: 17.44 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01935/1.064, allocations: 8.553 MB / 1.728 GB, free: 8.742 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.125e-05/1.064, allocations: 0 / 1.728 GB, free: 8.742 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004318/1.068, allocations: 0.6825 MB / 1.729 GB, free: 8.059 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001009/1.069, allocations: 262.2 kB / 1.729 GB, free: 7.793 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003911/1.07, allocations: 75.92 kB / 1.729 GB, free: 7.719 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004977/1.075, allocations: 4.804 MB / 1.734 GB, free: 2.629 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.914e-06/1.075, allocations: 0 / 1.734 GB, free: 2.629 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5523/1.627, allocations: 7.196 MB / 1.741 GB, free: 265.4 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002358/1.629, allocations: 0.8079 MB / 1.742 GB, free: 265.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007977/1.63, allocations: 49.45 kB / 1.742 GB, free: 265.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003818/1.634, allocations: 373.5 kB / 1.742 GB, free: 265.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006231/1.635, allocations: 166.3 kB / 1.742 GB, free: 265.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003987/1.635, allocations: 95.62 kB / 1.742 GB, free: 265 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.003308/1.638, allocations: 1.65 MB / 1.744 GB, free: 264.5 MB / 0.8542 GB Notification: Performance of sort global known variables: time 9.45e-07/1.639, allocations: 2.531 kB / 1.744 GB, free: 264.5 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003862/1.642, allocations: 0.9489 MB / 1.745 GB, free: 264.3 MB / 0.8542 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.003569/1.646, allocations: 0.9637 MB / 1.746 GB, free: 264.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01326/1.659, allocations: 4.376 MB / 1.75 GB, free: 262.8 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 6.727e-06/1.659, allocations: 0.6562 kB / 1.75 GB, free: 262.8 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.006986/1.666, allocations: 2.512 MB / 1.753 GB, free: 261.9 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003849/1.67, allocations: 0.5841 MB / 1.753 GB, free: 261.7 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01797/1.688, allocations: 8.625 MB / 1.762 GB, free: 257.6 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002327/1.691, allocations: 2.418 MB / 1.764 GB, free: 255.2 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.005607/1.696, allocations: 1.052 MB / 1.765 GB, free: 254.4 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001659/1.698, allocations: 251.2 kB / 1.765 GB, free: 254.1 MB / 0.8542 GB Notification: Performance of SimCode: time 2.47e-06/1.698, allocations: 0 / 1.765 GB, free: 254.1 MB / 0.8542 GB Notification: Performance of Templates: time 0.1445/1.842, allocations: 39.39 MB / 1.804 GB, free: 215.4 MB / 0.8542 GB