Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009675/0.0009675, allocations: 96.27 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 176.9 kB / 16.57 MB, free: 6.859 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 223.2 MB / 240.5 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6952/0.6952, allocations: 113.7 MB / 405.3 MB, free: 4.688 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003546/0.0003547, allocations: 8 kB / 493 MB, free: 8.547 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1751/0.1755, allocations: 77.12 MB / 0.5568 GB, free: 11.63 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.001492/0.177, allocations: 1.113 MB / 0.5579 GB, free: 10.51 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00402/0.1811, allocations: 2.579 MB / 0.5604 GB, free: 7.922 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.194e-05/0.1812, allocations: 0 / 0.5604 GB, free: 7.922 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.456e-05/0.1812, allocations: 3.938 kB / 0.5604 GB, free: 7.918 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.233e-05/0.1813, allocations: 15.97 kB / 0.5604 GB, free: 7.902 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003952/0.1853, allocations: 1.228 MB / 0.5616 GB, free: 6.703 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 8.95e-05/0.1854, allocations: 43.86 kB / 0.5616 GB, free: 6.66 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.738e-05/0.1854, allocations: 8 kB / 0.5617 GB, free: 6.652 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.833e-05/0.1855, allocations: 15.88 kB / 0.5617 GB, free: 6.637 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.123e-05/0.1855, allocations: 15.94 kB / 0.5617 GB, free: 6.621 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.043e-05/0.1855, allocations: 0 / 0.5617 GB, free: 6.621 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001905/0.1874, allocations: 1.19 MB / 0.5628 GB, free: 5.43 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.169e-05/0.1874, allocations: 8 kB / 0.5629 GB, free: 5.422 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.45e-05/0.1875, allocations: 37.64 kB / 0.5629 GB, free: 5.379 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001046/0.1885, allocations: 0.7216 MB / 0.5636 GB, free: 4.656 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.1886, allocations: 0 / 0.5636 GB, free: 4.656 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1886, allocations: 3.938 kB / 0.5636 GB, free: 4.652 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.618e-06/0.1886, allocations: 0 / 0.5636 GB, free: 4.652 MB / 430.1 MB 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.0006755/0.1893, allocations: 0.5105 MB / 0.5641 GB, free: 4.094 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/0.1893, allocations: 11.98 kB / 0.5641 GB, free: 4.082 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.196e-05/0.1894, allocations: 105.8 kB / 0.5642 GB, free: 3.969 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.532e-05/0.1895, allocations: 87.19 kB / 0.5643 GB, free: 3.883 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001667/0.1896, allocations: 250.3 kB / 0.5645 GB, free: 3.598 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.984e-05/0.1897, allocations: 150.6 kB / 0.5647 GB, free: 3.449 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.761e-05/0.1898, allocations: 150.6 kB / 0.5648 GB, free: 3.301 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.888e-05/0.1899, allocations: 108.9 kB / 0.5649 GB, free: 3.188 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.156e-05/0.1899, allocations: 75.28 kB / 0.565 GB, free: 3.113 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.786e-05/0.19, allocations: 158.6 kB / 0.5651 GB, free: 2.957 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.119e-05/0.1901, allocations: 150.6 kB / 0.5653 GB, free: 2.809 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.997e-05/0.1901, allocations: 150.6 kB / 0.5654 GB, free: 2.66 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003251/0.1905, allocations: 465.8 kB / 0.5659 GB, free: 2.156 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.853e-05/0.1906, allocations: 181 kB / 0.5661 GB, free: 1.969 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.717e-05/0.1906, allocations: 75.28 kB / 0.5661 GB, free: 1.895 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.517e-05/0.1906, allocations: 109.8 kB / 0.5662 GB, free: 1.777 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.1906, allocations: 0 / 0.5662 GB, free: 1.777 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 7.647e-05/0.1907, allocations: 29.7 kB / 0.5663 GB, free: 1.742 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.206e-05/0.1908, allocations: 126.7 kB / 0.5664 GB, free: 1.605 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001419/0.1909, allocations: 144.2 kB / 0.5665 GB, free: 1.457 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.191, allocations: 33.69 kB / 0.5665 GB, free: 1.418 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.748e-05/0.191, allocations: 88.08 kB / 0.5666 GB, free: 1.328 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.545e-06/0.191, allocations: 0 / 0.5666 GB, free: 1.328 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.625e-06/0.191, allocations: 0 / 0.5666 GB, free: 1.328 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.1912, allocations: 322.8 kB / 0.5669 GB, free: 1.004 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.696e-05/0.1912, allocations: 8 kB / 0.5669 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.428e-05/0.1912, allocations: 4 kB / 0.5669 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.688e-05/0.1913, allocations: 4 kB / 0.567 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1913, allocations: 0 / 0.567 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001363/0.1914, allocations: 57.59 kB / 0.567 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.1914, allocations: 8 kB / 0.567 GB, free: 0.918 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.147e-05/0.1915, allocations: 0 / 0.567 GB, free: 0.918 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.1915, allocations: 7.984 kB / 0.567 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.473e-06/0.1915, allocations: 0 / 0.567 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.1915, allocations: 0 / 0.567 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.171e-05/0.1915, allocations: 0 / 0.567 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.1915, allocations: 3.984 kB / 0.567 GB, free: 0.9062 MB / 430.1 MB 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.0001084/0.1917, allocations: 189.1 kB / 0.5672 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.013e-05/0.1917, allocations: 112.9 kB / 0.5673 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.989e-05/0.1918, allocations: 116.6 kB / 0.5674 GB, free: 480 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.917e-05/0.1919, allocations: 188.1 kB / 0.5676 GB, free: 284 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-05/0.1919, allocations: 176.3 kB / 0.5678 GB, free: 100 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.391e-05/0.192, allocations: 180.3 kB / 0.5679 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000226/0.1922, allocations: 413.2 kB / 0.5683 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-05/0.1923, allocations: 113 kB / 0.5684 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.512e-05/0.1923, allocations: 109 kB / 0.5686 GB, free: 15.22 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.515e-05/0.1924, allocations: 180.3 kB / 0.5687 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.684e-05/0.1925, allocations: 184.2 kB / 0.5689 GB, free: 14.85 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.949e-05/0.1925, allocations: 180.3 kB / 0.5691 GB, free: 14.67 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.104e-05/0.1926, allocations: 180.5 kB / 0.5692 GB, free: 14.48 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001464/0.1927, allocations: 311.8 kB / 0.5695 GB, free: 14.16 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.528e-05/0.1928, allocations: 193.9 kB / 0.5697 GB, free: 13.94 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.168e-05/0.1929, allocations: 176.3 kB / 0.5699 GB, free: 13.76 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.088e-05/0.193, allocations: 112.9 kB / 0.57 GB, free: 13.64 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.3e-05/0.1931, allocations: 188.2 kB / 0.5702 GB, free: 13.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.264e-05/0.1931, allocations: 101 kB / 0.5703 GB, free: 13.35 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.512e-05/0.1932, allocations: 95.27 kB / 0.5704 GB, free: 13.25 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1932, allocations: 0 / 0.5704 GB, free: 13.25 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007959/0.194, allocations: 283.8 kB / 0.5706 GB, free: 12.98 MB / 446.1 MB 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.001264/0.1952, allocations: 1.136 MB / 0.5717 GB, free: 11.82 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001056/0.1953, allocations: 45.62 kB / 0.5718 GB, free: 11.77 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.1954, allocations: 0 / 0.5718 GB, free: 11.77 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.704e-06/0.1954, allocations: 0 / 0.5718 GB, free: 11.77 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003676/0.1957, allocations: 0.5303 MB / 0.5723 GB, free: 11.23 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007034/0.1965, allocations: 0.5561 MB / 0.5729 GB, free: 10.63 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002658/0.1967, allocations: 0.6848 MB / 0.5735 GB, free: 9.918 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.903e-05/0.1968, allocations: 0 / 0.5735 GB, free: 9.918 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.32e-05/0.1968, allocations: 21.33 kB / 0.5735 GB, free: 9.898 MB / 446.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1968, allocations: 0 / 0.5735 GB, free: 9.898 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04636/0.2432, allocations: 6.781 MB / 0.5802 GB, free: 3.363 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002125/0.2434, allocations: 260.4 kB / 0.5804 GB, free: 3.008 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.099/2.342, allocations: 3.562 kB / 0.5804 GB, free: 3.008 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) Environment - environmentSimulation: