Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") translateModel(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.836/1.836, allocations: 306.1 MB / 321.4 MB, free: 10.76 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001131/0.001131, allocations: 168.5 kB / 393.1 MB, free: 4.102 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.353/1.353, allocations: 225.7 MB / 0.6743 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009013/0.0009014, allocations: 95.95 kB / 0.7935 GB, free: 40.08 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003423/0.0003425, allocations: 8 kB / 0.9224 GB, free: 8.699 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.595/0.5953, allocations: 121.3 MB / 1.041 GB, free: 58.44 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.004325/0.5997, allocations: 3.83 MB / 1.045 GB, free: 55.76 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.143/0.7427, allocations: 140.8 MB / 1.182 GB, free: 0.5859 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006027/0.7434, allocations: 19.88 kB / 1.182 GB, free: 0.5664 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005968/0.744, allocations: 166.4 kB / 1.182 GB, free: 452 kB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001373/0.7454, allocations: 460 kB / 1.183 GB, free: 56 kB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001832/0.7472, allocations: 0.7136 MB / 1.183 GB, free: 15.47 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.001318/0.7485, allocations: 1.144 MB / 1.185 GB, free: 14.45 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008743/0.7494, allocations: 0.6019 MB / 1.185 GB, free: 13.88 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004673/0.7499, allocations: 312.4 kB / 1.185 GB, free: 13.6 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004682/0.7504, allocations: 355.2 kB / 1.186 GB, free: 13.31 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 8.183e-05/0.7505, allocations: 20 kB / 1.186 GB, free: 13.29 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008012/0.7513, allocations: 363.5 kB / 1.186 GB, free: 12.99 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0002053/0.7515, allocations: 170 kB / 1.186 GB, free: 12.85 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0003986/0.7519, allocations: 444 kB / 1.187 GB, free: 12.43 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.001683/0.7536, allocations: 1.433 MB / 1.188 GB, free: 11.54 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.7536, allocations: 0 / 1.188 GB, free: 11.54 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.503e-06/0.7536, allocations: 0 / 1.188 GB, free: 11.54 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.523e-05/0.7536, allocations: 0 / 1.188 GB, free: 11.54 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 204 * Number of variables: 204 Notification: Performance of Generate backend data structure: time 0.002094/0.7557, allocations: 1.191 MB / 1.189 GB, free: 10.43 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/0.7558, allocations: 8.031 kB / 1.189 GB, free: 10.42 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000951/0.7568, allocations: 194.1 kB / 1.189 GB, free: 10.26 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001123/0.7579, allocations: 0.7415 MB / 1.19 GB, free: 9.594 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.319e-05/0.758, allocations: 66 kB / 1.19 GB, free: 9.527 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001068/0.7581, allocations: 76.61 kB / 1.19 GB, free: 9.453 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001694/0.7598, allocations: 0.8798 MB / 1.191 GB, free: 8.691 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.771e-05/0.7598, allocations: 4 kB / 1.191 GB, free: 8.688 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.367e-05/0.7599, allocations: 35.94 kB / 1.191 GB, free: 8.652 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.961e-05/0.7599, allocations: 20 kB / 1.191 GB, free: 8.633 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001932/0.7619, allocations: 1.089 MB / 1.192 GB, free: 7.812 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004166/0.7661, allocations: 2.49 MB / 1.195 GB, free: 5.746 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001392/0.7675, allocations: 0.7435 MB / 1.195 GB, free: 5.078 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005495/0.768, allocations: 297.5 kB / 1.196 GB, free: 4.82 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001915/0.7682, allocations: 109.8 kB / 1.196 GB, free: 4.703 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008802/0.7691, allocations: 450.1 kB / 1.196 GB, free: 4.336 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=73): time 4.167e-06/0.7691, allocations: 0 / 1.196 GB, free: 4.336 MB / 0.7605 GB Notification: Performance of matching and sorting (n=73): time 0.003244/0.7724, allocations: 1.136 MB / 1.197 GB, free: 3.312 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001068/0.7725, allocations: 189.9 kB / 1.198 GB, free: 3.086 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009176/0.7734, allocations: 0.6433 MB / 1.198 GB, free: 2.523 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 6.508e-05/0.7735, allocations: 37.7 kB / 1.198 GB, free: 2.48 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003783/0.7739, allocations: 395.4 kB / 1.199 GB, free: 2.125 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002392/0.7741, allocations: 249.2 kB / 1.199 GB, free: 1.898 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.857e-05/0.7742, allocations: 12 kB / 1.199 GB, free: 1.887 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002379/0.7744, allocations: 391.3 kB / 1.199 GB, free: 1.52 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005464/0.775, allocations: 257.8 kB / 1.199 GB, free: 1.301 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005997/0.7756, allocations: 343 kB / 1.2 GB, free: 0.9961 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001117/0.7767, allocations: 0.5908 MB / 1.2 GB, free: 452 kB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.7767, allocations: 0 / 1.2 GB, free: 452 kB / 0.7605 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001944/0.7787, allocations: 0.8091 MB / 1.201 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.8e-05/0.7787, allocations: 8 kB / 1.201 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.7787, allocations: 0 / 1.201 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006024/0.7793, allocations: 86.92 kB / 1.201 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006532/0.78, allocations: 156 kB / 1.201 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0021/0.7821, allocations: 1.532 MB / 1.203 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006907/0.7828, allocations: 89.28 kB / 1.203 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.143e-05/0.7829, allocations: 34.33 kB / 1.203 GB, free: 13.8 MB / 0.7761 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.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004671/0.7834, allocations: 262.7 kB / 1.203 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001118/0.7835, allocations: 79.58 kB / 1.203 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002437/0.786, allocations: 1.022 MB / 1.204 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/0.786, allocations: 11.94 kB / 1.204 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.806e-06/0.786, allocations: 0 / 1.204 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.152e-05/0.786, allocations: 4.172 kB / 1.204 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001173/0.7872, allocations: 0.8745 MB / 1.205 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.7872, allocations: 0 / 1.205 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006094/0.7878, allocations: 144.9 kB / 1.205 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005317/0.7884, allocations: 83.17 kB / 1.205 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.749e-05/0.7884, allocations: 23.98 kB / 1.205 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001992/0.7904, allocations: 1.565 MB / 1.207 GB, free: 10.01 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.7904, allocations: 0.8906 kB / 1.207 GB, free: 10.01 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001966/0.7924, allocations: 0.8787 MB / 1.208 GB, free: 9.207 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00042/0.7928, allocations: 277.5 kB / 1.208 GB, free: 8.957 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001186/0.793, allocations: 24.66 kB / 1.208 GB, free: 8.934 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005565/0.7935, allocations: 71.47 kB / 1.208 GB, free: 8.879 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001557/0.7937, allocations: 63.64 kB / 1.208 GB, free: 8.84 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.722e-05/0.7938, allocations: 29.06 kB / 1.208 GB, free: 8.816 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0006445/0.7944, allocations: 451.8 kB / 1.209 GB, free: 8.445 MB / 0.7761 GB Notification: Performance of sort global known variables: time 2.41e-07/0.7944, allocations: 0 / 1.209 GB, free: 8.445 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0008679/0.7953, allocations: 302.1 kB / 1.209 GB, free: 8.156 MB / 0.7761 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001431/0.7968, allocations: 0.6857 MB / 1.21 GB, free: 7.664 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001857/0.7986, allocations: 0.7807 MB / 1.21 GB, free: 6.953 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.7986, allocations: 0 / 1.21 GB, free: 6.953 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0009602/0.7996, allocations: 0.4979 MB / 1.211 GB, free: 6.496 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001206/0.8008, allocations: 281.5 kB / 1.211 GB, free: 6.281 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004443/0.8053, allocations: 2.241 MB / 1.213 GB, free: 4.203 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007306/0.806, allocations: 1.015 MB / 1.214 GB, free: 3.164 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0009447/0.807, allocations: 258.2 kB / 1.215 GB, free: 2.906 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002573/0.8073, allocations: 99.39 kB / 1.215 GB, free: 2.809 MB / 0.7761 GB Notification: Performance of SimCode: time 9.22e-07/0.8073, allocations: 0 / 1.215 GB, free: 2.809 MB / 0.7761 GB Notification: Performance of Templates: time 0.02469/0.832, allocations: 13.65 MB / 1.228 GB, free: 5.293 MB / 0.7917 GB make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.makefile (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1)