Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements") translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.563/1.563, allocations: 287.4 MB / 303.2 MB, free: 8.324 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.0009202/0.0009202, allocations: 181.5 kB / 371.8 MB, free: 10.82 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.305/1.305, allocations: 205.4 MB / 0.6305 GB, free: 10.55 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.0007494/0.0007497, allocations: 94.55 kB / 0.7438 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00035/0.00035, allocations: 15.44 kB / 0.8667 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1721/0.1725, allocations: 115.3 MB / 0.9793 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.5065/0.679, allocations: 147.8 MB / 1.124 GB, free: 0.6758 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.02663/0.7057, allocations: 25.22 MB / 1.148 GB, free: 10.41 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003097/0.7088, allocations: 75.56 kB / 1.148 GB, free: 10.38 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001869/0.7107, allocations: 0.9465 MB / 1.149 GB, free: 10.13 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0/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.0/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.0/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.004174/0.7149, allocations: 1.573 MB / 1.151 GB, free: 9.406 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003553/0.7184, allocations: 1.371 MB / 1.152 GB, free: 8.859 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.006133/0.7246, allocations: 5.505 MB / 1.157 GB, free: 6.641 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004906/0.7295, allocations: 3.844 MB / 1.161 GB, free: 4.34 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002339/0.7319, allocations: 1.55 MB / 1.163 GB, free: 3.543 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002797/0.7347, allocations: 2.109 MB / 1.165 GB, free: 2.32 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0003821/0.7351, allocations: 138 kB / 1.165 GB, free: 2.32 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001693/0.7368, allocations: 0.5738 MB / 1.165 GB, free: 2.117 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0007983/0.7376, allocations: 0.8538 MB / 1.166 GB, free: 1.531 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0008348/0.7384, allocations: 0.7428 MB / 1.167 GB, free: 1.07 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.004539/0.743, allocations: 4.997 MB / 1.172 GB, free: 13.51 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.743, allocations: 0 / 1.172 GB, free: 13.51 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.623e-06/0.743, allocations: 0 / 1.172 GB, free: 13.51 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001324/0.7431, allocations: 0 / 1.172 GB, free: 13.51 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: 940 * Number of variables: 940 Notification: Performance of Generate backend data structure: time 0.008507/0.7517, allocations: 4.262 MB / 1.176 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.7517, allocations: 13.28 kB / 1.176 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01223/0.7639, allocations: 2.761 MB / 1.179 GB, free: 9.34 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004622/0.7686, allocations: 2.492 MB / 1.181 GB, free: 7.578 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001769/0.7688, allocations: 278.5 kB / 1.181 GB, free: 7.453 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005824/0.7694, allocations: 366.3 kB / 1.182 GB, free: 7.328 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01066/0.78, allocations: 5.565 MB / 1.187 GB, free: 4.145 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.076e-05/0.7801, allocations: 6.562 kB / 1.187 GB, free: 4.141 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003555/0.7805, allocations: 153.2 kB / 1.187 GB, free: 4.023 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.916e-05/0.7806, allocations: 87.91 kB / 1.187 GB, free: 4.023 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01395/0.7945, allocations: 6.664 MB / 1.194 GB, free: 15.11 MB / 0.7292 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.02658/0.8211, allocations: 17.13 MB / 1.211 GB, free: 13.22 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008894/0.83, allocations: 4.504 MB / 1.215 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005474/0.8355, allocations: 2.978 MB / 1.218 GB, free: 5.723 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009639/0.8365, allocations: 0.6738 MB / 1.219 GB, free: 4.918 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005217/0.8417, allocations: 2.62 MB / 1.221 GB, free: 2.262 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=313): time 5.801e-06/0.8418, allocations: 0 / 1.221 GB, free: 2.262 MB / 0.7448 GB Notification: Performance of matching and sorting (n=313): time 0.02374/0.8655, allocations: 9.479 MB / 1.231 GB, free: 8.648 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000115/0.8657, allocations: 218.4 kB / 1.231 GB, free: 8.391 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003648/0.8693, allocations: 2.613 MB / 1.233 GB, free: 5.762 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0004015/0.8697, allocations: 81.7 kB / 1.233 GB, free: 5.676 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.001297/0.871, allocations: 1.518 MB / 1.235 GB, free: 4.141 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.001036/0.8721, allocations: 1.055 MB / 1.236 GB, free: 3.07 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001973/0.8723, allocations: 52.22 kB / 1.236 GB, free: 3.02 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002135/0.8725, allocations: 415.7 kB / 1.236 GB, free: 2.609 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005002/0.8775, allocations: 2.09 MB / 1.238 GB, free: 0.5156 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004902/0.8824, allocations: 2.431 MB / 1.241 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009369/0.8918, allocations: 4.517 MB / 1.245 GB, free: 9.41 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.045e-06/0.8918, allocations: 4 kB / 1.245 GB, free: 9.406 MB / 0.7761 GB Notification: Performance of matching and sorting (n=353) (initialization): time 0.01169/0.9035, allocations: 5.616 MB / 1.251 GB, free: 3.746 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.474e-05/0.9036, allocations: 9.719 kB / 1.251 GB, free: 3.738 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/0.9036, allocations: 4 kB / 1.251 GB, free: 3.734 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001733/0.9053, allocations: 0.8161 MB / 1.251 GB, free: 2.914 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003717/0.9091, allocations: 0.7683 MB / 1.252 GB, free: 2.145 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009568/0.9186, allocations: 6.982 MB / 1.259 GB, free: 11.02 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003782/0.9224, allocations: 0.5478 MB / 1.26 GB, free: 10.47 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003008/0.9228, allocations: 115.9 kB / 1.26 GB, free: 10.36 MB / 0.7917 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 (289): * Single equations (assignments): 288 * 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 {(5,100.0%) 60} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00201/0.9248, allocations: 1.02 MB / 1.261 GB, free: 9.324 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005308/0.9253, allocations: 300.2 kB / 1.261 GB, free: 9.027 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01375/0.9391, allocations: 6.181 MB / 1.267 GB, free: 2.781 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.45e-05/0.9391, allocations: 15.94 kB / 1.267 GB, free: 2.766 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/0.9391, allocations: 0 / 1.267 GB, free: 2.766 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002422/0.9416, allocations: 0.9257 MB / 1.268 GB, free: 1.816 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006085/0.9422, allocations: 63.98 kB / 1.268 GB, free: 1.754 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002966/0.9452, allocations: 407.3 kB / 1.268 GB, free: 1.355 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004336/0.9456, allocations: 242.1 kB / 1.269 GB, free: 1.117 MB / 0.7917 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01437/0.96, allocations: 6.019 MB / 1.274 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01589/0.9759, allocations: 8.268 MB / 1.283 GB, free: 2.703 MB / 0.8073 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004707/0.9806, allocations: 2.424 MB / 1.285 GB, free: 272 kB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.002751/0.9834, allocations: 1.884 MB / 1.287 GB, free: 14.37 MB / 0.823 GB Notification: Performance of Backend: time 4.41e-07/0.9834, allocations: 4 kB / 1.287 GB, free: 14.37 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.01056/0.994, allocations: 4.409 MB / 1.291 GB, free: 10.34 MB / 0.823 GB Notification: Performance of SimCode: time 0.01367/1.008, allocations: 9.484 MB / 1.3 GB, free: 0.8203 MB / 0.823 GB Notification: Performance of Templates: time 0.09251/1.1, allocations: 57.87 MB / 1.357 GB, free: 7.184 MB / 0.8855 GB make -j1 -f Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.makefile (rm -f Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; mkfifo Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe >> ../files/Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.sim & ./Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe 2>&1)