Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.586/1.586, allocations: 288.4 MB / 303.6 MB, free: 8.082 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001004/0.001004, allocations: 178.4 kB / 372.3 MB, free: 10.15 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.277/1.277, allocations: 205.4 MB / 0.631 GB, free: 9.941 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006921/0.0006924, allocations: 104.8 kB / 0.7444 GB, free: 5.836 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003485/0.0003486, allocations: 16.05 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1743/0.1747, allocations: 115.3 MB / 0.9802 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.0008157/0.1756, allocations: 286.3 kB / 0.9805 GB, free: 26.99 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001968/0.1758, allocations: 107.8 kB / 0.9806 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.324e-05/0.1758, allocations: 0 / 0.9806 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.016e-05/0.1759, allocations: 0 / 0.9806 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.357e-05/0.176, allocations: 0 / 0.9806 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001313/0.1761, allocations: 39.97 kB / 0.9806 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.691e-05/0.1762, allocations: 19.97 kB / 0.9806 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.68e-05/0.1762, allocations: 4 kB / 0.9806 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.494e-05/0.1763, allocations: 19.92 kB / 0.9807 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.455e-05/0.1763, allocations: 8 kB / 0.9807 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.052e-05/0.1763, allocations: 0 / 0.9807 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 3.804e-05/0.1764, allocations: 8 kB / 0.9807 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.027e-05/0.1764, allocations: 3.984 kB / 0.9807 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.402e-05/0.1764, allocations: 33.69 kB / 0.9807 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.509e-05/0.1765, allocations: 19.97 kB / 0.9807 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.1765, allocations: 4 kB / 0.9807 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.283e-06/0.1765, allocations: 0 / 0.9807 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.126e-06/0.1765, allocations: 0 / 0.9807 GB, free: 26.72 MB / 0.6198 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.0002303/0.1768, allocations: 345.3 kB / 0.9811 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.1768, allocations: 12.03 kB / 0.9811 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.316e-05/0.1768, allocations: 38.62 kB / 0.9811 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.797e-05/0.1769, allocations: 4.938 kB / 0.9811 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.623e-05/0.177, allocations: 168.3 kB / 0.9813 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.177, allocations: 4.375 kB / 0.9813 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.61e-05/0.177, allocations: 8.375 kB / 0.9813 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001147/0.1771, allocations: 50.23 kB / 0.9813 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.1771, allocations: 3.938 kB / 0.9813 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.1772, allocations: 4 kB / 0.9813 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.357e-06/0.1772, allocations: 0 / 0.9813 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.539e-05/0.1772, allocations: 15.98 kB / 0.9814 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001032/0.1773, allocations: 145.7 kB / 0.9815 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.102e-05/0.1774, allocations: 38.53 kB / 0.9815 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.001e-05/0.1774, allocations: 16.92 kB / 0.9816 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.414e-06/0.1774, allocations: 0 / 0.9816 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.736e-05/0.1775, allocations: 38.5 kB / 0.9816 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 9.41e-07/0.1775, allocations: 0 / 0.9816 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0002068/0.1777, allocations: 115.2 kB / 0.9817 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.975e-05/0.1777, allocations: 77.11 kB / 0.9818 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.958e-05/0.1778, allocations: 98.08 kB / 0.9819 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.598e-06/0.1778, allocations: 29.73 kB / 0.9819 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.354e-05/0.1778, allocations: 84.14 kB / 0.982 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.311e-05/0.1778, allocations: 4.219 kB / 0.982 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.921e-06/0.1778, allocations: 4 kB / 0.982 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.277e-05/0.1779, allocations: 314.8 kB / 0.9823 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.688e-05/0.1779, allocations: 8 kB / 0.9823 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.266e-05/0.178, allocations: 11.98 kB / 0.9823 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.395e-05/0.178, allocations: 84.33 kB / 0.9824 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.178, allocations: 0 / 0.9824 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000118/0.1782, allocations: 99.31 kB / 0.9825 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.068e-05/0.1782, allocations: 33.64 kB / 0.9825 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.1782, allocations: 4 kB / 0.9825 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.1782, allocations: 0 / 0.9825 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.323e-06/0.1782, allocations: 4 kB / 0.9825 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.1782, allocations: 0 / 0.9825 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001371/0.1784, allocations: 7.984 kB / 0.9825 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.342e-05/0.1784, allocations: 8 kB / 0.9825 GB, free: 24.61 MB / 0.6198 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 6.479e-05/0.1785, allocations: 147.5 kB / 0.9827 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.388e-05/0.1785, allocations: 11.84 kB / 0.9827 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.326e-06/0.1785, allocations: 3.125 kB / 0.9827 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.1785, allocations: 3.984 kB / 0.9827 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.1785, allocations: 4 kB / 0.9827 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.1785, allocations: 0 / 0.9827 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.897e-05/0.1786, allocations: 149.7 kB / 0.9828 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1786, allocations: 4 kB / 0.9828 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.31e-07/0.1786, allocations: 0 / 0.9828 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.1786, allocations: 7.938 kB / 0.9828 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.1786, allocations: 7.984 kB / 0.9829 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.1786, allocations: 0 / 0.9829 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1786, allocations: 0 / 0.9829 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001302/0.1788, allocations: 122.8 kB / 0.983 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.399e-05/0.1788, allocations: 81.11 kB / 0.9831 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.705e-05/0.1788, allocations: 3.938 kB / 0.9831 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.179, allocations: 8.031 kB / 0.9831 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.272e-05/0.179, allocations: 7.984 kB / 0.9831 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.864e-06/0.179, allocations: 4 kB / 0.9831 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.211e-05/0.179, allocations: 75.28 kB / 0.9831 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.01e-07/0.179, allocations: 3.938 kB / 0.9831 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002276/0.1793, allocations: 16 kB / 0.9832 GB, free: 23.85 MB / 0.6198 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.0003678/0.1796, allocations: 0.6714 MB / 0.9838 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001084/0.1798, allocations: 87.31 kB / 0.9839 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1798, allocations: 0 / 0.9839 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.865e-05/0.1798, allocations: 71.39 kB / 0.984 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001338/0.18, allocations: 8.156 kB / 0.984 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003107/0.1803, allocations: 140.3 kB / 0.9841 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.65e-05/0.1804, allocations: 0.6731 MB / 0.9848 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.008e-05/0.1804, allocations: 7.984 kB / 0.9848 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.277e-05/0.1805, allocations: 7.438 kB / 0.9848 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of SimCode: time 4.21e-07/0.1805, allocations: 0 / 0.9848 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4056/0.5861, allocations: 1.638 MB / 0.9864 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002222/0.5863, allocations: 220.2 kB / 0.9866 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.553/2.14, allocations: 64 / 0.9866 GB, free: 20.39 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1)