Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.515/1.515, allocations: 287.4 MB / 302.6 MB, free: 8.312 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.001007/0.001007, allocations: 178.3 kB / 371.1 MB, free: 10.82 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.319/1.319, allocations: 205.4 MB / 0.6298 GB, free: 10.55 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.0007399/0.0007398, allocations: 88.61 kB / 0.7431 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003477/0.0003479, allocations: 11.03 kB / 0.8662 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1803/0.1807, allocations: 115.3 MB / 0.9787 GB, free: 28.08 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.001532/0.1823, allocations: 1.19 MB / 0.9799 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001174/0.1835, allocations: 0.875 MB / 0.9808 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.997e-05/0.1836, allocations: 8 kB / 0.9808 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002087/0.1838, allocations: 39.81 kB / 0.9808 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.05e-05/0.1839, allocations: 15.86 kB / 0.9808 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005117/0.1844, allocations: 172.1 kB / 0.981 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.412e-05/0.1845, allocations: 43.73 kB / 0.981 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.699e-05/0.1846, allocations: 4 kB / 0.981 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.148e-05/0.1847, allocations: 19.86 kB / 0.981 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.286e-05/0.1847, allocations: 19.86 kB / 0.9811 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.321e-05/0.1847, allocations: 0 / 0.9811 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003295/0.1851, allocations: 139.8 kB / 0.9812 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.41e-05/0.1851, allocations: 7.922 kB / 0.9812 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.767e-05/0.1851, allocations: 29.7 kB / 0.9812 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001465/0.1853, allocations: 80.09 kB / 0.9813 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.184e-06/0.1853, allocations: 8 kB / 0.9813 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.964e-06/0.1853, allocations: 0 / 0.9813 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.1853, allocations: 0 / 0.9813 GB, free: 25.41 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003195/0.1856, allocations: 359.3 kB / 0.9817 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.092e-05/0.1857, allocations: 8.031 kB / 0.9817 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.791e-05/0.1857, allocations: 110 kB / 0.9818 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.719e-05/0.1858, allocations: 88.12 kB / 0.9819 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001903/0.186, allocations: 255.5 kB / 0.9821 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.354e-05/0.1861, allocations: 154.9 kB / 0.9822 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.056e-05/0.1861, allocations: 150.9 kB / 0.9824 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.448e-05/0.1862, allocations: 105.1 kB / 0.9825 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.492e-05/0.1862, allocations: 79.28 kB / 0.9826 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.988e-05/0.1863, allocations: 150.6 kB / 0.9827 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.153e-05/0.1863, allocations: 162.5 kB / 0.9829 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.048e-05/0.1864, allocations: 154.5 kB / 0.983 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003044/0.1867, allocations: 457.9 kB / 0.9834 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.006e-05/0.1868, allocations: 165.1 kB / 0.9836 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.525e-05/0.1868, allocations: 88.12 kB / 0.9837 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.594e-05/0.1869, allocations: 75.28 kB / 0.9838 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.088e-05/0.1869, allocations: 117.7 kB / 0.9839 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.563e-06/0.1869, allocations: 4 kB / 0.9839 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 0.0001007/0.187, allocations: 29.61 kB / 0.9839 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.027e-05/0.1871, allocations: 130.7 kB / 0.984 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001437/0.1872, allocations: 132.5 kB / 0.9842 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.706e-06/0.1872, allocations: 29.7 kB / 0.9842 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.672e-05/0.1873, allocations: 96.11 kB / 0.9843 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.945e-06/0.1873, allocations: 0 / 0.9843 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.366e-06/0.1873, allocations: 4 kB / 0.9843 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.447e-05/0.1874, allocations: 314.8 kB / 0.9846 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.36e-05/0.1874, allocations: 4 kB / 0.9846 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.516e-05/0.1874, allocations: 0 / 0.9846 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.508e-05/0.1875, allocations: 24.78 kB / 0.9846 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1875, allocations: 4.031 kB / 0.9846 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001297/0.1876, allocations: 49.55 kB / 0.9847 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.1876, allocations: 4 kB / 0.9847 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.917e-05/0.1877, allocations: 3.984 kB / 0.9847 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.122e-05/0.1877, allocations: 3.938 kB / 0.9847 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.353e-06/0.1877, allocations: 4 kB / 0.9847 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.888e-06/0.1877, allocations: 3.984 kB / 0.9847 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.428e-05/0.1878, allocations: 7.844 kB / 0.9847 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.225e-05/0.1878, allocations: 4 kB / 0.9847 GB, free: 21.72 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: 0 * Record equations: 1 * 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 0.0001074/0.1879, allocations: 189.2 kB / 0.9849 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.121e-05/0.188, allocations: 108.9 kB / 0.985 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.482e-05/0.188, allocations: 112.9 kB / 0.9851 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.38e-05/0.1881, allocations: 180.2 kB / 0.9853 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.668e-05/0.1881, allocations: 180.2 kB / 0.9854 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.843e-05/0.1881, allocations: 184.3 kB / 0.9856 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000161/0.1883, allocations: 417.2 kB / 0.986 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.346e-05/0.1883, allocations: 108.9 kB / 0.9861 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.563e-05/0.1884, allocations: 113 kB / 0.9862 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-05/0.1884, allocations: 176.3 kB / 0.9864 GB, free: 19.87 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.964e-05/0.1884, allocations: 176.3 kB / 0.9865 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.24e-05/0.1885, allocations: 188.2 kB / 0.9867 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.815e-05/0.1885, allocations: 180.3 kB / 0.9869 GB, free: 19.31 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.094e-05/0.1886, allocations: 307.7 kB / 0.9872 GB, free: 18.99 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.683e-05/0.1886, allocations: 193.9 kB / 0.9874 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.618e-05/0.1887, allocations: 184.2 kB / 0.9876 GB, free: 18.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.993e-05/0.1888, allocations: 109 kB / 0.9877 GB, free: 18.47 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.154e-05/0.1888, allocations: 184.2 kB / 0.9878 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.456e-05/0.1888, allocations: 101 kB / 0.9879 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.597e-05/0.1889, allocations: 99.27 kB / 0.988 GB, free: 18.08 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1889, allocations: 0 / 0.988 GB, free: 18.08 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002934/0.1892, allocations: 35.98 kB / 0.9881 GB, free: 18.05 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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.0004177/0.1896, allocations: 0.8553 MB / 0.9889 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 9.907e-05/0.1897, allocations: 33.7 kB / 0.9889 GB, free: 17.12 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1897, allocations: 0 / 0.9889 GB, free: 17.12 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.783e-06/0.1897, allocations: 0 / 0.9889 GB, free: 17.12 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003556/0.1901, allocations: 0.5342 MB / 0.9894 GB, free: 16.59 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006888/0.1908, allocations: 0.56 MB / 0.99 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000137/0.1909, allocations: 0.6809 MB / 0.9907 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.391e-05/0.191, allocations: 3.984 kB / 0.9907 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.138e-05/0.191, allocations: 15.44 kB / 0.9907 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of SimCode: time 4.41e-07/0.191, allocations: 0 / 0.9907 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03661/0.2276, allocations: 2.473 MB / 0.9931 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001393/0.2278, allocations: 229.2 kB / 0.9933 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.863/2.091, allocations: 0 / 0.9933 GB, free: 12.75 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.fmu > Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1)