Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements") translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.569/2.569, allocations: 251.3 MB / 266.2 MB, free: 11.53 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.001325/0.001324, allocations: 180.4 kB / 325.8 MB, free: 2.789 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.561/2.561, allocations: 205.4 MB / 0.5767 GB, free: 20.79 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.0009318/0.0009316, allocations: 95.8 kB / 0.6813 GB, free: 13.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 16.44 kB / 0.7953 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1968/0.1982, allocations: 106.3 MB / 0.899 GB, free: 65.4 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements): time 0.2194/0.4176, allocations: 145.7 MB / 1.041 GB, free: 15.27 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.6694/1.087, allocations: 24.56 MB / 1.065 GB, free: 3.715 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003319/1.09, allocations: 63.16 kB / 1.065 GB, free: 3.715 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.003261/1.094, allocations: 0.8675 MB / 1.066 GB, free: 3.699 MB / 0.698 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/BoundaryConditions/WeatherData/BaseClasses/getHeaderElementTMY3.mo:2:1-105:25:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘ contains a call to impure function ‘Modelica.Utilities.Streams.readLine‘. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/BoundaryConditions/WeatherData/BaseClasses/getLongitudeTMY3.mo:2:1-48:21:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getLongitudeTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/BoundaryConditions/WeatherData/BaseClasses/getLatitudeTMY3.mo:2:1-48:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getLatitudeTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/BoundaryConditions/WeatherData/BaseClasses/getTimeZoneTMY3.mo:2:1-47:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getTimeZoneTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. Notification: Performance of NFTyping.typeBindings: time 0.00611/1.1, allocations: 1.367 MB / 1.068 GB, free: 3.648 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.005897/1.106, allocations: 1.183 MB / 1.069 GB, free: 3.598 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.009013/1.115, allocations: 4.496 MB / 1.073 GB, free: 3.582 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007795/1.123, allocations: 3.157 MB / 1.076 GB, free: 3.176 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004311/1.127, allocations: 1.323 MB / 1.077 GB, free: 3.172 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004834/1.132, allocations: 1.795 MB / 1.079 GB, free: 3.164 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001231/1.133, allocations: 105.8 kB / 1.079 GB, free: 3.164 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003527/1.137, allocations: 0.5397 MB / 1.08 GB, free: 3.148 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001828/1.139, allocations: 0.7116 MB / 1.081 GB, free: 3.148 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.002035/1.141, allocations: 0.6323 MB / 1.081 GB, free: 19.11 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.007614/1.148, allocations: 4.259 MB / 1.085 GB, free: 18.83 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 9.067e-06/1.149, allocations: 1.25 kB / 1.085 GB, free: 18.83 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.605e-06/1.149, allocations: 0 / 1.085 GB, free: 18.83 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0002485/1.149, allocations: 0 / 1.085 GB, free: 18.83 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 804 * Number of variables: 804 Notification: Performance of Generate backend data structure: time 0.01931/1.168, allocations: 3.796 MB / 1.089 GB, free: 17.16 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/1.168, allocations: 8.031 kB / 1.089 GB, free: 17.16 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02333/1.192, allocations: 2.693 MB / 1.092 GB, free: 16.9 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007054/1.199, allocations: 2.171 MB / 1.094 GB, free: 16.38 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002835/1.199, allocations: 233.8 kB / 1.094 GB, free: 16.37 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001589/1.201, allocations: 304.1 kB / 1.094 GB, free: 16.37 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0205/1.221, allocations: 4.976 MB / 1.099 GB, free: 16.07 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001708/1.221, allocations: 10.22 kB / 1.099 GB, free: 16.06 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008879/1.222, allocations: 135.3 kB / 1.099 GB, free: 16.06 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.131e-05/1.222, allocations: 75.44 kB / 1.099 GB, free: 16.06 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02577/1.248, allocations: 6.094 MB / 1.105 GB, free: 15.12 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.04682/1.295, allocations: 14.28 MB / 1.119 GB, free: 8.453 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01926/1.314, allocations: 4.515 MB / 1.124 GB, free: 7.484 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009083/1.323, allocations: 2.385 MB / 1.126 GB, free: 7 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001538/1.325, allocations: 0.6651 MB / 1.127 GB, free: 6.305 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00998/1.335, allocations: 2.359 MB / 1.129 GB, free: 5.516 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=268): time 8.186e-06/1.335, allocations: 4 kB / 1.129 GB, free: 5.512 MB / 0.7136 GB Notification: Performance of matching and sorting (n=268): time 0.03462/1.37, allocations: 7.22 MB / 1.136 GB, free: 3.41 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001462/1.37, allocations: 211.7 kB / 1.136 GB, free: 3.184 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004957/1.375, allocations: 2.36 MB / 1.139 GB, free: 2.586 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0009549/1.376, allocations: 72.23 kB / 1.139 GB, free: 2.555 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001647/1.378, allocations: 1.337 MB / 1.14 GB, free: 1.91 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.001918/1.379, allocations: 0.8934 MB / 1.141 GB, free: 1.262 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003559/1.38, allocations: 50.61 kB / 1.141 GB, free: 1.262 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002936/1.38, allocations: 404.7 kB / 1.141 GB, free: 0.9258 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008921/1.389, allocations: 1.878 MB / 1.143 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009156/1.398, allocations: 2.179 MB / 1.145 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009174/1.408, allocations: 2.022 MB / 1.147 GB, free: 12.63 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-05/1.408, allocations: 4 kB / 1.147 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of matching and sorting (n=306) (initialization): time 0.02129/1.429, allocations: 4.783 MB / 1.152 GB, free: 9.074 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.623e-05/1.429, allocations: 8 kB / 1.152 GB, free: 9.066 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.122e-05/1.429, allocations: 4 kB / 1.152 GB, free: 9.062 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001464/1.431, allocations: 346.3 kB / 1.152 GB, free: 8.793 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007934/1.438, allocations: 0.7375 MB / 1.153 GB, free: 8.098 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008425/1.447, allocations: 3.906 MB / 1.157 GB, free: 5.176 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006817/1.454, allocations: 0.5081 MB / 1.157 GB, free: 4.707 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001047/1.455, allocations: 106.4 kB / 1.157 GB, free: 4.621 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: 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 (276): * Single equations (assignments): 275 * 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 {(3,100.0%) 28} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003707/1.459, allocations: 0.9285 MB / 1.158 GB, free: 4.004 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001104/1.46, allocations: 264.7 kB / 1.158 GB, free: 3.742 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02513/1.485, allocations: 5.359 MB / 1.164 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.547e-05/1.485, allocations: 24 kB / 1.164 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.921e-05/1.485, allocations: 8 kB / 1.164 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.647e-05/1.485, allocations: 11.95 kB / 1.164 GB, free: 15.78 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03454/1.52, allocations: 9.028 MB / 1.173 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.611e-05/1.52, allocations: 0 / 1.173 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007515/1.527, allocations: 0.6868 MB / 1.173 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00185/1.529, allocations: 377.8 kB / 1.174 GB, free: 8.375 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008473/1.53, allocations: 76.97 kB / 1.174 GB, free: 8.34 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009608/1.54, allocations: 5.793 MB / 1.179 GB, free: 3.438 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/1.54, allocations: 0 / 1.179 GB, free: 3.438 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03094/1.571, allocations: 7.604 MB / 1.187 GB, free: 13.92 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003342/1.574, allocations: 0.8343 MB / 1.188 GB, free: 13.25 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00126/1.575, allocations: 48.02 kB / 1.188 GB, free: 13.24 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006212/1.582, allocations: 381.4 kB / 1.188 GB, free: 12.91 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001029/1.583, allocations: 175.8 kB / 1.188 GB, free: 12.75 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006799/1.583, allocations: 98.11 kB / 1.188 GB, free: 12.68 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.00424/1.588, allocations: 1.713 MB / 1.19 GB, free: 11.41 MB / 0.7605 GB Notification: Performance of sort global known variables: time 5.81e-07/1.588, allocations: 1.859 kB / 1.19 GB, free: 11.41 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.005417/1.593, allocations: 0.9985 MB / 1.191 GB, free: 10.5 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.volAir.dynBal.U,thermalZoneTwoElements.volAir.dynBal.m,thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[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 (251): * Single equations (assignments): 244 * 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 {(3,100.0%) 25,(1,100.0%) 3} * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.003662/1.597, allocations: 0.9891 MB / 1.192 GB, free: 9.949 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.01947/1.616, allocations: 4.606 MB / 1.196 GB, free: 6.504 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/1.616, allocations: 0 / 1.196 GB, free: 6.504 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.01084/1.627, allocations: 2.649 MB / 1.199 GB, free: 4.52 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006756/1.634, allocations: 0.618 MB / 1.2 GB, free: 4.082 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02684/1.661, allocations: 9.021 MB / 1.208 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004478/1.665, allocations: 2.431 MB / 1.211 GB, free: 9.77 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.008691/1.674, allocations: 1.12 MB / 1.212 GB, free: 8.648 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002735/1.677, allocations: 255.1 kB / 1.212 GB, free: 8.418 MB / 0.7761 GB Notification: Performance of SimCode: time 1.323e-06/1.677, allocations: 0 / 1.212 GB, free: 8.418 MB / 0.7761 GB Notification: Performance of Templates: time 0.1199/1.797, allocations: 41.79 MB / 1.253 GB, free: 14.97 MB / 0.823 GB make -j1 -f Buildings_7.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.makefile (rm -f Buildings_7.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; mkfifo Buildings_7.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe >> ../files/Buildings_7.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.sim & ./Buildings_7.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe 2>&1)