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.489/1.489, allocations: 288.4 MB / 304.3 MB, free: 8.035 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.0009547/0.0009549, allocations: 180.5 kB / 372.9 MB, free: 10.14 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.238/1.238, allocations: 205.4 MB / 0.6316 GB, free: 9.941 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.0007097/0.0007097, allocations: 96.53 kB / 0.745 GB, free: 5.859 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003716/0.0003717, allocations: 11.56 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1708/0.1712, allocations: 115.3 MB / 0.9807 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.5151/0.6864, allocations: 145.1 MB / 1.122 GB, free: 1.523 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.02961/0.716, allocations: 24.39 MB / 1.146 GB, free: 11.89 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003772/0.7198, allocations: 56.72 kB / 1.146 GB, free: 11.87 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002637/0.7225, allocations: 0.8293 MB / 1.147 GB, free: 11.51 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.00489/0.7274, allocations: 1.362 MB / 1.148 GB, free: 10.65 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.004239/0.7317, allocations: 1.146 MB / 1.15 GB, free: 10.18 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.006574/0.7383, allocations: 4.243 MB / 1.154 GB, free: 8.781 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005928/0.7442, allocations: 3.264 MB / 1.157 GB, free: 7.555 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003168/0.7474, allocations: 1.259 MB / 1.158 GB, free: 7.02 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003364/0.7508, allocations: 1.692 MB / 1.16 GB, free: 6.035 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.000929/0.7518, allocations: 97.16 kB / 1.16 GB, free: 6.035 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002768/0.7545, allocations: 0.6039 MB / 1.16 GB, free: 5.789 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001432/0.756, allocations: 0.6725 MB / 1.161 GB, free: 5.336 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.003244/0.7592, allocations: 1.39 MB / 1.162 GB, free: 4.336 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.006198/0.7655, allocations: 4.025 MB / 1.166 GB, free: 1.504 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.7655, allocations: 0 / 1.166 GB, free: 1.504 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.046e-06/0.7655, allocations: 0 / 1.166 GB, free: 1.504 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002817/0.7658, allocations: 4 kB / 1.166 GB, free: 1.5 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.0106/0.7764, allocations: 3.605 MB / 1.17 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.842e-05/0.7765, allocations: 7.938 kB / 1.17 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01221/0.7887, allocations: 2.681 MB / 1.173 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005023/0.7938, allocations: 2.156 MB / 1.175 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001919/0.794, allocations: 229.5 kB / 1.175 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009252/0.7949, allocations: 303.1 kB / 1.175 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01135/0.8063, allocations: 4.804 MB / 1.18 GB, free: 9.25 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.828e-05/0.8064, allocations: 6.781 kB / 1.18 GB, free: 9.246 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003415/0.8067, allocations: 123.2 kB / 1.18 GB, free: 9.152 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.42e-05/0.8068, allocations: 71.94 kB / 1.18 GB, free: 9.152 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01246/0.8192, allocations: 5.92 MB / 1.186 GB, free: 6.281 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.02214/0.8414, allocations: 13.38 MB / 1.199 GB, free: 9.883 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008899/0.8503, allocations: 4.352 MB / 1.203 GB, free: 5.531 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004294/0.8547, allocations: 2.214 MB / 1.205 GB, free: 3.316 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008137/0.8555, allocations: 0.6696 MB / 1.206 GB, free: 2.516 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004492/0.86, allocations: 2.269 MB / 1.208 GB, free: 216 kB / 0.7292 GB Notification: Performance of pre-optimization done (n=255): time 5.5e-06/0.86, allocations: 3.938 kB / 1.208 GB, free: 212 kB / 0.7292 GB Notification: Performance of matching and sorting (n=255): time 0.01486/0.8749, allocations: 6.669 MB / 1.215 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.135e-05/0.875, allocations: 209.9 kB / 1.215 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003/0.878, allocations: 2.27 MB / 1.217 GB, free: 6.859 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0003541/0.8784, allocations: 73.7 kB / 1.217 GB, free: 6.781 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.001043/0.8794, allocations: 1.266 MB / 1.218 GB, free: 5.496 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008556/0.8803, allocations: 0.851 MB / 1.219 GB, free: 4.633 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001813/0.8805, allocations: 44 kB / 1.219 GB, free: 4.59 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000162/0.8807, allocations: 402.5 kB / 1.22 GB, free: 4.191 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003961/0.8846, allocations: 1.8 MB / 1.221 GB, free: 2.387 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004117/0.8888, allocations: 2.099 MB / 1.223 GB, free: 216 kB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007777/0.8965, allocations: 3.878 MB / 1.227 GB, free: 12.25 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-06/0.8966, allocations: 0 / 1.227 GB, free: 12.25 MB / 0.7605 GB Notification: Performance of matching and sorting (n=292) (initialization): time 0.009386/0.906, allocations: 4.519 MB / 1.232 GB, free: 7.676 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.543e-05/0.906, allocations: 5.406 kB / 1.232 GB, free: 7.672 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.906, allocations: 4 kB / 1.232 GB, free: 7.668 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005769/0.9066, allocations: 233.1 kB / 1.232 GB, free: 7.438 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00343/0.91, allocations: 0.7332 MB / 1.233 GB, free: 6.703 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003511/0.9136, allocations: 3.095 MB / 1.236 GB, free: 3.477 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003591/0.9172, allocations: 0.4897 MB / 1.236 GB, free: 2.984 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000377/0.9176, allocations: 111.9 kB / 1.236 GB, free: 2.875 MB / 0.7605 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.001927/0.9195, allocations: 0.8798 MB / 1.237 GB, free: 1.984 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005348/0.92, allocations: 256.8 kB / 1.237 GB, free: 1.73 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01153/0.9316, allocations: 5.072 MB / 1.242 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-05/0.9316, allocations: 19.88 kB / 1.242 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.9317, allocations: 4 kB / 1.242 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001874/0.9335, allocations: 0.8014 MB / 1.243 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005166/0.9341, allocations: 48 kB / 1.243 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002747/0.9368, allocations: 382.8 kB / 1.244 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003597/0.9372, allocations: 169.9 kB / 1.244 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01238/0.9496, allocations: 4.814 MB / 1.248 GB, free: 6.285 MB / 0.7761 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01441/0.964, allocations: 7.121 MB / 1.255 GB, free: 15.07 MB / 0.7917 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004152/0.9682, allocations: 2.077 MB / 1.257 GB, free: 12.98 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.002446/0.9707, allocations: 1.656 MB / 1.259 GB, free: 11.31 MB / 0.7917 GB Notification: Performance of Backend: time 6.92e-07/0.9707, allocations: 0 / 1.259 GB, free: 11.31 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.009187/0.9799, allocations: 3.76 MB / 1.263 GB, free: 7.832 MB / 0.7917 GB Notification: Performance of SimCode: time 0.01086/0.9908, allocations: 7.615 MB / 1.27 GB, free: 164 kB / 0.7917 GB Notification: Performance of Templates: time 0.07428/1.065, allocations: 48.71 MB / 1.318 GB, free: 15.58 MB / 0.8542 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)