Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.SimpleHouse.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.Fluid.Examples.SimpleHouse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.SimpleHouse") translateModel(Buildings.Fluid.Examples.SimpleHouse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.SimpleHouse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.323/1.323, allocations: 251.5 MB / 267.4 MB, free: 11.07 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.0009215/0.0009215, allocations: 174.6 kB / 326.5 MB, free: 2.688 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.403/1.403, allocations: 205 MB / 0.5767 GB, free: 20.95 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.0007538/0.0007539, allocations: 93.05 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003428/0.0003428, allocations: 9.406 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1701/0.1705, allocations: 105.4 MB / 0.8967 GB, free: 68.2 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.SimpleHouse): time 0.6336/0.8041, allocations: 344.5 MB / 1.233 GB, free: 15.34 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.05538/0.8595, allocations: 42.49 MB / 1.275 GB, free: 4.742 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007932/0.8675, allocations: 194.8 kB / 1.275 GB, free: 4.551 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.008269/0.8758, allocations: 2.538 MB / 1.277 GB, free: 2 MB / 0.7917 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.02167/0.8975, allocations: 7.804 MB / 1.285 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0164/0.9139, allocations: 5.647 MB / 1.29 GB, free: 4.57 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.02417/0.9381, allocations: 22.58 MB / 1.313 GB, free: 13.92 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009241/0.9474, allocations: 6.032 MB / 1.318 GB, free: 7.777 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01459/0.962, allocations: 6.485 MB / 1.325 GB, free: 1.266 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009776/0.9718, allocations: 5.122 MB / 1.33 GB, free: 12.13 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.001839/0.9736, allocations: 268 kB / 1.33 GB, free: 11.87 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01324/0.9869, allocations: 6.341 MB / 1.336 GB, free: 5.516 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.003472/0.9904, allocations: 1.778 MB / 1.338 GB, free: 3.73 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.006136/0.9965, allocations: 3.562 MB / 1.341 GB, free: 152 kB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.01813/1.015, allocations: 12.46 MB / 1.354 GB, free: 3.645 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/1.015, allocations: 0 / 1.354 GB, free: 3.645 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.554e-06/1.015, allocations: 4 kB / 1.354 GB, free: 3.641 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0003271/1.015, allocations: 3.938 kB / 1.354 GB, free: 3.637 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1200 * Number of variables: 1200 Notification: Performance of Generate backend data structure: time 0.0157/1.031, allocations: 7.13 MB / 1.361 GB, free: 12.41 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/1.031, allocations: 12.03 kB / 1.361 GB, free: 12.39 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01436/1.045, allocations: 2.531 MB / 1.363 GB, free: 9.852 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01391/1.059, allocations: 6.373 MB / 1.369 GB, free: 3.402 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001746/1.061, allocations: 0.6855 MB / 1.37 GB, free: 2.715 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001271/1.062, allocations: 499.8 kB / 1.37 GB, free: 2.227 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0124/1.075, allocations: 6.434 MB / 1.377 GB, free: 11.54 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.296e-05/1.075, allocations: 7.938 kB / 1.377 GB, free: 11.53 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005028/1.075, allocations: 200 kB / 1.377 GB, free: 11.34 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001709/1.075, allocations: 192.8 kB / 1.377 GB, free: 11.14 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0136/1.089, allocations: 6.241 MB / 1.383 GB, free: 4.887 MB / 0.9011 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.3898/1.479, allocations: 27.87 MB / 1.41 GB, free: 346.9 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01212/1.491, allocations: 4.593 MB / 1.415 GB, free: 346.8 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006093/1.497, allocations: 2.511 MB / 1.417 GB, free: 346.8 MB / 0.9167 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 evalFunc (simulation): time 0.02071/1.518, allocations: 9.061 MB / 1.426 GB, free: 344.6 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004829/1.523, allocations: 2.432 MB / 1.429 GB, free: 343.8 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002325/1.525, allocations: 441.3 kB / 1.429 GB, free: 343.7 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=281): time 7.985e-06/1.525, allocations: 0 / 1.429 GB, free: 343.7 MB / 0.9167 GB Notification: Performance of matching and sorting (n=281): time 0.01639/1.542, allocations: 7.101 MB / 1.436 GB, free: 341.3 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.103e-05/1.542, allocations: 338.4 kB / 1.436 GB, free: 341 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007506/1.549, allocations: 5.264 MB / 1.441 GB, free: 338.5 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0004321/1.55, allocations: 93.52 kB / 1.441 GB, free: 338.4 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.002051/1.552, allocations: 2.998 MB / 1.444 GB, free: 336 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007129/1.552, allocations: 0.9536 MB / 1.445 GB, free: 335.2 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004796/1.553, allocations: 326.8 kB / 1.446 GB, free: 335 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 3.484e-05/1.553, allocations: 305.1 kB / 1.446 GB, free: 334.7 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004601/1.557, allocations: 2.141 MB / 1.448 GB, free: 333.7 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005135/1.563, allocations: 3.314 MB / 1.451 GB, free: 331.3 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008756/1.571, allocations: 5.114 MB / 1.456 GB, free: 328.2 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.243e-05/1.571, allocations: 7.188 kB / 1.456 GB, free: 328.2 MB / 0.9167 GB Notification: Performance of matching and sorting (n=470) (initialization): time 0.01459/1.586, allocations: 6.477 MB / 1.463 GB, free: 325 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004074/1.586, allocations: 0.892 MB / 1.463 GB, free: 323.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.028e-05/1.587, allocations: 39.88 kB / 1.463 GB, free: 323.8 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006764/1.593, allocations: 1.278 MB / 1.465 GB, free: 323.1 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004047/1.597, allocations: 1.03 MB / 1.466 GB, free: 322 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006663/1.604, allocations: 4.778 MB / 1.47 GB, free: 317 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006361/1.61, allocations: 0.6318 MB / 1.471 GB, free: 316.4 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006098/1.611, allocations: 194.9 kB / 1.471 GB, free: 316.2 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 7.554e-06/1.611, allocations: 4 kB / 1.471 GB, free: 316.2 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01315/1.624, allocations: 5.707 MB / 1.477 GB, free: 310.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.209e-05/1.624, allocations: 28 kB / 1.477 GB, free: 310.4 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006622/1.631, allocations: 1.313 MB / 1.478 GB, free: 309.1 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004126/1.635, allocations: 0.9985 MB / 1.479 GB, free: 308.1 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006761/1.642, allocations: 4.77 MB / 1.484 GB, free: 303 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006125/1.648, allocations: 0.6141 MB / 1.484 GB, free: 302.4 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000669/1.649, allocations: 187.9 kB / 1.484 GB, free: 302.2 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 121 * Number of states: 0 () * Number of discrete variables: 11 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,booleanToInt.y,hysRad.y,$PRE.hysRad.y,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (447): * Single equations (assignments): 440 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,6), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.003279/1.652, allocations: 1.619 MB / 1.486 GB, free: 300.6 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001645/1.654, allocations: 0.5711 MB / 1.487 GB, free: 300 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01118/1.665, allocations: 5.207 MB / 1.492 GB, free: 294.8 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008249/1.673, allocations: 4.191 MB / 1.496 GB, free: 290.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.267e-06/1.673, allocations: 0 / 1.496 GB, free: 290.5 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002689/1.676, allocations: 1.099 MB / 1.497 GB, free: 289.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001304/1.677, allocations: 63.98 kB / 1.497 GB, free: 289.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004932/1.682, allocations: 0.5465 MB / 1.497 GB, free: 288.8 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003839/1.683, allocations: 206.1 kB / 1.498 GB, free: 288.6 MB / 0.9167 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01177/1.694, allocations: 5.112 MB / 1.503 GB, free: 283.4 MB / 0.9167 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0135/1.708, allocations: 7.238 MB / 1.51 GB, free: 276.1 MB / 0.9167 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003697/1.712, allocations: 2.08 MB / 1.512 GB, free: 274 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.005564/1.717, allocations: 3.547 MB / 1.515 GB, free: 270.5 MB / 0.9167 GB Notification: Performance of Backend: time 5.71e-07/1.717, allocations: 0 / 1.515 GB, free: 270.5 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.02373/1.741, allocations: 8.71 MB / 1.524 GB, free: 262.2 MB / 0.9167 GB Notification: Performance of SimCode: time 0.02529/1.766, allocations: 15.78 MB / 1.539 GB, free: 246.5 MB / 0.9167 GB Notification: Performance of Templates: time 0.1756/1.942, allocations: 141.7 MB / 1.678 GB, free: 105.4 MB / 0.9167 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.SimpleHouse.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.SimpleHouse.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.SimpleHouse.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.SimpleHouse.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.SimpleHouse.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.SimpleHouse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.SimpleHouse.pipe 2>&1)