Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.Tutorial.SpaceCooling.System2.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.Examples.Tutorial.SpaceCooling.System2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.Tutorial.SpaceCooling.System2") translateModel(Buildings.Examples.Tutorial.SpaceCooling.System2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.Tutorial.SpaceCooling.System2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.161/2.161, allocations: 251.1 MB / 266.7 MB, free: 11.64 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.001293/0.001292, allocations: 170.5 kB / 326.3 MB, free: 2.871 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.419/2.419, allocations: 205.4 MB / 0.5772 GB, free: 20.8 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.0009545/0.0009544, allocations: 90.98 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004537/0.0004539, allocations: 12.59 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1945/0.1949, allocations: 106.3 MB / 0.8995 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System2): time 1.121/1.316, allocations: 340.1 MB / 1.232 GB, free: 80 kB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.08734/1.404, allocations: 40.91 MB / 1.272 GB, free: 7.078 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007539/1.411, allocations: 151.1 kB / 1.272 GB, free: 6.93 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.009682/1.421, allocations: 1.886 MB / 1.274 GB, free: 5.031 MB / 0.7917 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.0266/1.448, allocations: 6.243 MB / 1.28 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.02129/1.469, allocations: 4.809 MB / 1.284 GB, free: 9.992 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.04912/1.518, allocations: 26.74 MB / 1.31 GB, free: 15.18 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02134/1.54, allocations: 8.424 MB / 1.319 GB, free: 6.672 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02256/1.562, allocations: 7.415 MB / 1.326 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01624/1.578, allocations: 6.407 MB / 1.332 GB, free: 8.793 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.00306/1.582, allocations: 356 kB / 1.333 GB, free: 8.445 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02071/1.602, allocations: 4.838 MB / 1.337 GB, free: 3.598 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.005734/1.608, allocations: 2.343 MB / 1.34 GB, free: 1.246 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.005923/1.614, allocations: 2.083 MB / 1.342 GB, free: 15.15 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.02967/1.644, allocations: 15.19 MB / 1.356 GB, free: 15.92 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 7.253e-06/1.644, allocations: 0 / 1.356 GB, free: 15.92 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.525e-06/1.644, allocations: 0 / 1.356 GB, free: 15.92 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0005114/1.644, allocations: 0 / 1.356 GB, free: 15.92 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1757 * Number of variables: 1757 Notification: Performance of Generate backend data structure: time 0.03575/1.68, allocations: 9.363 MB / 1.366 GB, free: 6.453 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.621e-05/1.68, allocations: 12.03 kB / 1.366 GB, free: 6.441 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02561/1.706, allocations: 2.728 MB / 1.368 GB, free: 3.699 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0278/1.734, allocations: 8.17 MB / 1.376 GB, free: 11.44 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002463/1.736, allocations: 0.7132 MB / 1.377 GB, free: 10.72 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002815/1.739, allocations: 0.6913 MB / 1.378 GB, free: 10.03 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03321/1.772, allocations: 9.668 MB / 1.387 GB, free: 184 kB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002368/1.773, allocations: 7.906 kB / 1.387 GB, free: 176 kB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001522/1.774, allocations: 284 kB / 1.387 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004704/1.775, allocations: 309.2 kB / 1.388 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03392/1.809, allocations: 9.198 MB / 1.397 GB, free: 6.375 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 removeSimpleEquations (simulation): time 1.22/3.028, allocations: 38.32 MB / 1.434 GB, free: 331.3 MB / 0.9168 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01707/3.045, allocations: 5.429 MB / 1.439 GB, free: 329.2 MB / 0.9168 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01188/3.057, allocations: 3.591 MB / 1.443 GB, free: 327.9 MB / 0.9168 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002359/3.06, allocations: 1.017 MB / 1.444 GB, free: 326.9 MB / 0.9168 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01137/3.071, allocations: 3.471 MB / 1.447 GB, free: 325 MB / 0.9168 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005226/3.076, allocations: 385 kB / 1.448 GB, free: 324.8 MB / 0.9168 GB Notification: Performance of pre-optimization done (n=453): time 1.807e-05/3.076, allocations: 3.062 kB / 1.448 GB, free: 324.8 MB / 0.9168 GB Notification: Performance of matching and sorting (n=457): time 0.06512/3.142, allocations: 16.56 MB / 1.464 GB, free: 316 MB / 0.9168 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001241/3.142, allocations: 338.3 kB / 1.464 GB, free: 315.7 MB / 0.9168 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01469/3.156, allocations: 6.576 MB / 1.47 GB, free: 310.9 MB / 0.9168 GB Notification: Performance of collectPreVariables (initialization): time 0.001378/3.158, allocations: 129.5 kB / 1.471 GB, free: 310.8 MB / 0.9168 GB Notification: Performance of collectInitialEqns (initialization): time 0.004757/3.163, allocations: 3.678 MB / 1.474 GB, free: 307.1 MB / 0.9168 GB Notification: Performance of collectInitialBindings (initialization): time 0.002522/3.165, allocations: 1.575 MB / 1.476 GB, free: 305.5 MB / 0.9168 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006303/3.166, allocations: 101 kB / 1.476 GB, free: 305.4 MB / 0.9168 GB Notification: Performance of setup shared object (initialization): time 0.0003681/3.166, allocations: 0.497 MB / 1.476 GB, free: 304.9 MB / 0.9168 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00913/3.175, allocations: 2.769 MB / 1.479 GB, free: 302.2 MB / 0.9168 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01064/3.186, allocations: 4.042 MB / 1.483 GB, free: 297.7 MB / 0.9168 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01069/3.197, allocations: 3.353 MB / 1.486 GB, free: 294.4 MB / 0.9168 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.309e-05/3.197, allocations: 12 kB / 1.486 GB, free: 294.3 MB / 0.9168 GB Notification: Performance of matching and sorting (n=640) (initialization): time 0.02658/3.224, allocations: 7.754 MB / 1.494 GB, free: 286.5 MB / 0.9168 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003812/3.224, allocations: 0.7618 MB / 1.495 GB, free: 285.4 MB / 0.9168 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.408e-05/3.224, allocations: 23.94 kB / 1.495 GB, free: 285.4 MB / 0.9168 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002011/3.226, allocations: 306.3 kB / 1.495 GB, free: 285.1 MB / 0.9168 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01116/3.237, allocations: 1.256 MB / 1.496 GB, free: 283.8 MB / 0.9168 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006072/3.243, allocations: 4.93 MB / 1.501 GB, free: 278.6 MB / 0.9168 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01388/3.257, allocations: 0.8274 MB / 1.502 GB, free: 277.8 MB / 0.9168 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001277/3.259, allocations: 211.7 kB / 1.502 GB, free: 277.6 MB / 0.9168 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/3.259, allocations: 8.609 kB / 1.502 GB, free: 277.5 MB / 0.9168 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02187/3.28, allocations: 7.04 MB / 1.509 GB, free: 270.4 MB / 0.9168 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-05/3.281, allocations: 20 kB / 1.509 GB, free: 270.4 MB / 0.9168 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001617/3.282, allocations: 294.2 kB / 1.509 GB, free: 270.1 MB / 0.9168 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01054/3.293, allocations: 1.229 MB / 1.51 GB, free: 268.9 MB / 0.9168 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006936/3.3, allocations: 5.383 MB / 1.516 GB, free: 263.1 MB / 0.9168 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01269/3.313, allocations: 0.8127 MB / 1.516 GB, free: 262.3 MB / 0.9168 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001124/3.314, allocations: 204 kB / 1.517 GB, free: 262.1 MB / 0.9168 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,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 (619): * Single equations (assignments): 608 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 2 {1 5,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.007258/3.321, allocations: 2.853 MB / 1.519 GB, free: 259.2 MB / 0.9168 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002148/3.323, allocations: 0.6985 MB / 1.52 GB, free: 258.5 MB / 0.9168 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02283/3.346, allocations: 7.342 MB / 1.527 GB, free: 251.1 MB / 0.9168 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01842/3.364, allocations: 5.935 MB / 1.533 GB, free: 245.1 MB / 0.9168 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.948e-05/3.365, allocations: 4 kB / 1.533 GB, free: 245.1 MB / 0.9168 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005913/3.37, allocations: 1.609 MB / 1.535 GB, free: 243.5 MB / 0.9168 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002224/3.373, allocations: 99.98 kB / 1.535 GB, free: 243.4 MB / 0.9168 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01177/3.384, allocations: 0.7117 MB / 1.535 GB, free: 242.7 MB / 0.9168 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001051/3.386, allocations: 287.3 kB / 1.536 GB, free: 242.4 MB / 0.9168 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02667/3.412, allocations: 7.143 MB / 1.543 GB, free: 235.3 MB / 0.9168 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.02961/3.442, allocations: 10.66 MB / 1.553 GB, free: 224.6 MB / 0.9168 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.008178/3.45, allocations: 3.016 MB / 1.556 GB, free: 221.6 MB / 0.9168 GB Notification: Performance of sorting global known variables: time 0.01008/3.46, allocations: 4.565 MB / 1.56 GB, free: 217 MB / 0.9168 GB Notification: Performance of Backend: time 7.31e-07/3.46, allocations: 0 / 1.56 GB, free: 217 MB / 0.9168 GB Notification: Performance of simCode: created initialization part: time 0.03414/3.495, allocations: 10.53 MB / 1.571 GB, free: 207 MB / 0.9168 GB Notification: Performance of SimCode: time 0.05649/3.551, allocations: 22.05 MB / 1.592 GB, free: 184.9 MB / 0.9168 GB Notification: Performance of Templates: time 0.3992/3.95, allocations: 183.1 MB / 1.771 GB, free: 2.305 MB / 0.9168 GB make -j1 -f Buildings_7.0.0_Buildings.Examples.Tutorial.SpaceCooling.System2.makefile (rm -f Buildings_7.0.0_Buildings.Examples.Tutorial.SpaceCooling.System2.pipe ; mkfifo Buildings_7.0.0_Buildings.Examples.Tutorial.SpaceCooling.System2.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Examples.Tutorial.SpaceCooling.System2.pipe >> ../files/Buildings_7.0.0_Buildings.Examples.Tutorial.SpaceCooling.System2.sim & ./Buildings_7.0.0_Buildings.Examples.Tutorial.SpaceCooling.System2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Examples.Tutorial.SpaceCooling.System2.pipe 2>&1)