Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.Tutorial.SpaceCooling.System3.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.System3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.Tutorial.SpaceCooling.System3") translateModel(Buildings.Examples.Tutorial.SpaceCooling.System3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.Tutorial.SpaceCooling.System3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.385/2.385, allocations: 251.1 MB / 266.7 MB, free: 11.57 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.001368/0.001368, allocations: 184.4 kB / 326.3 MB, free: 2.84 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.475/2.475, allocations: 205.4 MB / 0.5772 GB, free: 21.14 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.0009253/0.0009251, allocations: 105.6 kB / 0.6817 GB, free: 14.03 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004594/0.0004596, allocations: 10.36 kB / 0.7957 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.187/0.1875, allocations: 106.3 MB / 0.8995 GB, free: 66.01 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System3): time 1.066/1.254, allocations: 340.2 MB / 1.232 GB, free: 248 kB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.08395/1.338, allocations: 40.95 MB / 1.272 GB, free: 7.203 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007282/1.345, allocations: 147.1 kB / 1.272 GB, free: 7.059 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.009476/1.354, allocations: 1.883 MB / 1.274 GB, free: 5.164 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.02613/1.381, allocations: 6.256 MB / 1.28 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.02068/1.401, allocations: 4.818 MB / 1.285 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.04803/1.449, allocations: 26.76 MB / 1.311 GB, free: 15.27 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01911/1.469, allocations: 8.465 MB / 1.319 GB, free: 6.719 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02217/1.491, allocations: 7.43 MB / 1.326 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01581/1.507, allocations: 6.401 MB / 1.332 GB, free: 8.832 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.002755/1.509, allocations: 356 kB / 1.333 GB, free: 8.484 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02026/1.53, allocations: 4.838 MB / 1.337 GB, free: 3.637 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.005709/1.536, allocations: 2.351 MB / 1.34 GB, free: 1.277 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.005603/1.541, allocations: 2.083 MB / 1.342 GB, free: 15.18 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.02886/1.57, allocations: 15.23 MB / 1.357 GB, free: 15.91 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/1.57, allocations: 0 / 1.357 GB, free: 15.91 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.344e-06/1.57, allocations: 0 / 1.357 GB, free: 15.91 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0005012/1.571, allocations: 0 / 1.357 GB, free: 15.91 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: 1766 * Number of variables: 1766 Notification: Performance of Generate backend data structure: time 0.03507/1.606, allocations: 9.414 MB / 1.366 GB, free: 6.398 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.07e-05/1.606, allocations: 12.03 kB / 1.366 GB, free: 6.387 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02536/1.631, allocations: 2.736 MB / 1.369 GB, free: 3.637 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02641/1.658, allocations: 8.172 MB / 1.377 GB, free: 11.38 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002485/1.66, allocations: 0.7249 MB / 1.377 GB, free: 10.65 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002807/1.663, allocations: 0.699 MB / 1.378 GB, free: 9.949 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03252/1.696, allocations: 9.697 MB / 1.387 GB, free: 72 kB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002541/1.696, allocations: 7.938 kB / 1.387 GB, free: 64 kB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001482/1.697, allocations: 292 kB / 1.388 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004871/1.698, allocations: 305.4 kB / 1.388 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03376/1.732, allocations: 9.218 MB / 1.397 GB, free: 6.242 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.187/2.919, allocations: 38.47 MB / 1.435 GB, free: 331.2 MB / 0.9168 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01686/2.936, allocations: 6.031 MB / 1.44 GB, free: 328.5 MB / 0.9168 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01088/2.947, allocations: 3.54 MB / 1.444 GB, free: 327.3 MB / 0.9168 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0021/2.949, allocations: 1.017 MB / 1.445 GB, free: 326.2 MB / 0.9168 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01042/2.959, allocations: 3.484 MB / 1.448 GB, free: 324.3 MB / 0.9168 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004622/2.964, allocations: 383 kB / 1.449 GB, free: 324.1 MB / 0.9168 GB Notification: Performance of pre-optimization done (n=458): time 1.264e-05/2.964, allocations: 0 / 1.449 GB, free: 324.1 MB / 0.9168 GB Notification: Performance of matching and sorting (n=469): time 0.06243/3.026, allocations: 17.04 MB / 1.465 GB, free: 315.1 MB / 0.9168 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001075/3.026, allocations: 309 kB / 1.466 GB, free: 314.8 MB / 0.9168 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01296/3.039, allocations: 6.457 MB / 1.472 GB, free: 309.7 MB / 0.9168 GB Notification: Performance of collectPreVariables (initialization): time 0.001356/3.041, allocations: 128 kB / 1.472 GB, free: 309.5 MB / 0.9168 GB Notification: Performance of collectInitialEqns (initialization): time 0.004271/3.045, allocations: 3.721 MB / 1.476 GB, free: 305.8 MB / 0.9168 GB Notification: Performance of collectInitialBindings (initialization): time 0.002477/3.048, allocations: 1.61 MB / 1.477 GB, free: 304.2 MB / 0.9168 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000522/3.048, allocations: 100 kB / 1.477 GB, free: 304.1 MB / 0.9168 GB Notification: Performance of setup shared object (initialization): time 0.0002936/3.049, allocations: 0.505 MB / 1.478 GB, free: 303.6 MB / 0.9168 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008709/3.057, allocations: 2.788 MB / 1.481 GB, free: 300.8 MB / 0.9168 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01019/3.067, allocations: 4.071 MB / 1.485 GB, free: 296.3 MB / 0.9168 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01006/3.078, allocations: 3.385 MB / 1.488 GB, free: 292.9 MB / 0.9168 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-05/3.078, allocations: 8 kB / 1.488 GB, free: 292.9 MB / 0.9168 GB Notification: Performance of matching and sorting (n=651) (initialization): time 0.02534/3.103, allocations: 7.945 MB / 1.496 GB, free: 284.9 MB / 0.9168 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003852/3.103, allocations: 0.77 MB / 1.496 GB, free: 283.8 MB / 0.9168 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.166e-05/3.103, allocations: 27.94 kB / 1.496 GB, free: 283.8 MB / 0.9168 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003052/3.107, allocations: 0.5419 MB / 1.497 GB, free: 283.2 MB / 0.9168 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01048/3.117, allocations: 1.221 MB / 1.498 GB, free: 282 MB / 0.9168 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0123/3.129, allocations: 8.953 MB / 1.507 GB, free: 272.5 MB / 0.9168 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01335/3.143, allocations: 0.8497 MB / 1.508 GB, free: 271.6 MB / 0.9168 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001235/3.144, allocations: 216.5 kB / 1.508 GB, free: 271.4 MB / 0.9168 GB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/3.144, allocations: 4 kB / 1.508 GB, free: 271.4 MB / 0.9168 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02174/3.166, allocations: 7.234 MB / 1.515 GB, free: 264.1 MB / 0.9168 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.045e-05/3.166, allocations: 24 kB / 1.515 GB, free: 264.1 MB / 0.9168 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002658/3.169, allocations: 0.5234 MB / 1.515 GB, free: 263.5 MB / 0.9168 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01025/3.179, allocations: 1.201 MB / 1.517 GB, free: 262.3 MB / 0.9168 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01332/3.192, allocations: 9.929 MB / 1.526 GB, free: 251.8 MB / 0.9168 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01266/3.205, allocations: 0.8254 MB / 1.527 GB, free: 250.9 MB / 0.9168 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001092/3.206, allocations: 207.9 kB / 1.527 GB, free: 250.7 MB / 0.9168 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 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.con.y,con.y,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 (610): * Single equations (assignments): 598 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 4 {1 18,1 4,1 3,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.007336/3.213, allocations: 2.847 MB / 1.53 GB, free: 247.9 MB / 0.9168 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002192/3.216, allocations: 0.6946 MB / 1.531 GB, free: 247.2 MB / 0.9168 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02345/3.239, allocations: 7.349 MB / 1.538 GB, free: 239.8 MB / 0.9168 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01888/3.258, allocations: 6.059 MB / 1.544 GB, free: 233.7 MB / 0.9168 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.991e-05/3.258, allocations: 0 / 1.544 GB, free: 233.7 MB / 0.9168 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005978/3.264, allocations: 1.601 MB / 1.545 GB, free: 232 MB / 0.9168 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00219/3.266, allocations: 111.9 kB / 1.546 GB, free: 231.9 MB / 0.9168 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01198/3.278, allocations: 0.7362 MB / 1.546 GB, free: 231.2 MB / 0.9168 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001078/3.279, allocations: 299.4 kB / 1.547 GB, free: 230.9 MB / 0.9168 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0278/3.307, allocations: 7.348 MB / 1.554 GB, free: 223.6 MB / 0.9168 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.02982/3.337, allocations: 10.79 MB / 1.564 GB, free: 212.8 MB / 0.9168 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.008507/3.346, allocations: 3.094 MB / 1.567 GB, free: 209.7 MB / 0.9168 GB Notification: Performance of sorting global known variables: time 0.01011/3.356, allocations: 4.456 MB / 1.572 GB, free: 205.2 MB / 0.9168 GB Notification: Performance of Backend: time 1.302e-06/3.356, allocations: 0 / 1.572 GB, free: 205.2 MB / 0.9168 GB Notification: Performance of simCode: created initialization part: time 0.03487/3.391, allocations: 11.26 MB / 1.583 GB, free: 194.4 MB / 0.9168 GB Notification: Performance of SimCode: time 0.05635/3.447, allocations: 22.1 MB / 1.604 GB, free: 172.3 MB / 0.9168 GB Notification: Performance of Templates: time 1.01/4.457, allocations: 185.1 MB / 1.785 GB, free: 329.1 MB / 0.9168 GB make -j1 -f Buildings_7.0.0_Buildings.Examples.Tutorial.SpaceCooling.System3.makefile (rm -f Buildings_7.0.0_Buildings.Examples.Tutorial.SpaceCooling.System3.pipe ; mkfifo Buildings_7.0.0_Buildings.Examples.Tutorial.SpaceCooling.System3.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Examples.Tutorial.SpaceCooling.System3.pipe >> ../files/Buildings_7.0.0_Buildings.Examples.Tutorial.SpaceCooling.System3.sim & ./Buildings_7.0.0_Buildings.Examples.Tutorial.SpaceCooling.System3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Examples.Tutorial.SpaceCooling.System3.pipe 2>&1)