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: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.474/2.474, allocations: 284.9 MB / 292.4 MB, free: 10.54 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.001526/0.001525, allocations: 172.9 kB / 360.6 MB, free: 7.273 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.106/2.106, allocations: 205.3 MB / 0.6191 GB, free: 12.21 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.001113/0.001112, allocations: 89.72 kB / 0.7321 GB, free: 44.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.227e-05/3.186e-05, allocations: 4 kB / 0.8508 GB, free: 3.355 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8163/0.8164, allocations: 115.3 MB / 0.9634 GB, free: 78.54 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.147/6.963, allocations: 2.073 GB / 3.036 GB, free: 46.26 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002884/6.963, allocations: 96.84 kB / 3.036 GB, free: 46.21 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.893/7.856, allocations: 63.44 MB / 3.098 GB, free: 318.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.316e-06/7.857, allocations: 3.688 kB / 3.098 GB, free: 318.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001052/7.857, allocations: 26.81 kB / 3.098 GB, free: 318.6 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.002886/7.86, allocations: 1.088 MB / 3.099 GB, free: 318.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.277e-05/7.86, allocations: 9.5 kB / 3.099 GB, free: 318.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0017/7.861, allocations: 192.2 kB / 3.099 GB, free: 318 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002072/7.863, allocations: 0.6325 MB / 3.1 GB, free: 317.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.345e-05/7.864, allocations: 26.25 kB / 3.1 GB, free: 317.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000158/7.864, allocations: 46.25 kB / 3.1 GB, free: 317.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002962/7.867, allocations: 0.9841 MB / 3.101 GB, free: 317.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002252/7.869, allocations: 0.7198 MB / 3.102 GB, free: 317.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.789e-05/7.869, allocations: 1.156 kB / 3.102 GB, free: 317.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001203/7.869, allocations: 4.688 kB / 3.102 GB, free: 317.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.919e-05/7.869, allocations: 19.22 kB / 3.102 GB, free: 317.6 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006535/7.876, allocations: 2.321 MB / 3.104 GB, free: 317 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001483/7.877, allocations: 0.6633 MB / 3.105 GB, free: 316.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005385/7.878, allocations: 247.8 kB / 3.105 GB, free: 316.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002727/7.878, allocations: 116.6 kB / 3.105 GB, free: 316.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008828/7.879, allocations: 400.3 kB / 3.105 GB, free: 316.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=73): time 3.106e-06/7.879, allocations: 0 / 3.105 GB, free: 316.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=73): time 0.002797/7.882, allocations: 0.6721 MB / 3.106 GB, free: 316.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.868e-05/7.882, allocations: 244.5 kB / 3.106 GB, free: 316.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001216/7.883, allocations: 0.5386 MB / 3.107 GB, free: 316.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002146/7.883, allocations: 27.56 kB / 3.107 GB, free: 316.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004302/7.884, allocations: 401.8 kB / 3.107 GB, free: 316 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000306/7.884, allocations: 228.3 kB / 3.107 GB, free: 315.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.265e-05/7.884, allocations: 0 / 3.107 GB, free: 315.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001681/7.884, allocations: 384.7 kB / 3.108 GB, free: 315.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005293/7.885, allocations: 195.4 kB / 3.108 GB, free: 315.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006745/7.886, allocations: 299.7 kB / 3.108 GB, free: 315.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008177/7.887, allocations: 250.6 kB / 3.108 GB, free: 315.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/7.887, allocations: 4.469 kB / 3.108 GB, free: 315.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002698/7.889, allocations: 0.667 MB / 3.109 GB, free: 315.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.802e-05/7.889, allocations: 6.406 kB / 3.109 GB, free: 315.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/7.889, allocations: 0.7969 kB / 3.109 GB, free: 315.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000987/7.89, allocations: 86.66 kB / 3.109 GB, free: 315.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001243/7.892, allocations: 139.2 kB / 3.109 GB, free: 315.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00254/7.894, allocations: 1.468 MB / 3.111 GB, free: 314.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001224/7.895, allocations: 63.88 kB / 3.111 GB, free: 314.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001063/7.896, allocations: 29.53 kB / 3.111 GB, free: 314.1 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.0002705/7.896, allocations: 127.2 kB / 3.111 GB, free: 314 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002712/7.899, allocations: 0.6755 MB / 3.112 GB, free: 313.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003033/7.899, allocations: 81.14 kB / 3.112 GB, free: 313.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00357/7.903, allocations: 0.9211 MB / 3.113 GB, free: 313.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-05/7.903, allocations: 8.344 kB / 3.113 GB, free: 313.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/7.903, allocations: 0 / 3.113 GB, free: 313.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.701e-05/7.903, allocations: 4.359 kB / 3.113 GB, free: 313.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001779/7.904, allocations: 0.7869 MB / 3.113 GB, free: 313.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/7.904, allocations: 0 / 3.113 GB, free: 313.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00123/7.906, allocations: 148.7 kB / 3.114 GB, free: 313.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008708/7.907, allocations: 83.78 kB / 3.114 GB, free: 313.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001069/7.907, allocations: 13.78 kB / 3.114 GB, free: 313.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002342/7.909, allocations: 1.488 MB / 3.115 GB, free: 312.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.614e-06/7.909, allocations: 5.641 kB / 3.115 GB, free: 312.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002919/7.912, allocations: 0.7789 MB / 3.116 GB, free: 312.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007454/7.913, allocations: 287.2 kB / 3.116 GB, free: 312 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001766/7.913, allocations: 6.016 kB / 3.116 GB, free: 312 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001029/7.914, allocations: 53.83 kB / 3.116 GB, free: 312 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002352/7.914, allocations: 63.22 kB / 3.116 GB, free: 312 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001011/7.914, allocations: 32.08 kB / 3.116 GB, free: 312 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0008716/7.915, allocations: 439 kB / 3.117 GB, free: 311.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.01e-07/7.915, allocations: 0 / 3.117 GB, free: 311.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001685/7.917, allocations: 314.4 kB / 3.117 GB, free: 311.9 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.005653/7.923, allocations: 2.31 MB / 3.119 GB, free: 311.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002148/7.925, allocations: 0.6538 MB / 3.12 GB, free: 311 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/7.925, allocations: 0 / 3.12 GB, free: 311 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001232/7.926, allocations: 454.8 kB / 3.12 GB, free: 310.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002123/7.928, allocations: 227.3 kB / 3.121 GB, free: 310.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006861/7.935, allocations: 1.51 MB / 3.122 GB, free: 310.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007939/7.936, allocations: 1.031 MB / 3.123 GB, free: 309.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001687/7.938, allocations: 251.2 kB / 3.123 GB, free: 309.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009018/7.939, allocations: 381.6 kB / 3.124 GB, free: 309.8 MB / 0.948 GB Notification: Performance of SimCode: time 1.152e-06/7.939, allocations: 1.125 kB / 3.124 GB, free: 309.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1237/8.062, allocations: 23.87 MB / 3.147 GB, free: 308.1 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002706/8.063, allocations: 198.2 kB / 3.147 GB, free: 307.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.985/12.05, allocations: 0 / 3.147 GB, free: 307.9 MB / 0.948 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController.fmu > Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1)