Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.617/1.617, allocations: 291.7 MB / 306.8 MB, free: 7.656 MB / 234.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.001029/0.00103, allocations: 185.4 kB / 375.4 MB, free: 5.074 MB / 298.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.411/1.411, allocations: 225.7 MB / 0.6538 GB, free: 13.61 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008266/0.0008264, allocations: 98.27 kB / 0.7699 GB, free: 50.21 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003792/0.0003793, allocations: 8 kB / 0.8956 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6357/0.6361, allocations: 118.1 MB / 1.011 GB, free: 57.48 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.001054/0.6373, allocations: 290.8 kB / 1.011 GB, free: 57.47 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.000352/0.6377, allocations: 97.33 kB / 1.011 GB, free: 57.46 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.951e-05/0.6377, allocations: 0 / 1.011 GB, free: 57.46 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001152/0.6379, allocations: 9.922 kB / 1.011 GB, free: 57.46 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.554e-05/0.6379, allocations: 0 / 1.011 GB, free: 57.46 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002483/0.6382, allocations: 36.08 kB / 1.011 GB, free: 57.46 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 7.533e-05/0.6383, allocations: 15.22 kB / 1.011 GB, free: 57.46 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 5.416e-05/0.6384, allocations: 4.672 kB / 1.011 GB, free: 57.46 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.893e-05/0.6384, allocations: 17.72 kB / 1.011 GB, free: 57.46 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 6.611e-05/0.6385, allocations: 12.95 kB / 1.011 GB, free: 57.46 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.542e-05/0.6385, allocations: 0 / 1.011 GB, free: 57.46 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 6.124e-05/0.6386, allocations: 10.44 kB / 1.011 GB, free: 57.46 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.186e-05/0.6386, allocations: 3.922 kB / 1.011 GB, free: 57.46 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.861e-05/0.6387, allocations: 32.17 kB / 1.011 GB, free: 57.43 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 9.474e-05/0.6388, allocations: 16.69 kB / 1.011 GB, free: 57.43 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.6388, allocations: 0 / 1.011 GB, free: 57.43 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.517e-06/0.6388, allocations: 0 / 1.011 GB, free: 57.43 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.05e-06/0.6388, allocations: 3.062 kB / 1.011 GB, free: 57.43 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002926/0.6391, allocations: 346.2 kB / 1.012 GB, free: 57.05 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.6392, allocations: 9.812 kB / 1.012 GB, free: 57.05 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.337e-05/0.6393, allocations: 6.312 kB / 1.012 GB, free: 57.05 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.6394, allocations: 167.4 kB / 1.012 GB, free: 56.85 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.201e-05/0.6395, allocations: 6.281 kB / 1.012 GB, free: 56.85 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.114e-05/0.6395, allocations: 3.406 kB / 1.012 GB, free: 56.85 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001619/0.6397, allocations: 51.53 kB / 1.012 GB, free: 56.82 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.6397, allocations: 192 / 1.012 GB, free: 56.82 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.137e-05/0.6397, allocations: 7.031 kB / 1.012 GB, free: 56.81 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.249e-06/0.6398, allocations: 3.062 kB / 1.012 GB, free: 56.81 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.656e-05/0.6398, allocations: 15.22 kB / 1.012 GB, free: 56.81 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001375/0.64, allocations: 150.8 kB / 1.012 GB, free: 56.62 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.638e-05/0.6401, allocations: 34.08 kB / 1.012 GB, free: 56.6 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.659e-05/0.6402, allocations: 19.33 kB / 1.012 GB, free: 56.59 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 6.833e-06/0.6402, allocations: 2.844 kB / 1.012 GB, free: 56.59 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.896e-05/0.6402, allocations: 31.44 kB / 1.012 GB, free: 56.55 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 2.194e-06/0.6402, allocations: 1.281 kB / 1.012 GB, free: 56.55 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.0003402/0.6406, allocations: 107.3 kB / 1.012 GB, free: 56.48 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.98e-05/0.6406, allocations: 84.39 kB / 1.012 GB, free: 56.39 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.265e-05/0.6407, allocations: 100.9 kB / 1.013 GB, free: 56.29 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.6408, allocations: 25.7 kB / 1.013 GB, free: 56.26 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.243e-05/0.6408, allocations: 86.84 kB / 1.013 GB, free: 56.18 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.976e-05/0.6408, allocations: 0 / 1.013 GB, free: 56.18 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.283e-05/0.6409, allocations: 4.219 kB / 1.013 GB, free: 56.18 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 5.618e-05/0.6409, allocations: 320 kB / 1.013 GB, free: 55.86 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.072e-05/0.641, allocations: 11.16 kB / 1.013 GB, free: 55.86 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.055e-05/0.6411, allocations: 18.73 kB / 1.013 GB, free: 55.86 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001005/0.6412, allocations: 74.86 kB / 1.013 GB, free: 55.79 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.6412, allocations: 0 / 1.013 GB, free: 55.79 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001894/0.6414, allocations: 92.92 kB / 1.013 GB, free: 55.73 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.828e-05/0.6415, allocations: 35.77 kB / 1.013 GB, free: 55.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.6415, allocations: 7.391 kB / 1.013 GB, free: 55.69 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.6415, allocations: 2.062 kB / 1.013 GB, free: 55.69 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.453e-06/0.6415, allocations: 1.5 kB / 1.013 GB, free: 55.69 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.6415, allocations: 0.625 kB / 1.013 GB, free: 55.69 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001977/0.6417, allocations: 8.922 kB / 1.013 GB, free: 55.69 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.717e-05/0.6418, allocations: 11.38 kB / 1.013 GB, free: 55.68 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.781e-05/0.6419, allocations: 142.8 kB / 1.013 GB, free: 55.54 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.989e-05/0.6419, allocations: 4.469 kB / 1.013 GB, free: 55.54 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.391e-05/0.6419, allocations: 11.98 kB / 1.013 GB, free: 55.53 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.6419, allocations: 6.703 kB / 1.013 GB, free: 55.53 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.6419, allocations: 1.219 kB / 1.013 GB, free: 55.53 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.6419, allocations: 0 / 1.013 GB, free: 55.53 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.715e-05/0.642, allocations: 154.6 kB / 1.014 GB, free: 55.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.6421, allocations: 1.844 kB / 1.014 GB, free: 55.34 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.042e-06/0.6421, allocations: 0 / 1.014 GB, free: 55.34 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.6421, allocations: 0 / 1.014 GB, free: 55.34 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.964e-05/0.6421, allocations: 11.47 kB / 1.014 GB, free: 55.34 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.6421, allocations: 0 / 1.014 GB, free: 55.34 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.6421, allocations: 4.375 kB / 1.014 GB, free: 55.34 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001884/0.6423, allocations: 123.6 kB / 1.014 GB, free: 55.24 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.727e-05/0.6424, allocations: 81.19 kB / 1.014 GB, free: 55.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.277e-05/0.6424, allocations: 7.312 kB / 1.014 GB, free: 55.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001455/0.6426, allocations: 4.125 kB / 1.014 GB, free: 55.14 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.627e-05/0.6426, allocations: 7.594 kB / 1.014 GB, free: 55.14 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.369e-05/0.6426, allocations: 7.938 kB / 1.014 GB, free: 55.14 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.285e-05/0.6427, allocations: 79.03 kB / 1.014 GB, free: 55.06 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.4e-07/0.6427, allocations: 1.719 kB / 1.014 GB, free: 55.06 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003334/0.643, allocations: 10.97 kB / 1.014 GB, free: 55.06 MB / 0.7136 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002592/0.6433, allocations: 123.6 kB / 1.014 GB, free: 54.97 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001734/0.6435, allocations: 80.25 kB / 1.014 GB, free: 54.91 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.6435, allocations: 3.812 kB / 1.014 GB, free: 54.91 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.867e-05/0.6436, allocations: 71.72 kB / 1.014 GB, free: 54.85 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002263/0.6438, allocations: 2.562 kB / 1.014 GB, free: 54.85 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003387/0.6442, allocations: 112.4 kB / 1.014 GB, free: 54.75 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001004/0.6443, allocations: 0.6744 MB / 1.015 GB, free: 54.05 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 7.955e-05/0.6444, allocations: 10.34 kB / 1.015 GB, free: 54.05 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.199e-05/0.6444, allocations: 7.438 kB / 1.015 GB, free: 54.04 MB / 0.7136 GB Notification: Performance of SimCode: time 3.61e-07/0.6444, allocations: 0.7812 kB / 1.015 GB, free: 54.04 MB / 0.7136 GB Notification: Performance of Templates: time 0.00453/0.6489, allocations: 1.018 MB / 1.016 GB, free: 54 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.sim & ./Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1)