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.578/1.578, allocations: 251.9 MB / 266.9 MB, free: 11.05 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.002147/0.002147, allocations: 179.2 kB / 326.5 MB, free: 2.242 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.067/2.067, allocations: 205.4 MB / 0.5775 GB, free: 20.58 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.0009492/0.0009491, allocations: 96.59 kB / 0.6821 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003769/0.000377, allocations: 12.44 kB / 0.7963 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2442/0.2446, allocations: 106.3 MB / 0.9002 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.005595/0.2502, allocations: 3.764 MB / 0.9038 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1571/0.4074, allocations: 127.5 MB / 1.028 GB, free: 12.7 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000895/0.4084, allocations: 19.88 kB / 1.028 GB, free: 12.68 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005247/0.4089, allocations: 103.2 kB / 1.029 GB, free: 12.57 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001649/0.4106, allocations: 480.5 kB / 1.029 GB, free: 12.11 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001786/0.4124, allocations: 0.6009 MB / 1.03 GB, free: 11.51 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001193/0.4136, allocations: 0.7598 MB / 1.03 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007441/0.4143, allocations: 475.3 kB / 1.031 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004711/0.4148, allocations: 310.6 kB / 1.031 GB, free: 9.965 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000407/0.4152, allocations: 306.3 kB / 1.031 GB, free: 9.664 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 6.843e-05/0.4153, allocations: 24 kB / 1.031 GB, free: 9.641 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006839/0.416, allocations: 267.6 kB / 1.032 GB, free: 9.379 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001895/0.4162, allocations: 167.3 kB / 1.032 GB, free: 9.215 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001612/0.4164, allocations: 181.2 kB / 1.032 GB, free: 9.031 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.001143/0.4175, allocations: 1.083 MB / 1.033 GB, free: 7.945 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.4175, allocations: 0 / 1.033 GB, free: 7.945 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.023e-06/0.4176, allocations: 0 / 1.033 GB, free: 7.945 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.347e-05/0.4176, allocations: 0 / 1.033 GB, free: 7.945 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.002226/0.4198, allocations: 1.174 MB / 1.034 GB, free: 6.719 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.4199, allocations: 11.97 kB / 1.034 GB, free: 6.707 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001651/0.42, allocations: 134.9 kB / 1.034 GB, free: 6.566 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008973/0.4209, allocations: 198.5 kB / 1.034 GB, free: 6.371 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001188/0.4221, allocations: 0.7038 MB / 1.035 GB, free: 5.625 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.94e-05/0.4222, allocations: 61.94 kB / 1.035 GB, free: 5.562 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001093/0.4223, allocations: 79.94 kB / 1.035 GB, free: 5.484 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001527/0.4239, allocations: 0.8637 MB / 1.036 GB, free: 4.582 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.797e-05/0.4239, allocations: 0 / 1.036 GB, free: 4.582 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.18e-05/0.424, allocations: 36 kB / 1.036 GB, free: 4.547 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.052e-05/0.424, allocations: 23.95 kB / 1.036 GB, free: 4.523 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001753/0.4258, allocations: 1.085 MB / 1.037 GB, free: 3.434 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004116/0.4299, allocations: 2.445 MB / 1.04 GB, free: 0.9219 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00199/0.4319, allocations: 0.7429 MB / 1.04 GB, free: 176 kB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002571/0.4322, allocations: 113.8 kB / 1.04 GB, free: 44 kB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001259/0.4335, allocations: 444.5 kB / 1.041 GB, free: 15.59 MB / 0.698 GB Notification: Performance of pre-optimization done (n=73): time 4.86e-06/0.4335, allocations: 0 / 1.041 GB, free: 15.59 MB / 0.698 GB Notification: Performance of matching and sorting (n=73): time 0.004174/0.4377, allocations: 1.132 MB / 1.042 GB, free: 14.43 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001371/0.4378, allocations: 192.6 kB / 1.042 GB, free: 14.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001109/0.4389, allocations: 0.6176 MB / 1.043 GB, free: 13.57 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001014/0.4391, allocations: 37.7 kB / 1.043 GB, free: 13.53 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004733/0.4395, allocations: 404.2 kB / 1.043 GB, free: 13.13 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002825/0.4398, allocations: 236.6 kB / 1.043 GB, free: 12.89 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.894e-05/0.4399, allocations: 12 kB / 1.043 GB, free: 12.88 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002258/0.4401, allocations: 390.8 kB / 1.044 GB, free: 12.49 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006519/0.4408, allocations: 229.1 kB / 1.044 GB, free: 12.27 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007791/0.4416, allocations: 338.7 kB / 1.044 GB, free: 11.91 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000763/0.4424, allocations: 279.1 kB / 1.045 GB, free: 11.64 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.4424, allocations: 0 / 1.045 GB, free: 11.64 MB / 0.698 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002536/0.4449, allocations: 0.7587 MB / 1.045 GB, free: 10.87 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.654e-05/0.445, allocations: 6.344 kB / 1.045 GB, free: 10.87 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.445, allocations: 4.094 kB / 1.045 GB, free: 10.86 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007545/0.4458, allocations: 84.77 kB / 1.045 GB, free: 10.78 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008239/0.4466, allocations: 147.8 kB / 1.046 GB, free: 10.63 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002762/0.4494, allocations: 1.547 MB / 1.047 GB, free: 8.945 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009443/0.4503, allocations: 81.53 kB / 1.047 GB, free: 8.867 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-05/0.4505, allocations: 31.97 kB / 1.047 GB, free: 8.836 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.0006778/0.4511, allocations: 257.6 kB / 1.047 GB, free: 8.574 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002026/0.4514, allocations: 79.06 kB / 1.048 GB, free: 8.496 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003549/0.4549, allocations: 1.03 MB / 1.049 GB, free: 7.445 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.584e-05/0.455, allocations: 11.94 kB / 1.049 GB, free: 7.434 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.455, allocations: 0 / 1.049 GB, free: 7.434 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.953e-05/0.455, allocations: 3.984 kB / 1.049 GB, free: 7.43 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001787/0.4568, allocations: 0.8801 MB / 1.049 GB, free: 6.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/0.4568, allocations: 0 / 1.049 GB, free: 6.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009031/0.4577, allocations: 147.8 kB / 1.05 GB, free: 6.355 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007254/0.4585, allocations: 84.77 kB / 1.05 GB, free: 6.27 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.172e-05/0.4586, allocations: 23.98 kB / 1.05 GB, free: 6.246 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002911/0.4615, allocations: 1.567 MB / 1.051 GB, free: 4.539 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.4615, allocations: 0 / 1.051 GB, free: 4.539 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003153/0.4647, allocations: 0.8735 MB / 1.052 GB, free: 3.645 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007485/0.4654, allocations: 275.7 kB / 1.052 GB, free: 3.355 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001649/0.4656, allocations: 19.95 kB / 1.052 GB, free: 3.336 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008246/0.4665, allocations: 79.98 kB / 1.052 GB, free: 3.258 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001938/0.4667, allocations: 56.92 kB / 1.052 GB, free: 3.199 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001027/0.4668, allocations: 35.97 kB / 1.053 GB, free: 3.164 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0009728/0.4678, allocations: 443 kB / 1.053 GB, free: 2.738 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.815e-06/0.4678, allocations: 0 / 1.053 GB, free: 2.738 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001282/0.4691, allocations: 279.2 kB / 1.053 GB, free: 2.465 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.005099/0.4742, allocations: 1.88 MB / 1.055 GB, free: 0.7227 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.4408/0.915, allocations: 0.7465 MB / 1.056 GB, free: 154.1 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.095e-05/0.9151, allocations: 0 / 1.056 GB, free: 154.1 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001301/0.9164, allocations: 0.4918 MB / 1.056 GB, free: 154 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001387/0.9178, allocations: 250.1 kB / 1.056 GB, free: 154 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01003/0.9278, allocations: 5.372 MB / 1.062 GB, free: 152 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006456/0.9285, allocations: 1.036 MB / 1.063 GB, free: 151.3 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001037/0.9296, allocations: 255.4 kB / 1.063 GB, free: 151.3 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005412/0.9301, allocations: 373.1 kB / 1.063 GB, free: 151.3 MB / 0.698 GB Notification: Performance of SimCode: time 1.002e-06/0.9302, allocations: 0 / 1.063 GB, free: 151.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06005/0.9902, allocations: 20.36 MB / 1.083 GB, free: 144.3 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001825/0.9904, allocations: 286.5 kB / 1.083 GB, free: 143.9 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.803/3.793, allocations: 0 / 1.083 GB, free: 143.9 MB / 0.698 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)