Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") translateModel(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.678/2.678, allocations: 287.3 MB / 302.3 MB, free: 8.344 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001601/0.0016, allocations: 186.8 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.291/2.291, allocations: 205.4 MB / 0.6295 GB, free: 10.6 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001122/0.001121, allocations: 93.73 kB / 0.7428 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004729/0.0004731, allocations: 10.78 kB / 0.8656 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2133/0.2138, allocations: 115.3 MB / 0.9782 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.005766/0.2196, allocations: 3.756 MB / 0.9819 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.8839/1.104, allocations: 127.5 MB / 1.106 GB, free: 1.645 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009375/1.105, allocations: 22.69 kB / 1.106 GB, free: 1.633 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0006837/1.105, allocations: 102.5 kB / 1.107 GB, free: 1.598 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.002479/1.108, allocations: 496.2 kB / 1.107 GB, free: 1.547 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002883/1.111, allocations: 0.5914 MB / 1.108 GB, free: 1.523 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002152/1.113, allocations: 0.7718 MB / 1.108 GB, free: 1.477 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001152/1.114, allocations: 481.8 kB / 1.109 GB, free: 1.387 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009782/1.115, allocations: 307.9 kB / 1.109 GB, free: 1.312 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007957/1.116, allocations: 300.2 kB / 1.109 GB, free: 1.223 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002132/1.116, allocations: 22.16 kB / 1.109 GB, free: 1.223 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001272/1.117, allocations: 269.1 kB / 1.11 GB, free: 1.215 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003762/1.118, allocations: 169.1 kB / 1.11 GB, free: 1.18 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0004469/1.118, allocations: 189.6 kB / 1.11 GB, free: 17.11 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002793/1.121, allocations: 1.077 MB / 1.111 GB, free: 17.03 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/1.121, allocations: 1.281 kB / 1.111 GB, free: 17.03 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.116e-06/1.121, allocations: 0 / 1.111 GB, free: 17.03 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.982e-05/1.121, allocations: 0 / 1.111 GB, free: 17.03 MB / 0.698 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.00387/1.125, allocations: 1.176 MB / 1.112 GB, free: 16.29 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/1.125, allocations: 11.91 kB / 1.112 GB, free: 16.29 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001732/1.127, allocations: 195.3 kB / 1.112 GB, free: 16.23 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002139/1.129, allocations: 0.7057 MB / 1.113 GB, free: 15.92 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.281e-05/1.129, allocations: 56.34 kB / 1.113 GB, free: 15.91 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002194/1.13, allocations: 83.45 kB / 1.113 GB, free: 15.91 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002775/1.132, allocations: 0.8605 MB / 1.114 GB, free: 15.75 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.483e-05/1.132, allocations: 0 / 1.114 GB, free: 15.75 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001458/1.133, allocations: 34.91 kB / 1.114 GB, free: 15.75 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.175e-05/1.133, allocations: 24.2 kB / 1.114 GB, free: 15.75 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003472/1.136, allocations: 1.082 MB / 1.115 GB, free: 15.73 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007198/1.143, allocations: 2.449 MB / 1.118 GB, free: 14.93 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002284/1.146, allocations: 0.7454 MB / 1.118 GB, free: 14.89 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003131/1.146, allocations: 114 kB / 1.118 GB, free: 14.79 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001383/1.147, allocations: 445.4 kB / 1.119 GB, free: 14.72 MB / 0.698 GB Notification: Performance of pre-optimization done (n=73): time 4.328e-06/1.148, allocations: 0 / 1.119 GB, free: 14.72 MB / 0.698 GB Notification: Performance of matching and sorting (n=73): time 0.005257/1.153, allocations: 1.137 MB / 1.12 GB, free: 14.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001382/1.153, allocations: 197.2 kB / 1.12 GB, free: 14.28 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001265/1.154, allocations: 0.6116 MB / 1.121 GB, free: 14.15 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002568/1.155, allocations: 40.08 kB / 1.121 GB, free: 14.12 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004406/1.155, allocations: 400.8 kB / 1.121 GB, free: 13.94 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003917/1.155, allocations: 235.4 kB / 1.121 GB, free: 13.79 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.067e-05/1.155, allocations: 13.41 kB / 1.121 GB, free: 13.79 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002427/1.156, allocations: 388.3 kB / 1.122 GB, free: 13.48 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001001/1.157, allocations: 230.1 kB / 1.122 GB, free: 13.48 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001076/1.158, allocations: 336.4 kB / 1.122 GB, free: 13.39 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001072/1.159, allocations: 270.4 kB / 1.123 GB, free: 13.39 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.735e-06/1.159, allocations: 1.094 kB / 1.123 GB, free: 13.39 MB / 0.698 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.003273/1.162, allocations: 0.763 MB / 1.123 GB, free: 13.27 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.807e-05/1.162, allocations: 6.344 kB / 1.123 GB, free: 13.27 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/1.162, allocations: 3.406 kB / 1.123 GB, free: 13.27 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009938/1.163, allocations: 82.97 kB / 1.123 GB, free: 13.26 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001316/1.165, allocations: 141 kB / 1.124 GB, free: 13.25 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00401/1.169, allocations: 1.554 MB / 1.125 GB, free: 11.94 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001952/1.171, allocations: 89.12 kB / 1.125 GB, free: 11.91 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002599/1.171, allocations: 23.03 kB / 1.125 GB, free: 11.91 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001122/1.172, allocations: 258.6 kB / 1.125 GB, free: 11.78 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003217/1.173, allocations: 80.03 kB / 1.125 GB, free: 11.74 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003977/1.177, allocations: 1.02 MB / 1.126 GB, free: 11.61 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.827e-05/1.177, allocations: 16.83 kB / 1.126 GB, free: 11.6 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/1.177, allocations: 0 / 1.126 GB, free: 11.6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.818e-05/1.177, allocations: 8.25 kB / 1.126 GB, free: 11.59 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001872/1.179, allocations: 0.8809 MB / 1.127 GB, free: 11.37 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.669e-06/1.179, allocations: 2.219 kB / 1.127 GB, free: 11.37 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00128/1.18, allocations: 148.5 kB / 1.127 GB, free: 11.36 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008863/1.181, allocations: 82.14 kB / 1.128 GB, free: 11.35 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000134/1.181, allocations: 23.02 kB / 1.128 GB, free: 11.35 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002963/1.184, allocations: 1.568 MB / 1.129 GB, free: 10.04 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/1.184, allocations: 3.531 kB / 1.129 GB, free: 10.04 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003455/1.187, allocations: 0.8726 MB / 1.13 GB, free: 9.883 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000803/1.188, allocations: 276.9 kB / 1.13 GB, free: 9.734 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002245/1.189, allocations: 23.14 kB / 1.13 GB, free: 9.73 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001145/1.19, allocations: 77.66 kB / 1.13 GB, free: 9.723 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002444/1.19, allocations: 58.44 kB / 1.13 GB, free: 9.723 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000113/1.19, allocations: 31.3 kB / 1.13 GB, free: 9.723 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001024/1.191, allocations: 446.3 kB / 1.131 GB, free: 9.633 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.81e-07/1.191, allocations: 1.094 kB / 1.131 GB, free: 9.633 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001535/1.193, allocations: 268.4 kB / 1.131 GB, free: 9.586 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002017/1.195, allocations: 0.5629 MB / 1.132 GB, free: 9.363 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002881/1.198, allocations: 0.7541 MB / 1.132 GB, free: 9.172 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.194e-06/1.198, allocations: 1.031 kB / 1.132 GB, free: 9.172 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001753/1.2, allocations: 0.4968 MB / 1.133 GB, free: 8.98 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002213/1.202, allocations: 252.8 kB / 1.133 GB, free: 8.898 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007541/1.209, allocations: 2.148 MB / 1.135 GB, free: 7.711 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009183/1.21, allocations: 1.042 MB / 1.136 GB, free: 6.859 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001729/1.212, allocations: 253.1 kB / 1.136 GB, free: 6.734 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004677/1.213, allocations: 97.08 kB / 1.137 GB, free: 6.715 MB / 0.698 GB Notification: Performance of SimCode: time 1.122e-06/1.213, allocations: 0 / 1.137 GB, free: 6.715 MB / 0.698 GB Notification: Performance of Templates: time 0.04216/1.255, allocations: 12.91 MB / 1.149 GB, free: 244 kB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.sim & ./Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1)