Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System3.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.Examples.Tutorial.SpaceCooling.System3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System3") translateModel(Buildings.Examples.Tutorial.SpaceCooling.System3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.273/1.273, 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.0008919/0.000892, allocations: 170.5 kB / 326.5 MB, free: 2.703 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.562/1.562, allocations: 205 MB / 0.5767 GB, free: 21 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.0007778/0.0007777, allocations: 87.48 kB / 0.6804 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002892/0.0002892, allocations: 9.219 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1903/0.1906, allocations: 105.4 MB / 0.8967 GB, free: 68.22 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System3): time 0.8135/1.004, allocations: 369 MB / 1.257 GB, free: 6.746 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.06202/1.066, allocations: 44.38 MB / 1.3 GB, free: 10.25 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008533/1.075, allocations: 159.1 kB / 1.301 GB, free: 10.09 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.00943/1.084, allocations: 2.484 MB / 1.303 GB, free: 7.594 MB / 0.823 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.02461/1.109, allocations: 7.956 MB / 1.311 GB, free: 15.61 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.01733/1.126, allocations: 5.966 MB / 1.317 GB, free: 9.68 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.04242/1.169, allocations: 31.12 MB / 1.347 GB, free: 10.49 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01407/1.183, allocations: 9.02 MB / 1.356 GB, free: 1.344 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01971/1.203, allocations: 7.857 MB / 1.363 GB, free: 9.461 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01522/1.218, allocations: 6.761 MB / 1.37 GB, free: 2.699 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.002897/1.221, allocations: 356 kB / 1.37 GB, free: 2.352 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02171/1.242, allocations: 8.71 MB / 1.379 GB, free: 9.621 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.004963/1.248, allocations: 2.393 MB / 1.381 GB, free: 7.219 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.01039/1.258, allocations: 4.846 MB / 1.386 GB, free: 2.348 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 1.07/2.328, allocations: 19.38 MB / 1.405 GB, free: 50.77 MB / 0.9168 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/2.328, allocations: 1.016 kB / 1.405 GB, free: 50.77 MB / 0.9168 GB Notification: Performance of FrontEnd: time 3.075e-06/2.328, allocations: 0 / 1.405 GB, free: 50.77 MB / 0.9168 GB Notification: Performance of Transformations before backend: time 0.0006575/2.329, allocations: 0 / 1.405 GB, free: 50.77 MB / 0.9168 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1766 * Number of variables: 1766 Notification: Performance of Generate backend data structure: time 0.02589/2.354, allocations: 9.314 MB / 1.414 GB, free: 47.36 MB / 0.9168 GB Notification: Performance of prepare preOptimizeDAE: time 5.134e-05/2.354, allocations: 12.33 kB / 1.414 GB, free: 47.36 MB / 0.9168 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01721/2.372, allocations: 2.73 MB / 1.417 GB, free: 46.82 MB / 0.9168 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01837/2.39, allocations: 8.425 MB / 1.425 GB, free: 45.47 MB / 0.9168 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001379/2.392, allocations: 0.7185 MB / 1.426 GB, free: 45.44 MB / 0.9168 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002498/2.394, allocations: 0.6977 MB / 1.426 GB, free: 45.43 MB / 0.9168 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0225/2.417, allocations: 9.743 MB / 1.436 GB, free: 44.76 MB / 0.9168 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001621/2.417, allocations: 10.47 kB / 1.436 GB, free: 44.75 MB / 0.9168 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008555/2.418, allocations: 287.8 kB / 1.436 GB, free: 44.75 MB / 0.9168 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002808/2.418, allocations: 310.8 kB / 1.436 GB, free: 44.73 MB / 0.9168 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02093/2.439, allocations: 9.27 MB / 1.445 GB, free: 44.63 MB / 0.9168 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.06348/2.502, allocations: 38.47 MB / 1.483 GB, free: 29.37 MB / 0.9168 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01015/2.513, allocations: 6.053 MB / 1.489 GB, free: 28.68 MB / 0.9168 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006172/2.519, allocations: 3.551 MB / 1.492 GB, free: 28.62 MB / 0.9168 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001385/2.52, allocations: 1.025 MB / 1.493 GB, free: 27.67 MB / 0.9168 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00703/2.527, allocations: 3.498 MB / 1.497 GB, free: 27.5 MB / 0.9168 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004912/2.532, allocations: 382.3 kB / 1.497 GB, free: 27.31 MB / 0.9168 GB Notification: Performance of pre-optimization done (n=458): time 3.55e-05/2.532, allocations: 0 / 1.497 GB, free: 27.31 MB / 0.9168 GB Notification: Performance of matching and sorting (n=469): time 0.04239/2.575, allocations: 17.11 MB / 1.514 GB, free: 24.78 MB / 0.9168 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.425e-05/2.575, allocations: 304.1 kB / 1.514 GB, free: 24.46 MB / 0.9168 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009731/2.584, allocations: 6.525 MB / 1.521 GB, free: 24.02 MB / 0.9168 GB Notification: Performance of collectPreVariables (initialization): time 0.001404/2.586, allocations: 131.2 kB / 1.521 GB, free: 23.99 MB / 0.9168 GB Notification: Performance of collectInitialEqns (initialization): time 0.003017/2.589, allocations: 3.706 MB / 1.524 GB, free: 22.82 MB / 0.9168 GB Notification: Performance of collectInitialBindings (initialization): time 0.002002/2.591, allocations: 1.621 MB / 1.526 GB, free: 21.77 MB / 0.9168 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006863/2.592, allocations: 434.1 kB / 1.526 GB, free: 21.75 MB / 0.9168 GB Notification: Performance of setup shared object (initialization): time 5.258e-05/2.592, allocations: 301.1 kB / 1.527 GB, free: 21.45 MB / 0.9168 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004706/2.596, allocations: 2.84 MB / 1.529 GB, free: 21.41 MB / 0.9168 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00568/2.602, allocations: 4.102 MB / 1.533 GB, free: 20.14 MB / 0.9168 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01277/2.615, allocations: 6.884 MB / 1.54 GB, free: 17.58 MB / 0.9168 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.207e-05/2.615, allocations: 4 kB / 1.54 GB, free: 17.57 MB / 0.9168 GB Notification: Performance of matching and sorting (n=651) (initialization): time 0.01447/2.629, allocations: 8.041 MB / 1.548 GB, free: 11.88 MB / 0.9168 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003272/2.63, allocations: 0.763 MB / 1.549 GB, free: 10.88 MB / 0.9168 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.403e-05/2.63, allocations: 31.98 kB / 1.549 GB, free: 10.84 MB / 0.9168 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001659/2.632, allocations: 0.5316 MB / 1.549 GB, free: 10.41 MB / 0.9168 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004654/2.636, allocations: 1.221 MB / 1.55 GB, free: 9.293 MB / 0.9168 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007235/2.643, allocations: 8.977 MB / 1.559 GB, free: 0.6641 MB / 0.9168 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008797/2.652, allocations: 0.8629 MB / 1.56 GB, free: 15.81 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0011/2.653, allocations: 211.9 kB / 1.56 GB, free: 15.61 MB / 0.9324 GB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/2.653, allocations: 4 kB / 1.56 GB, free: 15.6 MB / 0.9324 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01426/2.668, allocations: 7.29 MB / 1.567 GB, free: 8.367 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-05/2.668, allocations: 24 kB / 1.567 GB, free: 8.344 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001617/2.669, allocations: 0.5083 MB / 1.568 GB, free: 7.824 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005188/2.675, allocations: 1.206 MB / 1.569 GB, free: 6.68 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01012/2.685, allocations: 9.917 MB / 1.579 GB, free: 12.19 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008391/2.693, allocations: 0.8317 MB / 1.58 GB, free: 11.36 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008725/2.694, allocations: 218.6 kB / 1.58 GB, free: 11.14 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 98 * Number of states: 0 () * Number of discrete variables: 10 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,con.y,$PRE.con.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 (610): * Single equations (assignments): 598 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * 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): 4 systems {(1,18), (1,4), (1,3), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.006033/2.7, allocations: 2.851 MB / 1.583 GB, free: 8.344 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002325/2.702, allocations: 0.6908 MB / 1.583 GB, free: 7.645 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01439/2.717, allocations: 7.35 MB / 1.59 GB, free: 276 kB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01133/2.728, allocations: 6.096 MB / 1.596 GB, free: 10.12 MB / 0.9637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.528e-05/2.728, allocations: 5.969 kB / 1.596 GB, free: 10.12 MB / 0.9637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005109/2.733, allocations: 1.554 MB / 1.598 GB, free: 8.535 MB / 0.9637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0021/2.735, allocations: 104 kB / 1.598 GB, free: 8.434 MB / 0.9637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007016/2.743, allocations: 0.7401 MB / 1.599 GB, free: 7.699 MB / 0.9637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006425/2.743, allocations: 295.4 kB / 1.599 GB, free: 7.41 MB / 0.9637 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01576/2.759, allocations: 7.371 MB / 1.606 GB, free: 100 kB / 0.9637 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0181/2.777, allocations: 10.84 MB / 1.617 GB, free: 5.219 MB / 0.9793 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00495/2.782, allocations: 3.122 MB / 1.62 GB, free: 2.094 MB / 0.9793 GB Notification: Performance of sorting global known variables: time 0.007419/2.79, allocations: 4.515 MB / 1.624 GB, free: 13.6 MB / 0.9949 GB Notification: Performance of Backend: time 8.12e-07/2.79, allocations: 0 / 1.624 GB, free: 13.6 MB / 0.9949 GB Notification: Performance of simCode: created initialization part: time 0.02458/2.814, allocations: 11.38 MB / 1.635 GB, free: 2.684 MB / 0.9949 GB Notification: Performance of SimCode: time 0.03801/2.852, allocations: 22.42 MB / 1.657 GB, free: 12.28 MB / 1.026 GB Notification: Performance of Templates: time 0.729/3.581, allocations: 189.2 MB / 1.842 GB, free: 0.5647 GB / 1.167 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System3.makefile (rm -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System3.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System3.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System3.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System3.sim & ./Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.Tutorial.SpaceCooling.System3.pipe 2>&1)