Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") translateModel(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 111.9 kB / 16.37 MB, free: 6.02 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001598/0.001599, allocations: 195.5 kB / 17.31 MB, free: 5.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.301/1.301, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.773/1.773, allocations: 292.3 MB / 0.5496 GB, free: 17.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 75.84 kB / 0.6729 GB, free: 5.852 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.19/0.1914, allocations: 114.6 MB / 0.7848 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.3277/0.5192, allocations: 4.434 MB / 0.7891 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.1516/0.6709, allocations: 150.6 MB / 0.9362 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007759/0.6717, allocations: 19.88 kB / 0.9363 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0008073/0.6726, allocations: 210 kB / 0.9365 GB, free: 14.75 MB / 0.7325 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:216:3-259:11:writable] Warning: Pure function 'Modelica.Utilities.Strings.find' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4-maint.8.1.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 8.1.4-maint.8.1.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 8.1.4-maint.8.1.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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.001764/0.6744, allocations: 483.7 kB / 0.9369 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001953/0.6763, allocations: 0.7826 MB / 0.9377 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001466/0.6778, allocations: 1.222 MB / 0.9389 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009134/0.6787, allocations: 0.6232 MB / 0.9395 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006207/0.6793, allocations: 442.3 kB / 0.9399 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006351/0.68, allocations: 465.8 kB / 0.9404 GB, free: 10.75 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002173/0.6802, allocations: 108 kB / 0.9405 GB, free: 10.65 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008042/0.681, allocations: 411.7 kB / 0.9408 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.000293/0.6813, allocations: 276.5 kB / 0.9411 GB, free: 9.977 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0005712/0.6819, allocations: 0.5129 MB / 0.9416 GB, free: 9.461 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001707/0.6836, allocations: 1.507 MB / 0.9431 GB, free: 7.949 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.6836, allocations: 0 / 0.9431 GB, free: 7.949 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.212e-06/0.6837, allocations: 0 / 0.9431 GB, free: 7.949 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.295e-05/0.6837, allocations: 0 / 0.9431 GB, free: 7.949 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.002564/0.6863, allocations: 1.368 MB / 0.9444 GB, free: 6.531 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.6863, allocations: 8.031 kB / 0.9444 GB, free: 6.523 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009483/0.6873, allocations: 183.4 kB / 0.9446 GB, free: 6.344 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00113/0.6884, allocations: 0.7585 MB / 0.9453 GB, free: 5.543 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.803e-05/0.6885, allocations: 58 kB / 0.9454 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001093/0.6886, allocations: 72 kB / 0.9455 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00154/0.6901, allocations: 0.8715 MB / 0.9463 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.052e-05/0.6902, allocations: 9.719 kB / 0.9463 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.465e-05/0.6902, allocations: 32 kB / 0.9464 GB, free: 4.465 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.488e-05/0.6903, allocations: 16 kB / 0.9464 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001766/0.692, allocations: 1.077 MB / 0.9474 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003714/0.6958, allocations: 2.398 MB / 0.9498 GB, free: 0.9062 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001327/0.6971, allocations: 0.7375 MB / 0.9505 GB, free: 164 kB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000545/0.6977, allocations: 286.9 kB / 0.9508 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001869/0.6979, allocations: 113.6 kB / 0.9509 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007807/0.6986, allocations: 443.2 kB / 0.9513 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=73): time 2.916e-06/0.6987, allocations: 0 / 0.9513 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of matching and sorting (n=73): time 0.00305/0.7017, allocations: 1.112 MB / 0.9524 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.573e-05/0.7018, allocations: 200.5 kB / 0.9526 GB, free: 13.92 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007552/0.7026, allocations: 0.6292 MB / 0.9532 GB, free: 13.28 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 6.086e-05/0.7027, allocations: 37.7 kB / 0.9532 GB, free: 13.24 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002786/0.7029, allocations: 388.4 kB / 0.9536 GB, free: 12.85 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002009/0.7031, allocations: 254.1 kB / 0.9538 GB, free: 12.6 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002732/0.7034, allocations: 146.5 kB / 0.954 GB, free: 12.45 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001653/0.7036, allocations: 382.8 kB / 0.9543 GB, free: 12.07 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005516/0.7042, allocations: 253.9 kB / 0.9546 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006132/0.7048, allocations: 339.1 kB / 0.9549 GB, free: 11.47 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001112/0.7059, allocations: 0.576 MB / 0.9555 GB, free: 10.89 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.7059, allocations: 3.938 kB / 0.9555 GB, free: 10.88 MB / 0.7481 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001944/0.7079, allocations: 0.8135 MB / 0.9563 GB, free: 10.06 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.7079, allocations: 4 kB / 0.9563 GB, free: 10.05 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.7079, allocations: 0 / 0.9563 GB, free: 10.05 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006309/0.7086, allocations: 84.88 kB / 0.9563 GB, free: 9.969 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006451/0.7092, allocations: 151.8 kB / 0.9565 GB, free: 9.82 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002205/0.7114, allocations: 1.646 MB / 0.9581 GB, free: 8.031 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000626/0.7121, allocations: 83.48 kB / 0.9582 GB, free: 7.949 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.301e-05/0.7122, allocations: 31.97 kB / 0.9582 GB, free: 7.918 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (84): * Single equations (assignments): 83 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004019/0.7126, allocations: 257.7 kB / 0.9585 GB, free: 7.656 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001803/0.7127, allocations: 78.97 kB / 0.9585 GB, free: 7.578 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002224/0.715, allocations: 0.9434 MB / 0.9594 GB, free: 6.625 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.13e-05/0.715, allocations: 7.984 kB / 0.9595 GB, free: 6.617 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.715, allocations: 0 / 0.9595 GB, free: 6.617 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003504/0.7154, allocations: 267.6 kB / 0.9597 GB, free: 6.34 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001159/0.7155, allocations: 16 kB / 0.9597 GB, free: 6.324 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005745/0.7161, allocations: 59.94 kB / 0.9598 GB, free: 6.266 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001271/0.7162, allocations: 64.8 kB / 0.9598 GB, free: 6.203 MB / 0.7481 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001972/0.7182, allocations: 0.8889 MB / 0.9607 GB, free: 5.301 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002171/0.7204, allocations: 1.317 MB / 0.962 GB, free: 3.969 MB / 0.7481 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005738/0.721, allocations: 339.8 kB / 0.9623 GB, free: 3.637 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0006067/0.7216, allocations: 455 kB / 0.9628 GB, free: 3.195 MB / 0.7481 GB Notification: Performance of Backend: time 5.11e-07/0.7216, allocations: 0 / 0.9628 GB, free: 3.195 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.003057/0.7247, allocations: 1.144 MB / 0.9639 GB, free: 2.312 MB / 0.7481 GB Notification: Performance of SimCode: time 0.003122/0.7278, allocations: 2.056 MB / 0.9659 GB, free: 240 kB / 0.7481 GB Notification: Performance of Templates: time 0.02449/0.7523, allocations: 15.09 MB / 0.9806 GB, free: 1.371 MB / 0.7637 GB make -j1 -f Buildings_8_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.makefile (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.sim & ./Buildings_8_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1)