Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.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.SimpleRoomOneElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement") translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 109.7 kB / 16.38 MB, free: 6.477 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.001107/0.001107, allocations: 187.4 kB / 17.31 MB, free: 5.82 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.158/1.158, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.609/1.609, allocations: 292.3 MB / 0.5496 GB, free: 17.46 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.001407/0.001407, allocations: 75.39 kB / 0.6729 GB, free: 5.82 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1757/0.1771, allocations: 114.6 MB / 0.7848 GB, free: 3.148 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.4496/0.6267, allocations: 160.1 MB / 0.9411 GB, free: 9.883 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0284/0.6552, allocations: 26.19 MB / 0.9667 GB, free: 15.64 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002216/0.6574, allocations: 63.69 kB / 0.9668 GB, free: 15.57 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.001724/0.6592, allocations: 0.9889 MB / 0.9677 GB, free: 14.58 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.003333/0.6625, allocations: 1.548 MB / 0.9692 GB, free: 13.04 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.003071/0.6656, allocations: 1.58 MB / 0.9708 GB, free: 11.47 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.004181/0.6698, allocations: 4.509 MB / 0.9752 GB, free: 6.945 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004301/0.6741, allocations: 3.984 MB / 0.9791 GB, free: 2.969 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002436/0.6766, allocations: 1.895 MB / 0.9809 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002501/0.6791, allocations: 2.308 MB / 0.9832 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0004896/0.6796, allocations: 416 kB / 0.9836 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001602/0.6812, allocations: 0.9523 MB / 0.9845 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0008601/0.6821, allocations: 1.087 MB / 0.9856 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.001678/0.6837, allocations: 1.904 MB / 0.9874 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0046/0.6884, allocations: 5.362 MB / 0.9927 GB, free: 5.012 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.6884, allocations: 0 / 0.9927 GB, free: 5.012 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.473e-06/0.6884, allocations: 2.625 kB / 0.9927 GB, free: 5.012 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.66e-05/0.6884, allocations: 0 / 0.9927 GB, free: 5.012 MB / 0.7794 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.007097/0.6955, allocations: 4.248 MB / 0.9968 GB, free: 0.6914 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.6956, allocations: 8.031 kB / 0.9968 GB, free: 0.6836 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01188/0.7075, allocations: 2.555 MB / 0.9993 GB, free: 14.12 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003355/0.7109, allocations: 2.192 MB / 1.001 GB, free: 11.85 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000145/0.711, allocations: 230 kB / 1.002 GB, free: 11.62 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004192/0.7114, allocations: 291.9 kB / 1.002 GB, free: 11.34 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008884/0.7203, allocations: 4.777 MB / 1.007 GB, free: 6.477 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.838e-05/0.7204, allocations: 3.938 kB / 1.007 GB, free: 6.473 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003003/0.7207, allocations: 124 kB / 1.007 GB, free: 6.352 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.59e-05/0.7208, allocations: 76 kB / 1.007 GB, free: 6.277 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01258/0.7333, allocations: 5.856 MB / 1.013 GB, free: 416 kB / 0.795 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.02201/0.7554, allocations: 13.24 MB / 1.025 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009599/0.765, allocations: 4.369 MB / 1.03 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004523/0.7695, allocations: 2.211 MB / 1.032 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008632/0.7704, allocations: 0.6812 MB / 1.033 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004773/0.7752, allocations: 2.268 MB / 1.035 GB, free: 9.027 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=255): time 4.969e-06/0.7752, allocations: 0 / 1.035 GB, free: 9.027 MB / 0.8262 GB Notification: Performance of matching and sorting (n=255): time 0.01509/0.7903, allocations: 6.654 MB / 1.041 GB, free: 2.25 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.981e-05/0.7905, allocations: 209.9 kB / 1.041 GB, free: 2 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002706/0.7932, allocations: 2.293 MB / 1.044 GB, free: 15.67 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0002288/0.7934, allocations: 69.7 kB / 1.044 GB, free: 15.6 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009823/0.7944, allocations: 1.274 MB / 1.045 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006982/0.7951, allocations: 0.8432 MB / 1.046 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007885/0.7959, allocations: 476.2 kB / 1.046 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 9.461e-05/0.796, allocations: 309.6 kB / 1.047 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003933/0.7999, allocations: 1.804 MB / 1.048 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004204/0.8042, allocations: 2.099 MB / 1.05 GB, free: 8.688 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008112/0.8123, allocations: 3.883 MB / 1.054 GB, free: 4.723 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/0.8123, allocations: 0 / 1.054 GB, free: 4.723 MB / 0.8419 GB Notification: Performance of matching and sorting (n=292) (initialization): time 0.009759/0.8221, allocations: 4.524 MB / 1.059 GB, free: 148 kB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.8221, allocations: 15.59 kB / 1.059 GB, free: 136 kB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/0.8221, allocations: 4 kB / 1.059 GB, free: 132 kB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005807/0.8227, allocations: 222.8 kB / 1.059 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003326/0.826, allocations: 0.7332 MB / 1.06 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003726/0.8298, allocations: 3.376 MB / 1.063 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0029/0.8327, allocations: 491.5 kB / 1.063 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002361/0.8329, allocations: 107.9 kB / 1.063 GB, free: 11.08 MB / 0.8575 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 (270): * Single equations (assignments): 269 * 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 {(2,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001487/0.8344, allocations: 0.888 MB / 1.064 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004511/0.8349, allocations: 252.8 kB / 1.065 GB, free: 9.934 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01084/0.8457, allocations: 4.99 MB / 1.069 GB, free: 4.879 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-05/0.8458, allocations: 11.95 kB / 1.069 GB, free: 4.867 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/0.8458, allocations: 0 / 1.069 GB, free: 4.867 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001194/0.847, allocations: 0.7627 MB / 1.07 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000376/0.8474, allocations: 51.84 kB / 1.07 GB, free: 4.031 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002474/0.8498, allocations: 348 kB / 1.071 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002972/0.8502, allocations: 181.8 kB / 1.071 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01106/0.8612, allocations: 4.791 MB / 1.075 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01336/0.8746, allocations: 7.113 MB / 1.082 GB, free: 7.461 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004095/0.8787, allocations: 2.089 MB / 1.084 GB, free: 5.355 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.002322/0.881, allocations: 1.672 MB / 1.086 GB, free: 3.668 MB / 0.8731 GB Notification: Performance of Backend: time 3.91e-07/0.881, allocations: 3.938 kB / 1.086 GB, free: 3.664 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.008332/0.8894, allocations: 3.764 MB / 1.09 GB, free: 348 kB / 0.8731 GB Notification: Performance of SimCode: time 0.008734/0.8981, allocations: 6.404 MB / 1.096 GB, free: 9.926 MB / 0.8887 GB Notification: Performance of Templates: time 0.3568/1.255, allocations: 52.43 MB / 1.147 GB, free: 298.1 MB / 0.92 GB make -j1 -f Buildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.makefile (rm -f Buildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; mkfifo Buildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; head -c 1048576 < Buildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe >> ../files/Buildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.sim & ./Buildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe 2>&1)