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.722/1.722, allocations: 288.2 MB / 303.2 MB, free: 8.145 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.001197/0.001197, allocations: 185 kB / 371.8 MB, free: 10.29 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.836/1.836, allocations: 205.4 MB / 0.6305 GB, free: 10.06 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.0009185/0.0009186, allocations: 102.8 kB / 0.7439 GB, free: 5.957 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004106/0.0004107, allocations: 15.22 kB / 0.8669 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2508/0.2512, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.004254/0.2555, allocations: 3.752 MB / 0.9831 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.7502/1.006, allocations: 127.5 MB / 1.108 GB, free: 2.293 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005943/1.006, allocations: 17.69 kB / 1.108 GB, free: 2.285 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.000441/1.007, allocations: 105.2 kB / 1.108 GB, free: 2.246 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001581/1.008, allocations: 487.7 kB / 1.108 GB, free: 2.203 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.00179/1.01, allocations: 0.5983 MB / 1.109 GB, free: 2.176 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001043/1.011, allocations: 0.7613 MB / 1.11 GB, free: 2.133 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006934/1.012, allocations: 483.8 kB / 1.11 GB, free: 2.035 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004637/1.012, allocations: 306.3 kB / 1.11 GB, free: 1.961 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004206/1.013, allocations: 306.4 kB / 1.111 GB, free: 1.871 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 8.317e-05/1.013, allocations: 26.69 kB / 1.111 GB, free: 1.867 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006513/1.014, allocations: 263.5 kB / 1.111 GB, free: 1.863 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001751/1.014, allocations: 166.4 kB / 1.111 GB, free: 1.828 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001478/1.014, allocations: 193.7 kB / 1.111 GB, free: 1.758 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.001478/1.015, allocations: 1.076 MB / 1.112 GB, free: 1.676 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/1.015, allocations: 0 / 1.112 GB, free: 1.676 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.755e-06/1.015, allocations: 0 / 1.112 GB, free: 1.676 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.416e-05/1.015, allocations: 0 / 1.112 GB, free: 1.676 MB / 0.6823 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.002643/1.018, allocations: 1.18 MB / 1.113 GB, free: 16.94 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.159e-05/1.018, allocations: 10.92 kB / 1.113 GB, free: 16.94 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002052/1.018, allocations: 131.7 kB / 1.114 GB, free: 16.9 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000936/1.019, allocations: 193.3 kB / 1.114 GB, free: 16.84 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00107/1.02, allocations: 0.7079 MB / 1.114 GB, free: 16.53 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.054e-05/1.02, allocations: 59.09 kB / 1.115 GB, free: 16.52 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001164/1.021, allocations: 77.12 kB / 1.115 GB, free: 16.52 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00156/1.022, allocations: 0.8574 MB / 1.115 GB, free: 16.37 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.076e-05/1.022, allocations: 9.797 kB / 1.115 GB, free: 16.36 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.183e-05/1.022, allocations: 35.55 kB / 1.115 GB, free: 16.36 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.419e-05/1.022, allocations: 19.28 kB / 1.115 GB, free: 16.36 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001786/1.024, allocations: 1.08 MB / 1.117 GB, free: 16.34 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004029/1.028, allocations: 2.449 MB / 1.119 GB, free: 15.54 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001407/1.03, allocations: 0.7483 MB / 1.12 GB, free: 15.49 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002009/1.03, allocations: 112.8 kB / 1.12 GB, free: 15.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009355/1.031, allocations: 445.9 kB / 1.12 GB, free: 15.32 MB / 0.698 GB Notification: Performance of pre-optimization done (n=73): time 3.757e-06/1.031, allocations: 1.25 kB / 1.12 GB, free: 15.32 MB / 0.698 GB Notification: Performance of matching and sorting (n=73): time 0.003319/1.034, allocations: 1.134 MB / 1.121 GB, free: 15.11 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001068/1.034, allocations: 197.2 kB / 1.122 GB, free: 14.89 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009414/1.035, allocations: 0.6135 MB / 1.122 GB, free: 14.76 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.071e-05/1.035, allocations: 39.67 kB / 1.122 GB, free: 14.73 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003706/1.036, allocations: 401.7 kB / 1.123 GB, free: 14.55 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002239/1.036, allocations: 239.5 kB / 1.123 GB, free: 14.4 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.441e-05/1.036, allocations: 12.12 kB / 1.123 GB, free: 14.4 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002549/1.036, allocations: 389.4 kB / 1.123 GB, free: 14.08 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005166/1.037, allocations: 232.3 kB / 1.123 GB, free: 14.08 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006431/1.037, allocations: 328.1 kB / 1.124 GB, free: 14 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005516/1.038, allocations: 278.6 kB / 1.124 GB, free: 13.99 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/1.038, allocations: 3.938 kB / 1.124 GB, free: 13.99 MB / 0.698 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001725/1.04, allocations: 0.7569 MB / 1.125 GB, free: 13.88 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/1.04, allocations: 6.812 kB / 1.125 GB, free: 13.88 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/1.04, allocations: 3.938 kB / 1.125 GB, free: 13.88 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005751/1.04, allocations: 86.98 kB / 1.125 GB, free: 13.87 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000594/1.041, allocations: 147.7 kB / 1.125 GB, free: 13.86 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001955/1.043, allocations: 1.545 MB / 1.126 GB, free: 12.55 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000702/1.044, allocations: 86.78 kB / 1.127 GB, free: 12.52 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.709e-05/1.044, allocations: 28.89 kB / 1.127 GB, free: 12.52 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.0005578/1.044, allocations: 259.9 kB / 1.127 GB, free: 12.39 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001385/1.044, allocations: 76.59 kB / 1.127 GB, free: 12.35 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002316/1.047, allocations: 1.029 MB / 1.128 GB, free: 12.07 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.816e-06/1.047, allocations: 11.09 kB / 1.128 GB, free: 12.07 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/1.047, allocations: 0 / 1.128 GB, free: 12.07 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.142e-05/1.047, allocations: 3.984 kB / 1.128 GB, free: 12.06 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001159/1.048, allocations: 0.8763 MB / 1.129 GB, free: 11.64 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/1.048, allocations: 1.859 kB / 1.129 GB, free: 11.64 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005672/1.049, allocations: 150.4 kB / 1.129 GB, free: 11.61 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005205/1.049, allocations: 82.27 kB / 1.129 GB, free: 11.58 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.83e-05/1.049, allocations: 30.45 kB / 1.129 GB, free: 11.57 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001683/1.051, allocations: 1.559 MB / 1.131 GB, free: 10.21 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/1.051, allocations: 0 / 1.131 GB, free: 10.21 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001728/1.053, allocations: 0.8831 MB / 1.131 GB, free: 9.949 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004225/1.053, allocations: 274.4 kB / 1.132 GB, free: 9.762 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001134/1.053, allocations: 22.28 kB / 1.132 GB, free: 9.754 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005549/1.054, allocations: 77.42 kB / 1.132 GB, free: 9.73 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001215/1.054, allocations: 61.72 kB / 1.132 GB, free: 9.707 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.263e-05/1.054, allocations: 32.03 kB / 1.132 GB, free: 9.699 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005814/1.054, allocations: 448.7 kB / 1.132 GB, free: 9.547 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.61e-07/1.054, allocations: 0 / 1.132 GB, free: 9.547 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008521/1.055, allocations: 276.3 kB / 1.133 GB, free: 9.488 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.003175/1.059, allocations: 1.868 MB / 1.134 GB, free: 8.555 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001532/1.06, allocations: 0.7553 MB / 1.135 GB, free: 8.32 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/1.06, allocations: 2.719 kB / 1.135 GB, free: 8.32 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000892/1.061, allocations: 0.4909 MB / 1.136 GB, free: 8.137 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001147/1.062, allocations: 261.7 kB / 1.136 GB, free: 8.051 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01052/1.073, allocations: 5.383 MB / 1.141 GB, free: 5.426 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007236/1.073, allocations: 1.041 MB / 1.142 GB, free: 4.57 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0009904/1.074, allocations: 253.4 kB / 1.142 GB, free: 4.445 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004914/1.075, allocations: 371.6 kB / 1.143 GB, free: 4.395 MB / 0.698 GB Notification: Performance of SimCode: time 1.323e-06/1.075, allocations: 0 / 1.143 GB, free: 4.395 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04566/1.121, allocations: 20.36 MB / 1.163 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000379/1.121, allocations: 291.4 kB / 1.163 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.732/3.853, allocations: 0 / 1.163 GB, free: 10.27 MB / 0.7136 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)