Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.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.CHPs.BaseClasses.Validation.EnergyConversionNormal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.805/1.805, allocations: 306.1 MB / 321.4 MB, free: 10.75 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.001253/0.001253, allocations: 179.5 kB / 393.1 MB, free: 4.066 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.57/1.57, allocations: 225.7 MB / 0.6743 GB, free: 12.59 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.0008944/0.0008945, allocations: 92.72 kB / 0.7935 GB, free: 40.08 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003862/0.0003863, allocations: 16.73 kB / 0.9224 GB, free: 8.637 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.583/0.5834, allocations: 121.3 MB / 1.041 GB, free: 58.42 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.002148/0.5856, allocations: 1.901 MB / 1.043 GB, free: 57.09 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001365/0.587, allocations: 1.211 MB / 1.044 GB, free: 56.09 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.499e-05/0.5871, allocations: 2.156 kB / 1.044 GB, free: 56.09 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005116/0.5876, allocations: 183.9 kB / 1.044 GB, free: 56.01 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001029/0.5877, allocations: 54.66 kB / 1.044 GB, free: 55.98 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002636/0.588, allocations: 95.3 kB / 1.044 GB, free: 55.94 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001949/0.5882, allocations: 213.7 kB / 1.044 GB, free: 55.84 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001606/0.5884, allocations: 86.38 kB / 1.045 GB, free: 55.8 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 9.52e-05/0.5885, allocations: 71.27 kB / 1.045 GB, free: 55.77 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 9.647e-05/0.5886, allocations: 96.7 kB / 1.045 GB, free: 55.71 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.158e-05/0.5886, allocations: 6 kB / 1.045 GB, free: 55.71 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002412/0.5888, allocations: 139.4 kB / 1.045 GB, free: 55.68 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001451/0.589, allocations: 196.7 kB / 1.045 GB, free: 55.62 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001501/0.5891, allocations: 273.8 kB / 1.045 GB, free: 55.41 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0006167/0.5898, allocations: 0.6833 MB / 1.046 GB, free: 55.17 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.5898, allocations: 0.8438 kB / 1.046 GB, free: 55.17 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.413e-06/0.5898, allocations: 0 / 1.046 GB, free: 55.17 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.625e-06/0.5898, allocations: 0.7188 kB / 1.046 GB, free: 55.17 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.000945/0.5908, allocations: 0.8736 MB / 1.047 GB, free: 54.45 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.5908, allocations: 9.375 kB / 1.047 GB, free: 54.45 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004514/0.5913, allocations: 118.7 kB / 1.047 GB, free: 54.41 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005831/0.5919, allocations: 0.59 MB / 1.047 GB, free: 54 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.5919, allocations: 13.81 kB / 1.048 GB, free: 53.99 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.425e-05/0.5919, allocations: 14.44 kB / 1.048 GB, free: 53.99 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003392/0.5923, allocations: 189.6 kB / 1.048 GB, free: 53.91 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.5923, allocations: 1.5 kB / 1.048 GB, free: 53.91 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.5923, allocations: 10.5 kB / 1.048 GB, free: 53.9 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.5923, allocations: 2.031 kB / 1.048 GB, free: 53.9 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003809/0.5927, allocations: 229.2 kB / 1.048 GB, free: 53.84 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001036/0.5937, allocations: 0.9237 MB / 1.049 GB, free: 53.33 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005837/0.5943, allocations: 313.6 kB / 1.049 GB, free: 53.23 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001817/0.5945, allocations: 113.4 kB / 1.049 GB, free: 53.19 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008002/0.5953, allocations: 403.2 kB / 1.05 GB, free: 53.05 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.469e-05/0.5954, allocations: 37.66 kB / 1.05 GB, free: 53 MB / 0.698 GB Notification: Performance of pre-optimization done (n=9): time 1.122e-06/0.5954, allocations: 0 / 1.05 GB, free: 53 MB / 0.698 GB Notification: Performance of matching and sorting (n=9): time 0.0006972/0.5961, allocations: 400.3 kB / 1.05 GB, free: 52.86 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.07e-05/0.5961, allocations: 52.5 kB / 1.05 GB, free: 52.79 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001013/0.5971, allocations: 0.993 MB / 1.051 GB, free: 52.42 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.517e-05/0.5971, allocations: 25.7 kB / 1.051 GB, free: 52.39 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.00021/0.5974, allocations: 345.6 kB / 1.051 GB, free: 52.11 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.924e-05/0.5974, allocations: 29.81 kB / 1.051 GB, free: 52.09 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.854e-06/0.5974, allocations: 4 kB / 1.051 GB, free: 52.08 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 3.963e-05/0.5974, allocations: 311.6 kB / 1.052 GB, free: 51.78 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001706/0.5976, allocations: 94.02 kB / 1.052 GB, free: 51.75 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001773/0.5978, allocations: 125.2 kB / 1.052 GB, free: 51.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003337/0.5981, allocations: 212.4 kB / 1.052 GB, free: 51.62 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.5982, allocations: 1.094 kB / 1.052 GB, free: 51.62 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004714/0.5986, allocations: 319.3 kB / 1.052 GB, free: 51.49 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.5987, allocations: 12.28 kB / 1.052 GB, free: 51.48 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.5987, allocations: 3.938 kB / 1.052 GB, free: 51.48 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.5987, allocations: 1.875 kB / 1.052 GB, free: 51.48 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001512/0.5988, allocations: 34.03 kB / 1.053 GB, free: 51.47 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.5989, allocations: 2.656 kB / 1.053 GB, free: 51.47 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001441/0.599, allocations: 14.5 kB / 1.053 GB, free: 51.46 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.247e-05/0.599, allocations: 3.938 kB / 1.053 GB, free: 51.46 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001841/0.5992, allocations: 253.8 kB / 1.053 GB, free: 51.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.348e-05/0.5993, allocations: 76.59 kB / 1.053 GB, free: 51.25 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005223/0.5998, allocations: 331.7 kB / 1.053 GB, free: 51.12 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.5998, allocations: 0 / 1.053 GB, free: 51.12 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.768e-06/0.5998, allocations: 0 / 1.053 GB, free: 51.12 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.5998, allocations: 3.938 kB / 1.053 GB, free: 51.12 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004226/0.6003, allocations: 0.5313 MB / 1.054 GB, free: 50.81 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.6003, allocations: 3.938 kB / 1.054 GB, free: 50.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001375/0.6004, allocations: 22.66 kB / 1.054 GB, free: 50.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.6004, allocations: 0 / 1.054 GB, free: 50.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.6005, allocations: 6.875 kB / 1.054 GB, free: 50.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.6005, allocations: 0 / 1.054 GB, free: 50.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.562e-06/0.6005, allocations: 1.094 kB / 1.054 GB, free: 50.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004353/0.6009, allocations: 400.1 kB / 1.054 GB, free: 50.57 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000145/0.6011, allocations: 188.6 kB / 1.054 GB, free: 50.41 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.939e-05/0.6011, allocations: 1.062 kB / 1.054 GB, free: 50.41 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001622/0.6013, allocations: 7.125 kB / 1.054 GB, free: 50.41 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.287e-05/0.6013, allocations: 9.406 kB / 1.054 GB, free: 50.41 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/0.6013, allocations: 5.297 kB / 1.054 GB, free: 50.41 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006876/0.602, allocations: 0.7091 MB / 1.055 GB, free: 50.14 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.21e-07/0.602, allocations: 0 / 1.055 GB, free: 50.14 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003315/0.6024, allocations: 66.75 kB / 1.055 GB, free: 50.13 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001545/0.6025, allocations: 123.7 kB / 1.055 GB, free: 50.03 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003953/0.6029, allocations: 219.2 kB / 1.055 GB, free: 49.97 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.603, allocations: 0 / 1.055 GB, free: 49.97 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001823/0.6031, allocations: 112.7 kB / 1.055 GB, free: 49.94 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003682/0.6035, allocations: 49.02 kB / 1.056 GB, free: 49.91 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001279/0.6048, allocations: 1.357 MB / 1.057 GB, free: 49.16 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003486/0.6052, allocations: 0.9465 MB / 1.058 GB, free: 48.43 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002288/0.6054, allocations: 79.92 kB / 1.058 GB, free: 48.41 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.702e-05/0.6055, allocations: 33.8 kB / 1.058 GB, free: 48.4 MB / 0.698 GB Notification: Performance of SimCode: time 2.4e-07/0.6055, allocations: 0 / 1.058 GB, free: 48.4 MB / 0.698 GB Notification: Performance of Templates: time 0.008769/0.6143, allocations: 4.135 MB / 1.062 GB, free: 48.15 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.makefile (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1)