Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.541/1.541, allocations: 251.9 MB / 266.8 MB, free: 11.04 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.001292/0.001292, allocations: 172.5 kB / 326.5 MB, free: 2.254 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.364/2.364, allocations: 205.4 MB / 0.5775 GB, free: 20.28 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.001037/0.001037, allocations: 86.36 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004569/0.0004573, allocations: 10.12 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2793/0.2798, allocations: 106.3 MB / 0.9002 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.544/6.824, allocations: 2.191 GB / 3.092 GB, free: 245 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003119/6.824, allocations: 98.36 kB / 3.092 GB, free: 245 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.151/6.975, allocations: 64.23 MB / 3.154 GB, free: 236.2 MB / 0.8855 GB Notification: Performance of FrontEnd: time 4.308e-06/6.975, allocations: 3.984 kB / 3.154 GB, free: 236.2 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.289e-05/6.975, allocations: 35.39 kB / 3.155 GB, free: 236.2 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: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.002268/6.978, allocations: 1.204 MB / 3.156 GB, free: 235.3 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/6.978, allocations: 11.72 kB / 3.156 GB, free: 235.3 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001577/6.978, allocations: 137.8 kB / 3.156 GB, free: 235.2 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008394/6.979, allocations: 195.8 kB / 3.156 GB, free: 235.1 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001017/6.98, allocations: 0.6252 MB / 3.157 GB, free: 234.7 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.296e-05/6.98, allocations: 58.62 kB / 3.157 GB, free: 234.7 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.931e-05/6.98, allocations: 75.44 kB / 3.157 GB, free: 234.7 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001326/6.981, allocations: 0.88 MB / 3.158 GB, free: 234.4 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/6.981, allocations: 0 / 3.158 GB, free: 234.4 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.577e-05/6.981, allocations: 33.25 kB / 3.158 GB, free: 234.4 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.854e-05/6.981, allocations: 23.45 kB / 3.158 GB, free: 234.4 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001483/6.983, allocations: 1.089 MB / 3.159 GB, free: 234.1 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003697/6.987, allocations: 2.468 MB / 3.161 GB, free: 232.8 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001133/6.988, allocations: 0.7581 MB / 3.162 GB, free: 232.6 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001896/6.988, allocations: 116.9 kB / 3.162 GB, free: 232.5 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007372/6.989, allocations: 444.2 kB / 3.162 GB, free: 232.4 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=73): time 3.216e-06/6.989, allocations: 0 / 3.162 GB, free: 232.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=73): time 0.002985/6.992, allocations: 1.152 MB / 3.164 GB, free: 232 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00011/6.992, allocations: 243.5 kB / 3.164 GB, free: 231.7 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007719/6.993, allocations: 0.6176 MB / 3.164 GB, free: 231.5 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 6.733e-05/6.993, allocations: 40.42 kB / 3.164 GB, free: 231.5 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.000302/6.993, allocations: 389.7 kB / 3.165 GB, free: 231.3 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.000176/6.993, allocations: 247.8 kB / 3.165 GB, free: 231.1 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.331e-05/6.993, allocations: 14.81 kB / 3.165 GB, free: 231.1 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001201/6.993, allocations: 380.3 kB / 3.165 GB, free: 230.7 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003946/6.994, allocations: 233.1 kB / 3.166 GB, free: 230.7 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004695/6.994, allocations: 348.7 kB / 3.166 GB, free: 230.6 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004623/6.995, allocations: 275.7 kB / 3.166 GB, free: 230.5 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/6.995, allocations: 0 / 3.166 GB, free: 230.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001632/6.996, allocations: 0.759 MB / 3.167 GB, free: 230.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.599e-05/6.996, allocations: 8.031 kB / 3.167 GB, free: 230.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/6.996, allocations: 11.72 kB / 3.167 GB, free: 230.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006421/6.997, allocations: 82.67 kB / 3.167 GB, free: 230.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005778/6.998, allocations: 137.1 kB / 3.167 GB, free: 230.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001895/6.999, allocations: 1.549 MB / 3.169 GB, free: 228.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006421/7, allocations: 77.38 kB / 3.169 GB, free: 228.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.224e-05/7, allocations: 27.34 kB / 3.169 GB, free: 228.9 MB / 0.8855 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 () * Number of clocked 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.0005999/7.001, allocations: 259.7 kB / 3.169 GB, free: 228.7 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001298/7.001, allocations: 89.98 kB / 3.169 GB, free: 228.7 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002127/7.003, allocations: 1.027 MB / 3.17 GB, free: 228.4 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/7.003, allocations: 15.56 kB / 3.17 GB, free: 228.4 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/7.003, allocations: 0 / 3.17 GB, free: 228.4 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/7.003, allocations: 3.984 kB / 3.17 GB, free: 228.4 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001/7.004, allocations: 0.9062 MB / 3.171 GB, free: 227.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.177e-06/7.004, allocations: 3.875 kB / 3.171 GB, free: 227.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000545/7.005, allocations: 148 kB / 3.171 GB, free: 227.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004973/7.005, allocations: 86.08 kB / 3.171 GB, free: 227.8 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.273e-05/7.005, allocations: 22.48 kB / 3.171 GB, free: 227.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001563/7.007, allocations: 1.563 MB / 3.173 GB, free: 226.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/7.007, allocations: 0 / 3.173 GB, free: 226.5 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001744/7.009, allocations: 0.8906 MB / 3.174 GB, free: 226.2 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004377/7.009, allocations: 288.2 kB / 3.174 GB, free: 226 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/7.009, allocations: 19.31 kB / 3.174 GB, free: 226 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005429/7.01, allocations: 73.36 kB / 3.174 GB, free: 226 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001316/7.01, allocations: 65.64 kB / 3.174 GB, free: 226 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.778e-05/7.01, allocations: 31.09 kB / 3.174 GB, free: 226 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0006338/7.011, allocations: 0.4939 MB / 3.175 GB, free: 225.8 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/7.011, allocations: 0 / 3.175 GB, free: 225.8 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001255/7.012, allocations: 338.2 kB / 3.175 GB, free: 225.7 MB / 0.8855 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.004006/7.016, allocations: 2.393 MB / 3.177 GB, free: 224.4 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001508/7.017, allocations: 0.7529 MB / 3.178 GB, free: 224.2 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/7.017, allocations: 0 / 3.178 GB, free: 224.2 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0007789/7.018, allocations: 0.4954 MB / 3.178 GB, free: 224 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001156/7.019, allocations: 245.2 kB / 3.179 GB, free: 224 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009435/7.029, allocations: 5.312 MB / 3.184 GB, free: 221.5 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005564/7.029, allocations: 1.034 MB / 3.185 GB, free: 220.6 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.00101/7.03, allocations: 259 kB / 3.185 GB, free: 220.5 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005646/7.031, allocations: 377.8 kB / 3.186 GB, free: 220.5 MB / 0.8855 GB Notification: Performance of SimCode: time 1.734e-06/7.031, allocations: 0 / 3.186 GB, free: 220.5 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05762/7.089, allocations: 30.25 MB / 3.215 GB, free: 202.6 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002498/7.089, allocations: 289.5 kB / 3.215 GB, free: 202.2 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.339/10.43, allocations: 0 / 3.215 GB, free: 202.2 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController.fmu > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1)