Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements") translateModel(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.211/1.211, allocations: 251.5 MB / 267.4 MB, free: 11.11 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.0008928/0.0008928, allocations: 172.9 kB / 326.5 MB, free: 2.711 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.275/1.275, allocations: 205 MB / 0.5766 GB, free: 20.96 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.0007005/0.0007004, allocations: 95.25 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002533/0.0002537, allocations: 8.922 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1327, allocations: 105.4 MB / 0.8967 GB, free: 68.2 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements): time 0.1257/0.2585, allocations: 159 MB / 1.052 GB, free: 4.559 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.3235/0.582, allocations: 26.44 MB / 1.078 GB, free: 1.41 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00251/0.5845, allocations: 69.34 kB / 1.078 GB, free: 1.41 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001705/0.5862, allocations: 0.9456 MB / 1.079 GB, free: 1.391 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3-maint.7.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 7.0.3-maint.7.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 7.0.3-maint.7.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.003288/0.5895, allocations: 1.547 MB / 1.08 GB, free: 1.324 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003142/0.5927, allocations: 1.539 MB / 1.082 GB, free: 1.277 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0044/0.5971, allocations: 5.416 MB / 1.087 GB, free: 1.262 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003278/0.6004, allocations: 3.595 MB / 1.091 GB, free: 16.66 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001525/0.6019, allocations: 1.444 MB / 1.092 GB, free: 16.65 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001635/0.6036, allocations: 2.005 MB / 1.094 GB, free: 16.65 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0002597/0.6038, allocations: 125 kB / 1.094 GB, free: 16.64 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001264/0.6051, allocations: 0.651 MB / 1.095 GB, free: 16.63 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0004815/0.6056, allocations: 0.7887 MB / 1.096 GB, free: 16.62 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.00108/0.6067, allocations: 1.648 MB / 1.097 GB, free: 16.09 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.00346/0.6101, allocations: 5.56 MB / 1.103 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.6102, allocations: 0 / 1.103 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.243e-06/0.6102, allocations: 0 / 1.103 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.708e-05/0.6102, allocations: 0 / 1.103 GB, free: 15.32 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: 860 * Number of variables: 860 Notification: Performance of Generate backend data structure: time 0.00603/0.6163, allocations: 3.977 MB / 1.106 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.6163, allocations: 13.28 kB / 1.106 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01078/0.6271, allocations: 2.721 MB / 1.109 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003007/0.6301, allocations: 2.351 MB / 1.111 GB, free: 12.63 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001104/0.6302, allocations: 251.8 kB / 1.112 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003834/0.6306, allocations: 337.4 kB / 1.112 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008747/0.6394, allocations: 5.241 MB / 1.117 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.067e-05/0.6395, allocations: 11.97 kB / 1.117 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003166/0.6398, allocations: 140.6 kB / 1.117 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001064/0.6399, allocations: 81.53 kB / 1.117 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01132/0.6512, allocations: 6.361 MB / 1.124 GB, free: 10.45 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.01954/0.6708, allocations: 15.47 MB / 1.139 GB, free: 3.035 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007092/0.6779, allocations: 4.11 MB / 1.143 GB, free: 1.273 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004152/0.6821, allocations: 2.567 MB / 1.145 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007858/0.6829, allocations: 0.6691 MB / 1.146 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004218/0.6871, allocations: 2.474 MB / 1.148 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=286): time 4.799e-06/0.6871, allocations: 0 / 1.148 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of matching and sorting (n=286): time 0.01759/0.7047, allocations: 8.137 MB / 1.156 GB, free: 5.68 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.576e-05/0.7048, allocations: 214.2 kB / 1.156 GB, free: 5.426 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0027/0.7075, allocations: 2.488 MB / 1.159 GB, free: 2.914 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001956/0.7077, allocations: 73.7 kB / 1.159 GB, free: 2.836 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009955/0.7087, allocations: 1.415 MB / 1.16 GB, free: 1.406 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.000713/0.7094, allocations: 0.9532 MB / 1.161 GB, free: 472 kB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000304/0.7097, allocations: 206.9 kB / 1.161 GB, free: 260 kB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.333e-05/0.7098, allocations: 313.1 kB / 1.162 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003799/0.7136, allocations: 1.972 MB / 1.164 GB, free: 13.97 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004062/0.7177, allocations: 2.289 MB / 1.166 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00789/0.7256, allocations: 4.259 MB / 1.17 GB, free: 7.281 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.591e-06/0.7256, allocations: 0 / 1.17 GB, free: 7.281 MB / 0.7448 GB Notification: Performance of matching and sorting (n=325) (initialization): time 0.009701/0.7353, allocations: 5.159 MB / 1.175 GB, free: 2.117 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.572e-05/0.7354, allocations: 8 kB / 1.175 GB, free: 2.109 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/0.7354, allocations: 4 kB / 1.175 GB, free: 2.105 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001091/0.7365, allocations: 0.5494 MB / 1.176 GB, free: 1.555 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00319/0.7397, allocations: 0.7544 MB / 1.176 GB, free: 0.8281 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006366/0.7461, allocations: 5.298 MB / 1.182 GB, free: 11.41 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002887/0.749, allocations: 0.5284 MB / 1.182 GB, free: 10.88 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002405/0.7492, allocations: 111.9 kB / 1.182 GB, free: 10.77 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 ($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.001633/0.7509, allocations: 0.9605 MB / 1.183 GB, free: 9.828 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004564/0.7513, allocations: 284.5 kB / 1.183 GB, free: 9.547 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01095/0.7623, allocations: 5.699 MB / 1.189 GB, free: 3.816 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.723e-05/0.7623, allocations: 15.94 kB / 1.189 GB, free: 3.801 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.7623, allocations: 0 / 1.189 GB, free: 3.801 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001259/0.7636, allocations: 0.8326 MB / 1.19 GB, free: 2.945 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003838/0.764, allocations: 63.78 kB / 1.19 GB, free: 2.883 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002456/0.7665, allocations: 399.3 kB / 1.19 GB, free: 2.492 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003457/0.7668, allocations: 210 kB / 1.19 GB, free: 2.285 MB / 0.7605 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01159/0.7784, allocations: 5.522 MB / 1.196 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01323/0.7916, allocations: 7.793 MB / 1.203 GB, free: 4.895 MB / 0.7761 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003865/0.7955, allocations: 2.302 MB / 1.206 GB, free: 2.578 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.002073/0.7976, allocations: 1.809 MB / 1.207 GB, free: 0.7617 MB / 0.7761 GB Notification: Performance of Backend: time 4.91e-07/0.7976, allocations: 0 / 1.207 GB, free: 0.7617 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.008116/0.8057, allocations: 4.139 MB / 1.211 GB, free: 12.98 MB / 0.7917 GB Notification: Performance of SimCode: time 0.01004/0.8158, allocations: 8.852 MB / 1.22 GB, free: 4.098 MB / 0.7917 GB Notification: Performance of Templates: time 0.07072/0.8865, allocations: 55.02 MB / 1.274 GB, free: 13.43 MB / 0.8542 GB make -j1 -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.makefile (rm -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe >> ../files/Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.sim & ./Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe 2>&1)