Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements") translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 107.7 kB / 16.37 MB, free: 6.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001218/0.001217, allocations: 189.3 kB / 17.3 MB, free: 5.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.146/1.146, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.62/1.62, allocations: 292.3 MB / 0.5496 GB, free: 17.51 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 71.03 kB / 0.6729 GB, free: 5.883 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1891/0.1906, allocations: 114.6 MB / 0.7848 GB, free: 3.207 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements): time 0.4449/0.6355, allocations: 161.7 MB / 0.9427 GB, free: 8.473 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.03083/0.6664, allocations: 26.62 MB / 0.9687 GB, free: 13.8 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002999/0.6694, allocations: 71.62 kB / 0.9688 GB, free: 13.73 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.002655/0.6722, allocations: 1.068 MB / 0.9698 GB, free: 12.65 MB / 0.7637 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:216:3-259:11:writable] Warning: Pure function 'Modelica.Utilities.Strings.find' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.00497/0.6772, allocations: 1.695 MB / 0.9715 GB, free: 10.96 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.004096/0.6813, allocations: 1.735 MB / 0.9732 GB, free: 9.238 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.005968/0.6872, allocations: 5.178 MB / 0.9782 GB, free: 4.043 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005343/0.6926, allocations: 4.395 MB / 0.9825 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003351/0.696, allocations: 2.092 MB / 0.9846 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00345/0.6994, allocations: 2.565 MB / 0.9871 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.001072/0.7005, allocations: 476 kB / 0.9875 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00236/0.7029, allocations: 0.9992 MB / 0.9885 GB, free: 9.578 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.001394/0.7043, allocations: 1.227 MB / 0.9897 GB, free: 8.348 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.002741/0.707, allocations: 2.157 MB / 0.9918 GB, free: 6.18 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.005568/0.7126, allocations: 6.063 MB / 0.9977 GB, free: 100 kB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.7126, allocations: 0 / 0.9977 GB, free: 100 kB / 0.7794 GB Notification: Performance of FrontEnd: time 1.533e-06/0.7126, allocations: 0 / 0.9977 GB, free: 100 kB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0001106/0.7128, allocations: 0 / 0.9977 GB, free: 100 kB / 0.7794 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.008602/0.7214, allocations: 4.686 MB / 1.002 GB, free: 11.34 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.7214, allocations: 12.02 kB / 1.002 GB, free: 11.33 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01214/0.7336, allocations: 2.604 MB / 1.005 GB, free: 8.715 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004459/0.7381, allocations: 2.373 MB / 1.007 GB, free: 6.266 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001655/0.7383, allocations: 250.7 kB / 1.007 GB, free: 6.02 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005452/0.7388, allocations: 331.9 kB / 1.008 GB, free: 5.695 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01003/0.7488, allocations: 5.207 MB / 1.013 GB, free: 420 kB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.875e-05/0.7489, allocations: 11.56 kB / 1.013 GB, free: 412 kB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003242/0.7493, allocations: 140 kB / 1.013 GB, free: 272 kB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.958e-05/0.7493, allocations: 80 kB / 1.013 GB, free: 192 kB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01322/0.7626, allocations: 6.285 MB / 1.019 GB, free: 9.895 MB / 0.8106 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.02605/0.7886, allocations: 15.31 MB / 1.034 GB, free: 9.969 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008963/0.7976, allocations: 4.114 MB / 1.038 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005338/0.803, allocations: 2.554 MB / 1.041 GB, free: 3.277 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009478/0.804, allocations: 0.6764 MB / 1.041 GB, free: 2.473 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005695/0.8097, allocations: 2.468 MB / 1.044 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=286): time 5.631e-06/0.8097, allocations: 4 kB / 1.044 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of matching and sorting (n=286): time 0.02092/0.8307, allocations: 8.074 MB / 1.052 GB, free: 7.77 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001103/0.8308, allocations: 214.2 kB / 1.052 GB, free: 7.516 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004042/0.8349, allocations: 2.503 MB / 1.054 GB, free: 4.988 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0004502/0.8353, allocations: 73.7 kB / 1.054 GB, free: 4.91 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.001214/0.8365, allocations: 1.42 MB / 1.056 GB, free: 3.473 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009866/0.8375, allocations: 0.9549 MB / 1.057 GB, free: 2.504 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001067/0.8386, allocations: 0.501 MB / 1.057 GB, free: 1.996 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 8.309e-05/0.8387, allocations: 305.1 kB / 1.057 GB, free: 1.695 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00428/0.843, allocations: 1.968 MB / 1.059 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004546/0.8476, allocations: 2.282 MB / 1.062 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0087/0.8563, allocations: 4.252 MB / 1.066 GB, free: 9.027 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/0.8563, allocations: 0 / 1.066 GB, free: 9.027 MB / 0.8575 GB Notification: Performance of matching and sorting (n=325) (initialization): time 0.01085/0.8672, allocations: 5.15 MB / 1.071 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/0.8672, allocations: 8 kB / 1.071 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.45e-05/0.8672, allocations: 4 kB / 1.071 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001177/0.8684, allocations: 0.5454 MB / 1.071 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003435/0.8718, allocations: 0.7488 MB / 1.072 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007243/0.8791, allocations: 5.737 MB / 1.078 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003297/0.8824, allocations: 0.5031 MB / 1.078 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003721/0.8828, allocations: 115.9 kB / 1.078 GB, free: 12.02 MB / 0.8731 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 ($PRE.intGai.nextTimeEvent,$whenCondition1,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition2,$whenCondition3) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,42,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001795/0.8846, allocations: 0.9617 MB / 1.079 GB, free: 11.05 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000717/0.8853, allocations: 280.5 kB / 1.079 GB, free: 10.77 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01192/0.8973, allocations: 5.621 MB / 1.085 GB, free: 5.09 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.862e-05/0.8973, allocations: 15.94 kB / 1.085 GB, free: 5.074 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.421e-06/0.8973, allocations: 0 / 1.085 GB, free: 5.074 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001478/0.8988, allocations: 0.8292 MB / 1.086 GB, free: 4.223 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005272/0.8993, allocations: 67.83 kB / 1.086 GB, free: 4.156 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002705/0.902, allocations: 355.5 kB / 1.086 GB, free: 3.809 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003755/0.9024, allocations: 210 kB / 1.086 GB, free: 3.602 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01278/0.9152, allocations: 5.462 MB / 1.092 GB, free: 14.08 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01474/0.93, allocations: 7.782 MB / 1.099 GB, free: 6.223 MB / 0.8887 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004314/0.9343, allocations: 2.275 MB / 1.102 GB, free: 3.934 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.002531/0.9369, allocations: 1.814 MB / 1.103 GB, free: 2.109 MB / 0.8887 GB Notification: Performance of Backend: time 4.71e-07/0.9369, allocations: 4 kB / 1.103 GB, free: 2.105 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.009488/0.9464, allocations: 4.129 MB / 1.107 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of SimCode: time 0.01082/0.9572, allocations: 7.319 MB / 1.114 GB, free: 7.047 MB / 0.9044 GB Notification: Performance of Templates: time 0.3581/1.315, allocations: 58.42 MB / 1.172 GB, free: 291.3 MB / 0.92 GB make -j1 -f Buildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.makefile (rm -f Buildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; mkfifo Buildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; head -c 1048576 < Buildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe >> ../files/Buildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.sim & ./Buildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe 2>&1)