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: translateModel(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.0101/0.01011, allocations: 222.3 kB / 15.17 MB, free: 5.926 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.001143/0.001143, allocations: 176 kB / 16.06 MB, free: 5.832 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 3.481/3.481, allocations: 389.1 MB / 405.9 MB, free: 14.22 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.796/3.796, allocations: 472.3 MB / 0.9018 GB, free: 107.8 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.0004773/0.0004776, allocations: 10.47 kB / 1.008 GB, free: 54.61 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.1414, allocations: 98.72 MB / 1.104 GB, free: 6.008 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.005673/0.1471, allocations: 3.708 MB / 1.108 GB, free: 2.285 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.1904/0.3376, allocations: 136.7 MB / 1.241 GB, free: 9.281 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006006/0.3382, allocations: 11.94 kB / 1.241 GB, free: 9.27 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.0003971/0.3386, allocations: 87.36 kB / 1.241 GB, free: 9.184 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.001582/0.3402, allocations: 445.6 kB / 1.242 GB, free: 8.746 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.001984/0.3422, allocations: 0.5843 MB / 1.242 GB, free: 8.16 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.001423/0.3437, allocations: 1.058 MB / 1.243 GB, free: 7.102 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008023/0.3445, allocations: 451 kB / 1.244 GB, free: 6.648 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005111/0.345, allocations: 310.6 kB / 1.244 GB, free: 6.344 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005712/0.3456, allocations: 346.3 kB / 1.244 GB, free: 6.004 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 9.773e-05/0.3457, allocations: 24 kB / 1.244 GB, free: 5.98 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008596/0.3466, allocations: 315.5 kB / 1.245 GB, free: 5.672 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0002229/0.3468, allocations: 159.3 kB / 1.245 GB, free: 5.516 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0002201/0.347, allocations: 185.2 kB / 1.245 GB, free: 5.328 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.001454/0.3485, allocations: 1.079 MB / 1.246 GB, free: 4.246 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 6.966e-06/0.3485, allocations: 4 kB / 1.246 GB, free: 4.242 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.964e-06/0.3485, allocations: 0 / 1.246 GB, free: 4.242 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.79e-05/0.3486, allocations: 0 / 1.246 GB, free: 4.242 MB / 0.6511 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.002516/0.3511, allocations: 1.194 MB / 1.247 GB, free: 2.98 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.3512, allocations: 8.031 kB / 1.247 GB, free: 2.973 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002392/0.3536, allocations: 314.4 kB / 1.248 GB, free: 2.664 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001342/0.3549, allocations: 0.6602 MB / 1.248 GB, free: 1.961 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.737e-05/0.355, allocations: 58 kB / 1.248 GB, free: 1.902 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001583/0.3552, allocations: 76 kB / 1.248 GB, free: 1.828 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0023/0.3575, allocations: 0.9206 MB / 1.249 GB, free: 0.875 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.276e-05/0.3576, allocations: 0 / 1.249 GB, free: 0.875 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001224/0.3577, allocations: 39.95 kB / 1.249 GB, free: 0.8359 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.237e-05/0.3577, allocations: 16 kB / 1.249 GB, free: 0.8203 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4304/0.7881, allocations: 1.212 MB / 1.25 GB, free: 146.1 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005548/0.7937, allocations: 2.493 MB / 1.253 GB, free: 145.4 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002907/0.7967, allocations: 0.8795 MB / 1.254 GB, free: 145.3 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001142/0.7978, allocations: 343.8 kB / 1.254 GB, free: 145.3 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001015/0.7989, allocations: 0.6734 MB / 1.255 GB, free: 144.7 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001452/0.8003, allocations: 0.5076 MB / 1.255 GB, free: 144.5 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=73): time 3.86e-06/0.8004, allocations: 1.031 kB / 1.255 GB, free: 144.5 MB / 0.6511 GB Notification: Performance of matching and sorting (n=73): time 0.004783/0.8052, allocations: 1.28 MB / 1.256 GB, free: 144 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.244e-05/0.8053, allocations: 165.7 kB / 1.257 GB, free: 143.8 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001004/0.8063, allocations: 0.5698 MB / 1.257 GB, free: 143.5 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001048/0.8064, allocations: 43.16 kB / 1.257 GB, free: 143.5 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002908/0.8067, allocations: 359.7 kB / 1.258 GB, free: 143.2 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002278/0.8069, allocations: 237.1 kB / 1.258 GB, free: 143 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.454e-05/0.807, allocations: 15.25 kB / 1.258 GB, free: 143 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.8072, allocations: 376.6 kB / 1.258 GB, free: 142.7 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001005/0.8082, allocations: 317.3 kB / 1.258 GB, free: 142.6 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001075/0.8093, allocations: 405.4 kB / 1.259 GB, free: 142.4 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001073/0.8104, allocations: 406.3 kB / 1.259 GB, free: 142.2 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.918e-06/0.8104, allocations: 0 / 1.259 GB, free: 142.2 MB / 0.6511 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003165/0.8136, allocations: 1.046 MB / 1.26 GB, free: 141.8 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 4.508e-05/0.8136, allocations: 71.92 kB / 1.26 GB, free: 141.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.635e-06/0.8136, allocations: 1.688 kB / 1.26 GB, free: 141.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006501/0.8143, allocations: 78.67 kB / 1.26 GB, free: 141.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001044/0.8154, allocations: 176.1 kB / 1.261 GB, free: 141.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002066/0.8175, allocations: 1.533 MB / 1.262 GB, free: 140.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009142/0.8184, allocations: 98.28 kB / 1.262 GB, free: 140.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001129/0.8185, allocations: 32.67 kB / 1.262 GB, free: 140.2 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: 8 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tNext,weaDat.conTim1.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTim1.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 83 * 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.0005123/0.819, allocations: 262 kB / 1.262 GB, free: 140 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001611/0.8192, allocations: 76.03 kB / 1.263 GB, free: 140 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003632/0.8229, allocations: 1.121 MB / 1.264 GB, free: 139.6 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-05/0.8229, allocations: 8.656 kB / 1.264 GB, free: 139.6 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.013e-06/0.8229, allocations: 3.484 kB / 1.264 GB, free: 139.6 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.675e-05/0.8229, allocations: 8.656 kB / 1.264 GB, free: 139.6 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001463/0.8244, allocations: 0.8518 MB / 1.264 GB, free: 139.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.321e-06/0.8244, allocations: 1 kB / 1.264 GB, free: 139.1 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009603/0.8254, allocations: 164.5 kB / 1.265 GB, free: 139.1 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006052/0.826, allocations: 81.39 kB / 1.265 GB, free: 139.1 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.3e-05/0.8261, allocations: 27.03 kB / 1.265 GB, free: 139.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00189/0.828, allocations: 1.56 MB / 1.266 GB, free: 137.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.4e-06/0.8281, allocations: 0 / 1.266 GB, free: 137.6 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002894/0.831, allocations: 0.9562 MB / 1.267 GB, free: 137.2 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004695/0.8315, allocations: 292.3 kB / 1.267 GB, free: 137 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001451/0.8316, allocations: 20.08 kB / 1.267 GB, free: 137 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007914/0.8324, allocations: 76.22 kB / 1.268 GB, free: 137 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001478/0.8326, allocations: 58.16 kB / 1.268 GB, free: 136.9 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001055/0.8327, allocations: 34.08 kB / 1.268 GB, free: 136.9 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0006064/0.8333, allocations: 412.6 kB / 1.268 GB, free: 136.7 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.38e-07/0.8333, allocations: 1.438 kB / 1.268 GB, free: 136.7 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001068/0.8344, allocations: 304.5 kB / 1.268 GB, free: 136.6 MB / 0.6511 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.001896/0.8363, allocations: 0.6212 MB / 1.269 GB, free: 136.3 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002668/0.839, allocations: 1.009 MB / 1.27 GB, free: 135.7 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.805e-06/0.839, allocations: 1.062 kB / 1.27 GB, free: 135.7 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001416/0.8405, allocations: 0.5297 MB / 1.27 GB, free: 135.4 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001203/0.8417, allocations: 210.2 kB / 1.271 GB, free: 135.3 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004794/0.8465, allocations: 2.118 MB / 1.273 GB, free: 134 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005782/0.8471, allocations: 1.012 MB / 1.274 GB, free: 133.1 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001531/0.8486, allocations: 260.9 kB / 1.274 GB, free: 133 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003904/0.8491, allocations: 92.38 kB / 1.274 GB, free: 132.9 MB / 0.6511 GB Notification: Performance of SimCode: time 2.234e-06/0.8491, allocations: 1.406 kB / 1.274 GB, free: 132.9 MB / 0.6511 GB Notification: Performance of Templates: time 0.02727/0.8763, allocations: 12.79 MB / 1.287 GB, free: 121.7 MB / 0.6511 GB