Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement") translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.123/2.123, allocations: 251.1 MB / 266.7 MB, free: 11.56 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001357/0.001356, allocations: 181.2 kB / 326.3 MB, free: 2.844 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.282/2.282, allocations: 205.4 MB / 0.5772 GB, free: 20.77 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009337/0.0009336, allocations: 95.67 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006348/0.000635, allocations: 12.66 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1877/0.1884, allocations: 106.3 MB / 0.8995 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.2166/0.4051, allocations: 145.1 MB / 1.041 GB, free: 12 kB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.6637/1.069, allocations: 24.39 MB / 1.065 GB, free: 3.77 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002876/1.072, allocations: 65.5 kB / 1.065 GB, free: 3.766 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002616/1.074, allocations: 0.8265 MB / 1.066 GB, free: 3.754 MB / 0.698 GB [/home/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‘. [/home/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‘. [/home/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‘. [/home/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.007391/1.082, allocations: 1.326 MB / 1.067 GB, free: 3.699 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.008138/1.09, allocations: 1.142 MB / 1.068 GB, free: 3.652 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.007759/1.098, allocations: 4.241 MB / 1.072 GB, free: 3.641 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006137/1.104, allocations: 3.023 MB / 1.075 GB, free: 3.25 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003504/1.108, allocations: 1.262 MB / 1.077 GB, free: 3.246 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004438/1.112, allocations: 1.695 MB / 1.078 GB, free: 3.242 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0008564/1.113, allocations: 102.1 kB / 1.078 GB, free: 3.238 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002772/1.116, allocations: 0.5299 MB / 1.079 GB, free: 3.223 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001027/1.117, allocations: 0.6738 MB / 1.08 GB, free: 3.223 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001213/1.118, allocations: 0.5935 MB / 1.08 GB, free: 3.191 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.006196/1.124, allocations: 4.022 MB / 1.084 GB, free: 2.926 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/1.124, allocations: 0 / 1.084 GB, free: 2.926 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.294e-06/1.124, allocations: 0 / 1.084 GB, free: 2.926 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.000159/1.124, allocations: 3 kB / 1.084 GB, free: 2.926 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.01211/1.137, allocations: 3.642 MB / 1.088 GB, free: 17.31 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/1.137, allocations: 11.22 kB / 1.088 GB, free: 17.31 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02311/1.16, allocations: 2.671 MB / 1.09 GB, free: 17.06 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006241/1.166, allocations: 2.093 MB / 1.092 GB, free: 16.55 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002459/1.166, allocations: 220.5 kB / 1.092 GB, free: 16.54 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009904/1.167, allocations: 301.6 kB / 1.093 GB, free: 16.54 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01718/1.185, allocations: 4.805 MB / 1.097 GB, free: 16.23 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.996e-05/1.185, allocations: 8.594 kB / 1.097 GB, free: 16.23 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005411/1.185, allocations: 127.6 kB / 1.098 GB, free: 16.23 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.258e-05/1.185, allocations: 73.69 kB / 1.098 GB, free: 16.23 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02449/1.21, allocations: 5.914 MB / 1.103 GB, free: 15.72 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.04468/1.255, allocations: 13.38 MB / 1.117 GB, free: 9.621 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02489/1.28, allocations: 4.353 MB / 1.121 GB, free: 8.688 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01153/1.291, allocations: 2.208 MB / 1.123 GB, free: 8.234 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001963/1.293, allocations: 0.6774 MB / 1.124 GB, free: 7.531 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01231/1.306, allocations: 2.269 MB / 1.126 GB, free: 6.77 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=255): time 1.047e-05/1.306, allocations: 0 / 1.126 GB, free: 6.77 MB / 0.7136 GB Notification: Performance of matching and sorting (n=255): time 0.043/1.349, allocations: 6.649 MB / 1.132 GB, free: 4.832 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001814/1.349, allocations: 209.9 kB / 1.132 GB, free: 4.605 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006982/1.356, allocations: 2.278 MB / 1.135 GB, free: 4.02 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.001064/1.357, allocations: 69.77 kB / 1.135 GB, free: 3.988 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.002199/1.359, allocations: 1.27 MB / 1.136 GB, free: 3.371 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.002305/1.362, allocations: 0.8514 MB / 1.137 GB, free: 2.75 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005712/1.362, allocations: 44.41 kB / 1.137 GB, free: 2.75 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0004071/1.363, allocations: 402.5 kB / 1.137 GB, free: 2.414 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0114/1.374, allocations: 1.802 MB / 1.139 GB, free: 1.992 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01151/1.386, allocations: 2.096 MB / 1.141 GB, free: 1.172 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01183/1.397, allocations: 1.946 MB / 1.143 GB, free: 15.81 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.317e-05/1.398, allocations: 4 kB / 1.143 GB, free: 15.81 MB / 0.7292 GB Notification: Performance of matching and sorting (n=292) (initialization): time 0.02926/1.427, allocations: 4.507 MB / 1.147 GB, free: 12.44 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.865e-05/1.427, allocations: 15.98 kB / 1.147 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.643e-05/1.427, allocations: 4 kB / 1.147 GB, free: 12.42 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001462/1.428, allocations: 233.9 kB / 1.148 GB, free: 12.24 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01075/1.439, allocations: 0.7299 MB / 1.148 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009327/1.449, allocations: 3.1 MB / 1.151 GB, free: 9.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009249/1.458, allocations: 0.4892 MB / 1.152 GB, free: 8.637 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001356/1.459, allocations: 107.3 kB / 1.152 GB, free: 8.551 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 (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.005562/1.465, allocations: 0.8925 MB / 1.153 GB, free: 7.953 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002105/1.467, allocations: 263 kB / 1.153 GB, free: 7.695 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03546/1.503, allocations: 5.07 MB / 1.158 GB, free: 3.961 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000108/1.503, allocations: 11.95 kB / 1.158 GB, free: 3.949 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.391e-05/1.503, allocations: 4 kB / 1.158 GB, free: 3.945 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00435/1.507, allocations: 0.8074 MB / 1.159 GB, free: 3.297 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001934/1.509, allocations: 58.05 kB / 1.159 GB, free: 3.277 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008497/1.518, allocations: 369.7 kB / 1.159 GB, free: 2.949 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001235/1.519, allocations: 176 kB / 1.159 GB, free: 2.793 MB / 0.7292 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03393/1.553, allocations: 4.818 MB / 1.164 GB, free: 15.13 MB / 0.7448 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.04307/1.596, allocations: 7.115 MB / 1.171 GB, free: 9.91 MB / 0.7448 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01186/1.608, allocations: 2.084 MB / 1.173 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.005795/1.614, allocations: 1.655 MB / 1.175 GB, free: 7.207 MB / 0.7448 GB Notification: Performance of Backend: time 1.473e-06/1.614, allocations: 0 / 1.175 GB, free: 7.207 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.02405/1.638, allocations: 3.732 MB / 1.178 GB, free: 4.637 MB / 0.7448 GB Notification: Performance of SimCode: time 0.02725/1.665, allocations: 7.626 MB / 1.186 GB, free: 13.49 MB / 0.7605 GB Notification: Performance of Templates: time 0.1881/1.854, allocations: 48.44 MB / 1.233 GB, free: 13.42 MB / 0.8073 GB make -j1 -f Buildings_7.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.makefile (rm -f Buildings_7.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; mkfifo Buildings_7.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe >> ../files/Buildings_7.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.sim & ./Buildings_7.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe 2>&1)