Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.636/1.636, allocations: 285.6 MB / 293.1 MB, free: 10.26 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.00107/0.00107, allocations: 176.8 kB / 361.4 MB, free: 6.859 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.802/1.802, allocations: 205.2 MB / 0.62 GB, free: 11.64 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001023/0.001023, allocations: 101.1 kB / 0.733 GB, free: 44.19 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.202e-05/2.204e-05, allocations: 4 kB / 0.8518 GB, free: 2.641 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7273/0.7274, allocations: 115.3 MB / 0.9645 GB, free: 78.76 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.696/5.424, allocations: 2.073 GB / 3.037 GB, free: 42.84 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002412/5.424, allocations: 91.52 kB / 3.037 GB, free: 42.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.6826/6.107, allocations: 63.44 MB / 3.099 GB, free: 318.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.723e-06/6.107, allocations: 0 / 3.099 GB, free: 318.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 8.358e-05/6.107, allocations: 24.28 kB / 3.099 GB, free: 318.2 MB / 0.948 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.002052/6.109, allocations: 1.088 MB / 3.1 GB, free: 317.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.193e-05/6.109, allocations: 10.38 kB / 3.1 GB, free: 317.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001033/6.11, allocations: 195.3 kB / 3.1 GB, free: 317.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001115/6.111, allocations: 0.6338 MB / 3.101 GB, free: 317.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.997e-05/6.111, allocations: 27.17 kB / 3.101 GB, free: 317.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.675e-05/6.111, allocations: 46.88 kB / 3.101 GB, free: 317.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001606/6.113, allocations: 0.986 MB / 3.102 GB, free: 317.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001251/6.114, allocations: 0.7184 MB / 3.103 GB, free: 317.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.023e-05/6.114, allocations: 0 / 3.103 GB, free: 317.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.239e-05/6.114, allocations: 4.281 kB / 3.103 GB, free: 317.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.543e-05/6.114, allocations: 20.44 kB / 3.103 GB, free: 317.1 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004126/6.118, allocations: 2.313 MB / 3.105 GB, free: 316.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001025/6.119, allocations: 0.6658 MB / 3.106 GB, free: 316.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004416/6.12, allocations: 246.2 kB / 3.106 GB, free: 316.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002509/6.12, allocations: 116.5 kB / 3.106 GB, free: 316.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007491/6.121, allocations: 397.8 kB / 3.106 GB, free: 316.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=73): time 3.656e-06/6.121, allocations: 1.156 kB / 3.106 GB, free: 316.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=73): time 0.00215/6.123, allocations: 0.6737 MB / 3.107 GB, free: 316.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001345/6.123, allocations: 247.5 kB / 3.107 GB, free: 315.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001099/6.124, allocations: 0.5349 MB / 3.108 GB, free: 315.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.257e-05/6.124, allocations: 27.8 kB / 3.108 GB, free: 315.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003939/6.125, allocations: 400.7 kB / 3.108 GB, free: 315.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002485/6.125, allocations: 233.6 kB / 3.109 GB, free: 315.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.088e-05/6.125, allocations: 2.094 kB / 3.109 GB, free: 315.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001567/6.125, allocations: 383.5 kB / 3.109 GB, free: 315 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000357/6.126, allocations: 194.9 kB / 3.109 GB, free: 315 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005071/6.126, allocations: 298.5 kB / 3.109 GB, free: 315 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006109/6.127, allocations: 254.6 kB / 3.11 GB, free: 314.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/6.127, allocations: 1.812 kB / 3.11 GB, free: 314.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001831/6.128, allocations: 0.6676 MB / 3.11 GB, free: 314.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.77e-05/6.129, allocations: 5.344 kB / 3.11 GB, free: 314.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/6.129, allocations: 2.438 kB / 3.11 GB, free: 314.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006277/6.129, allocations: 85.42 kB / 3.11 GB, free: 314.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006591/6.13, allocations: 137.5 kB / 3.11 GB, free: 314.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001814/6.132, allocations: 1.478 MB / 3.112 GB, free: 313.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007896/6.132, allocations: 59 kB / 3.112 GB, free: 313.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.917e-05/6.133, allocations: 33.42 kB / 3.112 GB, free: 313.6 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * 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.000194/6.133, allocations: 119.4 kB / 3.112 GB, free: 313.5 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001735/6.135, allocations: 0.6784 MB / 3.113 GB, free: 313.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001517/6.135, allocations: 86.06 kB / 3.113 GB, free: 313.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002388/6.137, allocations: 0.9189 MB / 3.114 GB, free: 313.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.07e-05/6.137, allocations: 11.75 kB / 3.114 GB, free: 313.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/6.137, allocations: 0.7031 kB / 3.114 GB, free: 313.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.501e-05/6.137, allocations: 7.922 kB / 3.114 GB, free: 313.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001347/6.138, allocations: 0.7823 MB / 3.115 GB, free: 313 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/6.139, allocations: 2.25 kB / 3.115 GB, free: 313 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000673/6.139, allocations: 147.1 kB / 3.115 GB, free: 313 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005676/6.14, allocations: 86.69 kB / 3.115 GB, free: 313 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.298e-05/6.14, allocations: 14.5 kB / 3.115 GB, free: 313 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001641/6.141, allocations: 1.482 MB / 3.116 GB, free: 311.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/6.142, allocations: 3.562 kB / 3.116 GB, free: 311.8 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001846/6.143, allocations: 0.7784 MB / 3.117 GB, free: 311.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004568/6.144, allocations: 292.3 kB / 3.117 GB, free: 311.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001103/6.144, allocations: 2.078 kB / 3.117 GB, free: 311.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005346/6.144, allocations: 52.84 kB / 3.117 GB, free: 311.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001571/6.145, allocations: 60.59 kB / 3.117 GB, free: 311.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.586e-05/6.145, allocations: 32.38 kB / 3.117 GB, free: 311.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0006505/6.145, allocations: 441.5 kB / 3.118 GB, free: 311.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.71e-07/6.145, allocations: 0 / 3.118 GB, free: 311.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001473/6.147, allocations: 315.2 kB / 3.118 GB, free: 311.4 MB / 0.948 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) * 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.00402/6.151, allocations: 2.307 MB / 3.12 GB, free: 310.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001444/6.152, allocations: 0.6562 MB / 3.121 GB, free: 310.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.421e-06/6.152, allocations: 0.9062 kB / 3.121 GB, free: 310.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008404/6.153, allocations: 454.6 kB / 3.121 GB, free: 310.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001562/6.155, allocations: 243 kB / 3.122 GB, free: 310.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004592/6.159, allocations: 1.513 MB / 3.123 GB, free: 309.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007277/6.16, allocations: 1.03 MB / 3.124 GB, free: 309.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.00108/6.161, allocations: 244.9 kB / 3.124 GB, free: 309.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005379/6.162, allocations: 383.7 kB / 3.125 GB, free: 309.2 MB / 0.948 GB Notification: Performance of SimCode: time 1.312e-06/6.162, allocations: 0 / 3.125 GB, free: 309.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05991/6.222, allocations: 23.87 MB / 3.148 GB, free: 307.4 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001565/6.222, allocations: 206.3 kB / 3.148 GB, free: 307.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.738/8.96, allocations: 0 / 3.148 GB, free: 307.1 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController.fmu > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1)