Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.0119/0.0119, allocations: 107.5 kB / 15.06 MB, free: 6.031 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001384/0.001384, allocations: 179.2 kB / 15.95 MB, free: 5.957 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.238/2.238, allocations: 194.5 MB / 211.2 MB, free: 11.08 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.654/2.654, allocations: 236.1 MB / 492.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005243/0.0005246, allocations: 16 kB / 0.587 GB, free: 2.062 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8855/0.8861, allocations: 98.71 MB / 0.6834 GB, free: 16.71 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.008923/0.8951, allocations: 3.607 MB / 0.6869 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.248/1.143, allocations: 127.6 MB / 0.8116 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001039/1.144, allocations: 15.94 kB / 0.8116 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0008107/1.145, allocations: 95.28 kB / 0.8117 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.00274/1.148, allocations: 474.6 kB / 0.8121 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002992/1.151, allocations: 0.5844 MB / 0.8127 GB, free: 9.699 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.002385/1.153, allocations: 0.7479 MB / 0.8134 GB, free: 8.953 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001153/1.155, allocations: 454.5 kB / 0.8139 GB, free: 8.496 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001015/1.156, allocations: 326.7 kB / 0.8142 GB, free: 8.176 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008374/1.157, allocations: 306.5 kB / 0.8145 GB, free: 7.875 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001989/1.157, allocations: 28 kB / 0.8145 GB, free: 7.848 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001246/1.158, allocations: 287.6 kB / 0.8148 GB, free: 7.566 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0003236/1.158, allocations: 159.3 kB / 0.8149 GB, free: 7.41 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0003622/1.159, allocations: 189.1 kB / 0.8151 GB, free: 7.219 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.00251/1.161, allocations: 1.076 MB / 0.8162 GB, free: 6.141 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/1.161, allocations: 3.938 kB / 0.8162 GB, free: 6.137 MB / 0.6355 GB Notification: Performance of FrontEnd: time 4.919e-06/1.161, allocations: 4 kB / 0.8162 GB, free: 6.133 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.435e-05/1.161, allocations: 3.938 kB / 0.8162 GB, free: 6.129 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 197 * Number of variables: 197 Notification: Performance of Generate backend data structure: time 0.003818/1.165, allocations: 1.194 MB / 0.8173 GB, free: 4.867 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.417e-05/1.165, allocations: 12.03 kB / 0.8173 GB, free: 4.855 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004983/1.166, allocations: 122.8 kB / 0.8175 GB, free: 4.727 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003445/1.169, allocations: 318.4 kB / 0.8178 GB, free: 4.414 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001971/1.171, allocations: 0.6524 MB / 0.8184 GB, free: 3.719 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001048/1.171, allocations: 69.98 kB / 0.8185 GB, free: 3.648 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003072/1.172, allocations: 79.94 kB / 0.8185 GB, free: 3.57 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003733/1.176, allocations: 0.9088 MB / 0.8194 GB, free: 2.629 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.907e-05/1.176, allocations: 3.953 kB / 0.8194 GB, free: 2.625 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001615/1.176, allocations: 36 kB / 0.8195 GB, free: 2.59 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-05/1.176, allocations: 24 kB / 0.8195 GB, free: 2.566 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004685/1.181, allocations: 1.214 MB / 0.8207 GB, free: 1.352 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008518/1.189, allocations: 2.504 MB / 0.8231 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003992/1.193, allocations: 0.8938 MB / 0.824 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001676/1.195, allocations: 0.6722 MB / 0.8247 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002089/1.197, allocations: 0.5039 MB / 0.8251 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=73): time 4.598e-06/1.197, allocations: 0 / 0.8251 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of matching and sorting (n=73): time 0.008095/1.205, allocations: 1.274 MB / 0.8264 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001728/1.205, allocations: 162.9 kB / 0.8265 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001922/1.207, allocations: 0.5706 MB / 0.8271 GB, free: 10.47 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0003506/1.208, allocations: 37.7 kB / 0.8271 GB, free: 10.43 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006364/1.208, allocations: 364.3 kB / 0.8275 GB, free: 10.07 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006306/1.209, allocations: 244.4 kB / 0.8277 GB, free: 9.824 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001309/1.209, allocations: 16 kB / 0.8277 GB, free: 9.809 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0003426/1.21, allocations: 382.7 kB / 0.8281 GB, free: 9.426 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002349/1.212, allocations: 293.1 kB / 0.8284 GB, free: 9.141 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002607/1.215, allocations: 385.9 kB / 0.8287 GB, free: 8.738 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002551/1.217, allocations: 386.5 kB / 0.8291 GB, free: 8.348 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.174e-05/1.217, allocations: 3.938 kB / 0.8291 GB, free: 8.344 MB / 0.6511 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.007386/1.225, allocations: 0.977 MB / 0.8301 GB, free: 7.344 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001145/1.225, allocations: 63.41 kB / 0.8301 GB, free: 7.27 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.622e-05/1.225, allocations: 4.094 kB / 0.8301 GB, free: 7.266 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001559/1.227, allocations: 80.77 kB / 0.8302 GB, free: 7.184 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002516/1.229, allocations: 159.8 kB / 0.8304 GB, free: 7.027 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004841/1.234, allocations: 1.555 MB / 0.8319 GB, free: 5.336 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002134/1.236, allocations: 91.45 kB / 0.832 GB, free: 5.246 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003528/1.237, allocations: 31.97 kB / 0.832 GB, free: 5.215 MB / 0.6511 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.conTim1.tNext,weaDat.conTim1.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 (78): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 2 * 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.001268/1.238, allocations: 251.8 kB / 0.8322 GB, free: 4.961 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004301/1.238, allocations: 79.06 kB / 0.8323 GB, free: 4.883 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008987/1.247, allocations: 1.115 MB / 0.8334 GB, free: 3.75 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.063e-05/1.248, allocations: 11.94 kB / 0.8334 GB, free: 3.738 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/1.248, allocations: 4 kB / 0.8334 GB, free: 3.734 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.125e-05/1.248, allocations: 3.984 kB / 0.8334 GB, free: 3.73 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002866/1.251, allocations: 0.8723 MB / 0.8343 GB, free: 2.805 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.576e-05/1.251, allocations: 0 / 0.8343 GB, free: 2.805 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002038/1.253, allocations: 151.8 kB / 0.8344 GB, free: 2.656 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001194/1.254, allocations: 84.72 kB / 0.8345 GB, free: 2.57 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002862/1.254, allocations: 31.97 kB / 0.8345 GB, free: 2.539 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004145/1.258, allocations: 1.567 MB / 0.8361 GB, free: 0.832 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/1.259, allocations: 0 / 0.8361 GB, free: 0.832 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006408/1.265, allocations: 0.9546 MB / 0.837 GB, free: 15.86 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001255/1.266, allocations: 299.7 kB / 0.8373 GB, free: 15.54 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003833/1.267, allocations: 19.98 kB / 0.8373 GB, free: 15.52 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001921/1.269, allocations: 79.88 kB / 0.8374 GB, free: 15.45 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004279/1.269, allocations: 60.86 kB / 0.8374 GB, free: 15.39 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002311/1.269, allocations: 40.05 kB / 0.8375 GB, free: 15.35 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001539/1.271, allocations: 411 kB / 0.8379 GB, free: 14.95 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.092e-06/1.271, allocations: 4 kB / 0.8379 GB, free: 14.95 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002091/1.273, allocations: 295.3 kB / 0.8381 GB, free: 14.66 MB / 0.6667 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.conTim1.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim1.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 77 * 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.008616/1.282, allocations: 2.01 MB / 0.8401 GB, free: 12.81 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.004933/1.287, allocations: 0.9766 MB / 0.8411 GB, free: 11.79 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/1.287, allocations: 0 / 0.8411 GB, free: 11.79 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.002634/1.289, allocations: 0.5315 MB / 0.8416 GB, free: 11.25 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001954/1.291, allocations: 197.1 kB / 0.8418 GB, free: 11.06 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01104/1.303, allocations: 3.056 MB / 0.8448 GB, free: 7.945 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001256/1.304, allocations: 1.011 MB / 0.8457 GB, free: 6.902 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.002897/1.307, allocations: 253.3 kB / 0.846 GB, free: 6.652 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001449/1.308, allocations: 331.3 kB / 0.8463 GB, free: 6.328 MB / 0.6667 GB Notification: Performance of SimCode: time 1.773e-06/1.308, allocations: 4 kB / 0.8463 GB, free: 6.324 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08671/1.395, allocations: 19.25 MB / 0.8651 GB, free: 3.352 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004295/1.395, allocations: 320.1 kB / 0.8654 GB, free: 2.984 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.817/5.212, allocations: 0 / 0.8654 GB, free: 2.984 MB / 0.6823 GB