Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.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.SimpleRoomThreeElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_master_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.048/5.048, allocations: 0.5623 GB / 0.5769 GB, free: 3.32 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.00238/0.002379, allocations: 358.7 kB / 0.644 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.06/4.06, allocations: 410.7 MB / 1.112 GB, free: 5.961 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.0018/0.0018, allocations: 192.1 kB / 1.225 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004854/0.0004856, allocations: 12 kB / 1.348 GB, free: 8.289 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6217/0.6222, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements): time 0.1447/0.7669, allocations: 146.6 MB / 1.604 GB, free: 137.8 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.03031/0.7973, allocations: 24.45 MB / 1.628 GB, free: 113.3 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003221/0.8006, allocations: 71.62 kB / 1.628 GB, free: 113.2 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.002718/0.8033, allocations: 0.9485 MB / 1.629 GB, free: 112.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.007188/0.8105, allocations: 2.19 MB / 1.631 GB, free: 110.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.005992/0.8166, allocations: 1.689 MB / 1.633 GB, free: 108.4 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.005879/0.8225, allocations: 4.861 MB / 1.637 GB, free: 103.6 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004144/0.8267, allocations: 3.039 MB / 1.64 GB, free: 100.5 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002127/0.8288, allocations: 1.385 MB / 1.642 GB, free: 99.12 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002619/0.8315, allocations: 1.914 MB / 1.643 GB, free: 97.2 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0005596/0.8321, allocations: 120 kB / 1.644 GB, free: 97.08 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001805/0.8339, allocations: 0.5577 MB / 1.644 GB, free: 96.52 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0007275/0.8346, allocations: 0.7586 MB / 1.645 GB, free: 95.76 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0008762/0.8355, allocations: 0.6754 MB / 1.646 GB, free: 95.08 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.005164/0.8407, allocations: 4.575 MB / 1.65 GB, free: 90.49 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.587e-06/0.8408, allocations: 7.875 kB / 1.65 GB, free: 90.48 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.081e-06/0.8408, allocations: 4 kB / 1.65 GB, free: 90.48 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.000111/0.8409, allocations: 0 / 1.65 GB, free: 90.48 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: 860 * Number of variables: 860 Notification: Performance of Generate backend data structure: time 0.0086/0.8495, allocations: 4.013 MB / 1.654 GB, free: 86.4 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.8496, allocations: 11.62 kB / 1.654 GB, free: 86.39 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01453/0.8641, allocations: 2.721 MB / 1.657 GB, free: 83.66 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005271/0.8694, allocations: 2.266 MB / 1.659 GB, free: 81.32 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002053/0.8697, allocations: 250.7 kB / 1.659 GB, free: 81.07 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008244/0.8705, allocations: 327.9 kB / 1.659 GB, free: 80.75 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0136/0.8841, allocations: 5.223 MB / 1.664 GB, free: 75.45 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.141e-05/0.8842, allocations: 7.844 kB / 1.664 GB, free: 75.45 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004702/0.8847, allocations: 140 kB / 1.665 GB, free: 75.31 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.79e-05/0.8848, allocations: 80 kB / 1.665 GB, free: 75.23 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01813/0.9029, allocations: 6.343 MB / 1.671 GB, free: 68.88 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.03112/0.9341, allocations: 15.46 MB / 1.686 GB, free: 52.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.011/0.9451, allocations: 4.104 MB / 1.69 GB, free: 48.7 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006475/0.9517, allocations: 2.651 MB / 1.693 GB, free: 46.04 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009415/0.9526, allocations: 0.6736 MB / 1.693 GB, free: 45.23 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006374/0.959, allocations: 2.468 MB / 1.696 GB, free: 42.72 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=286): time 8.268e-06/0.9591, allocations: 0 / 1.696 GB, free: 42.72 MB / 0.8542 GB Notification: Performance of matching and sorting (n=286): time 0.02504/0.9841, allocations: 8.027 MB / 1.703 GB, free: 34.58 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.619e-05/0.9843, allocations: 226.1 kB / 1.704 GB, free: 34.31 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006673/0.9909, allocations: 2.468 MB / 1.706 GB, free: 31.82 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0007709/0.9918, allocations: 77.7 kB / 1.706 GB, free: 31.74 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001387/0.9932, allocations: 1.416 MB / 1.708 GB, free: 30.3 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.001168/0.9944, allocations: 0.9472 MB / 1.708 GB, free: 29.34 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002651/0.9947, allocations: 48 kB / 1.709 GB, free: 29.3 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001622/0.9948, allocations: 411.1 kB / 1.709 GB, free: 28.89 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005809/1.001, allocations: 1.964 MB / 1.711 GB, free: 26.92 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006376/1.007, allocations: 2.279 MB / 1.713 GB, free: 24.57 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005925/1.013, allocations: 2.126 MB / 1.715 GB, free: 22.43 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.369e-05/1.013, allocations: 4 kB / 1.715 GB, free: 22.42 MB / 0.8542 GB Notification: Performance of matching and sorting (n=325) (initialization): time 0.01447/1.028, allocations: 5.142 MB / 1.72 GB, free: 17.23 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.999e-05/1.028, allocations: 8 kB / 1.72 GB, free: 17.22 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.679e-05/1.028, allocations: 4 kB / 1.72 GB, free: 17.22 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00157/1.029, allocations: 0.5605 MB / 1.721 GB, free: 16.66 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004877/1.034, allocations: 0.7488 MB / 1.721 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009023/1.043, allocations: 5.297 MB / 1.727 GB, free: 10.48 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004751/1.048, allocations: 0.5245 MB / 1.727 GB, free: 9.953 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007224/1.049, allocations: 111.9 kB / 1.727 GB, free: 9.844 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 (280): * Single equations (assignments): 279 * 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 {(4,100.0%) 42} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002588/1.051, allocations: 0.9617 MB / 1.728 GB, free: 8.871 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007245/1.052, allocations: 284.4 kB / 1.728 GB, free: 8.59 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01782/1.07, allocations: 5.702 MB / 1.734 GB, free: 2.828 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.94e-05/1.07, allocations: 32 kB / 1.734 GB, free: 2.797 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.594e-05/1.07, allocations: 7.984 kB / 1.734 GB, free: 2.789 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.363e-05/1.07, allocations: 11.95 kB / 1.734 GB, free: 2.777 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5859/1.656, allocations: 9.621 MB / 1.743 GB, free: 264.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-05/1.656, allocations: 1.156 kB / 1.743 GB, free: 264.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005355/1.661, allocations: 0.7077 MB / 1.744 GB, free: 264.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002283/1.664, allocations: 0.5214 MB / 1.745 GB, free: 264 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006752/1.664, allocations: 83 kB / 1.745 GB, free: 263.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01091/1.675, allocations: 6.943 MB / 1.752 GB, free: 259.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.017e-06/1.675, allocations: 1.031 kB / 1.752 GB, free: 259.1 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02297/1.698, allocations: 8.084 MB / 1.759 GB, free: 256.4 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002503/1.701, allocations: 0.877 MB / 1.76 GB, free: 255.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007745/1.702, allocations: 53.38 kB / 1.76 GB, free: 255.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004127/1.706, allocations: 394.8 kB / 1.761 GB, free: 255.8 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007106/1.707, allocations: 188 kB / 1.761 GB, free: 255.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004115/1.707, allocations: 104.3 kB / 1.761 GB, free: 255.7 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.003164/1.71, allocations: 1.793 MB / 1.763 GB, free: 254.8 MB / 0.8542 GB Notification: Performance of sort global known variables: time 9.9e-07/1.71, allocations: 0.5312 kB / 1.763 GB, free: 254.8 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.004736/1.715, allocations: 1.081 MB / 1.764 GB, free: 254.5 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (thermalZoneThreeElements.volAir.dynBal.U,thermalZoneThreeElements.volAir.dynBal.m,thermalZoneThreeElements.extWallRC.thermCapExt[1].T,thermalZoneThreeElements.intWallRC.thermCapInt[1].T,thermalZoneThreeElements.floorRC.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 (257): * Single equations (assignments): 250 * 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 {(4,100.0%) 36,(1,100.0%) 3} * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.004/1.719, allocations: 0.9825 MB / 1.765 GB, free: 254.3 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01307/1.732, allocations: 4.903 MB / 1.77 GB, free: 249.4 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 7.085e-06/1.732, allocations: 0 / 1.77 GB, free: 249.4 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.007255/1.74, allocations: 2.843 MB / 1.772 GB, free: 246.6 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004708/1.744, allocations: 0.6665 MB / 1.773 GB, free: 245.9 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01822/1.763, allocations: 9.569 MB / 1.782 GB, free: 236.6 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002673/1.765, allocations: 2.606 MB / 1.785 GB, free: 234 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.005748/1.771, allocations: 1.11 MB / 1.786 GB, free: 232.9 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00177/1.773, allocations: 271.2 kB / 1.786 GB, free: 232.7 MB / 0.8542 GB Notification: Performance of SimCode: time 1.702e-06/1.773, allocations: 0 / 1.786 GB, free: 232.7 MB / 0.8542 GB Notification: Performance of Templates: time 0.1044/1.877, allocations: 45.2 MB / 1.83 GB, free: 188.1 MB / 0.8542 GB