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.0008915/0.0008918, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.007013/0.007013, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.652/1.652, allocations: 205.4 MB / 222.5 MB, free: 5.559 MB / 174.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.807/1.807, allocations: 292.7 MB / 0.5502 GB, free: 14.5 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.0006385/0.0006391, allocations: 18.34 kB / 0.6743 GB, free: 25.75 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3071/0.3078, allocations: 116.3 MB / 0.7879 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.005936/0.3138, allocations: 4.018 MB / 0.7918 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.8459/1.16, allocations: 146.7 MB / 0.9351 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008094/1.161, allocations: 19.62 kB / 0.9351 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006051/1.161, allocations: 168.7 kB / 0.9353 GB, free: 1.395 MB / 0.7169 GB [/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‘. Notification: Performance of NFTyping.typeBindings: time 0.001386/1.163, allocations: 424.9 kB / 0.9357 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001837/1.164, allocations: 0.6868 MB / 0.9363 GB, free: 1.219 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001119/1.166, allocations: 1.127 MB / 0.9374 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007441/1.166, allocations: 0.594 MB / 0.938 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004652/1.167, allocations: 312.4 kB / 0.9383 GB, free: 0.9102 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004342/1.167, allocations: 341.8 kB / 0.9386 GB, free: 0.9062 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.6e-05/1.167, allocations: 22.72 kB / 0.9387 GB, free: 0.9062 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006579/1.168, allocations: 312.5 kB / 0.939 GB, free: 0.8867 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001916/1.168, allocations: 179.5 kB / 0.9391 GB, free: 0.8789 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004381/1.169, allocations: 431.9 kB / 0.9395 GB, free: 16.84 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001224/1.17, allocations: 1.365 MB / 0.9409 GB, free: 16.75 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/1.17, allocations: 0 / 0.9409 GB, free: 16.75 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.292e-06/1.17, allocations: 0 / 0.9409 GB, free: 16.75 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.305e-05/1.17, allocations: 0 / 0.9409 GB, free: 16.75 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.001989/1.172, allocations: 1.162 MB / 0.942 GB, free: 16.02 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/1.172, allocations: 13.81 kB / 0.942 GB, free: 16.02 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009651/1.173, allocations: 188.9 kB / 0.9422 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001061/1.174, allocations: 0.7447 MB / 0.9429 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.218e-05/1.174, allocations: 59.09 kB / 0.943 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001248/1.174, allocations: 76.31 kB / 0.9431 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001585/1.176, allocations: 0.8697 MB / 0.9439 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.772e-05/1.176, allocations: 0 / 0.9439 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.799e-05/1.176, allocations: 33.66 kB / 0.9439 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.67e-05/1.176, allocations: 21.41 kB / 0.944 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001786/1.178, allocations: 1.092 MB / 0.945 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004452/1.182, allocations: 2.457 MB / 0.9474 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001346/1.184, allocations: 0.7499 MB / 0.9482 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005382/1.184, allocations: 292.9 kB / 0.9484 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002034/1.184, allocations: 113.8 kB / 0.9485 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008486/1.185, allocations: 447.2 kB / 0.949 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=73): time 2.635e-06/1.185, allocations: 0 / 0.949 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of matching and sorting (n=73): time 0.003115/1.188, allocations: 1.141 MB / 0.9501 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001118/1.188, allocations: 195.2 kB / 0.9503 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007987/1.189, allocations: 0.6263 MB / 0.9509 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.562e-05/1.189, allocations: 40.67 kB / 0.9509 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002818/1.19, allocations: 394.2 kB / 0.9513 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002078/1.19, allocations: 247 kB / 0.9515 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.289e-05/1.19, allocations: 66.39 kB / 0.9516 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001819/1.19, allocations: 385 kB / 0.952 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004986/1.191, allocations: 256 kB / 0.9522 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006063/1.191, allocations: 347.5 kB / 0.9525 GB, free: 13.08 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001088/1.192, allocations: 0.5941 MB / 0.9531 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/1.192, allocations: 1.281 kB / 0.9531 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00189/1.194, allocations: 0.8176 MB / 0.9539 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/1.194, allocations: 4.969 kB / 0.9539 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/1.194, allocations: 1.719 kB / 0.9539 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006091/1.195, allocations: 86.72 kB / 0.954 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006274/1.196, allocations: 151.6 kB / 0.9542 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002084/1.198, allocations: 1.536 MB / 0.9557 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007411/1.198, allocations: 88.67 kB / 0.9557 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.972e-05/1.199, allocations: 35.58 kB / 0.9558 GB, free: 11.54 MB / 0.7325 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.0005112/1.199, allocations: 263.6 kB / 0.956 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001352/1.199, allocations: 81.5 kB / 0.9561 GB, free: 11.37 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002292/1.201, allocations: 1.02 MB / 0.9571 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-05/1.202, allocations: 9.719 kB / 0.9571 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/1.202, allocations: 0 / 0.9571 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.163e-05/1.202, allocations: 4.734 kB / 0.9571 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001163/1.203, allocations: 0.8705 MB / 0.958 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/1.203, allocations: 3.656 kB / 0.958 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005957/1.203, allocations: 154.9 kB / 0.9581 GB, free: 11.01 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005326/1.204, allocations: 84.95 kB / 0.9582 GB, free: 11 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.149e-05/1.204, allocations: 20.41 kB / 0.9582 GB, free: 11 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001975/1.206, allocations: 1.558 MB / 0.9597 GB, free: 9.688 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.768e-06/1.206, allocations: 2.156 kB / 0.9597 GB, free: 9.688 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002073/1.208, allocations: 0.8768 MB / 0.9606 GB, free: 9.535 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004298/1.208, allocations: 276.1 kB / 0.9609 GB, free: 9.387 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001028/1.209, allocations: 15.38 kB / 0.9609 GB, free: 9.387 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005722/1.209, allocations: 75.92 kB / 0.9609 GB, free: 9.383 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001544/1.209, allocations: 62.31 kB / 0.961 GB, free: 9.375 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-05/1.209, allocations: 36.3 kB / 0.961 GB, free: 9.371 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006143/1.21, allocations: 452.1 kB / 0.9615 GB, free: 9.281 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.91e-07/1.21, allocations: 3.938 kB / 0.9615 GB, free: 9.277 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009196/1.211, allocations: 279.1 kB / 0.9617 GB, free: 9.227 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001369/1.212, allocations: 0.5606 MB / 0.9623 GB, free: 9.004 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001617/1.214, allocations: 0.7897 MB / 0.9631 GB, free: 8.859 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/1.214, allocations: 5.344 kB / 0.9631 GB, free: 8.855 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0008745/1.215, allocations: 0.4949 MB / 0.9635 GB, free: 8.723 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001256/1.216, allocations: 270.8 kB / 0.9638 GB, free: 8.703 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004312/1.22, allocations: 2.241 MB / 0.966 GB, free: 7.531 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005916/1.221, allocations: 1.011 MB / 0.967 GB, free: 6.711 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0008232/1.222, allocations: 248.6 kB / 0.9672 GB, free: 6.59 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000232/1.222, allocations: 101.8 kB / 0.9673 GB, free: 6.566 MB / 0.7325 GB Notification: Performance of SimCode: time 4.61e-07/1.222, allocations: 0 / 0.9673 GB, free: 6.566 MB / 0.7325 GB Notification: Performance of Templates: time 0.02502/1.247, allocations: 13.31 MB / 0.9803 GB, free: 15.96 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: