Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.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.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="Buildings_8_0_0_Buildings_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/Buildings 8.0.0/package.mo): time 2.501/2.501, allocations: 287.3 MB / 302.3 MB, free: 8.332 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.001497/0.001497, allocations: 187.5 kB / 370.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.105/2.105, allocations: 205.4 MB / 0.6295 GB, free: 10.6 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.00114/0.00114, allocations: 89.8 kB / 0.7428 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004886/0.0004888, allocations: 12.06 kB / 0.8658 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2163/0.2168, allocations: 115.3 MB / 0.9783 GB, free: 28.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.001616/0.2185, allocations: 1.119 MB / 0.9794 GB, free: 27.1 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004899/0.2234, allocations: 2.681 MB / 0.9821 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.871e-05/0.2236, allocations: 0 / 0.9821 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.207e-05/0.2236, allocations: 0 / 0.9821 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.931e-05/0.2237, allocations: 27.83 kB / 0.9821 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.004763/0.2285, allocations: 1.304 MB / 0.9834 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.887e-05/0.2286, allocations: 35.88 kB / 0.9834 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.792e-05/0.2286, allocations: 7.938 kB / 0.9834 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.779e-05/0.2287, allocations: 11.98 kB / 0.9834 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.412e-05/0.2287, allocations: 23.86 kB / 0.9834 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.139e-05/0.2287, allocations: 0 / 0.9834 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002537/0.2313, allocations: 1.201 MB / 0.9846 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.785e-05/0.2313, allocations: 11.97 kB / 0.9846 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.563e-05/0.2314, allocations: 33.64 kB / 0.9846 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001534/0.2329, allocations: 0.7331 MB / 0.9854 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.233, allocations: 0 / 0.9854 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.156e-06/0.233, allocations: 3.984 kB / 0.9854 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.59e-06/0.233, allocations: 0 / 0.9854 GB, free: 21.02 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.0006256/0.2336, allocations: 0.5145 MB / 0.9859 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.2337, allocations: 8.031 kB / 0.9859 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.645e-05/0.2337, allocations: 105.8 kB / 0.986 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.767e-05/0.2338, allocations: 87.14 kB / 0.9861 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.2339, allocations: 252.3 kB / 0.9863 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.118e-05/0.234, allocations: 150.6 kB / 0.9864 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.177e-05/0.234, allocations: 150.6 kB / 0.9866 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.973e-05/0.2341, allocations: 104.9 kB / 0.9867 GB, free: 19.56 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.2341, allocations: 75.28 kB / 0.9868 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.679e-05/0.2341, allocations: 154.6 kB / 0.9869 GB, free: 19.33 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.778e-05/0.2342, allocations: 158.5 kB / 0.9871 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.971e-05/0.2342, allocations: 154.6 kB / 0.9872 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002355/0.2345, allocations: 461.9 kB / 0.9876 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.87e-05/0.2345, allocations: 169.1 kB / 0.9878 GB, free: 18.35 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.741e-05/0.2346, allocations: 79.28 kB / 0.9879 GB, free: 18.27 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/0.2346, allocations: 109.8 kB / 0.988 GB, free: 18.15 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.553e-06/0.2346, allocations: 4 kB / 0.988 GB, free: 18.15 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 7.673e-05/0.2347, allocations: 29.69 kB / 0.988 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.558e-05/0.2347, allocations: 126.7 kB / 0.9881 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001326/0.2349, allocations: 145.8 kB / 0.9883 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.408e-06/0.2349, allocations: 29.7 kB / 0.9883 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.933e-05/0.2349, allocations: 88.14 kB / 0.9884 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.504e-06/0.235, allocations: 0 / 0.9884 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.557e-06/0.235, allocations: 0 / 0.9884 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.021e-05/0.235, allocations: 318.8 kB / 0.9887 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.054e-05/0.2351, allocations: 11.94 kB / 0.9887 GB, free: 17.37 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.264e-05/0.2351, allocations: 4 kB / 0.9887 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.331e-05/0.2352, allocations: 8 kB / 0.9887 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.2352, allocations: 0 / 0.9887 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001443/0.2353, allocations: 61.62 kB / 0.9888 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.2353, allocations: 10.19 kB / 0.9888 GB, free: 17.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.665e-05/0.2354, allocations: 4 kB / 0.9888 GB, free: 17.28 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.589e-05/0.2354, allocations: 0 / 0.9888 GB, free: 17.28 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.412e-06/0.2354, allocations: 0 / 0.9888 GB, free: 17.28 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/0.2355, allocations: 0 / 0.9888 GB, free: 17.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.519e-05/0.2355, allocations: 0 / 0.9888 GB, free: 17.28 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.2355, allocations: 3.953 kB / 0.9888 GB, free: 17.27 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 7.166e-05/0.2356, allocations: 185.1 kB / 0.989 GB, free: 17.08 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.006e-05/0.2357, allocations: 120.8 kB / 0.9891 GB, free: 16.96 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.051e-05/0.2357, allocations: 108.9 kB / 0.9892 GB, free: 16.85 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.131e-05/0.2357, allocations: 184.2 kB / 0.9894 GB, free: 16.66 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-05/0.2358, allocations: 180.3 kB / 0.9895 GB, free: 16.48 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.932e-05/0.2358, allocations: 176.3 kB / 0.9897 GB, free: 16.3 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001767/0.236, allocations: 433.1 kB / 0.9901 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.992e-05/0.236, allocations: 101 kB / 0.9902 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.986e-05/0.2361, allocations: 104.9 kB / 0.9903 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.038e-05/0.2361, allocations: 176.3 kB / 0.9905 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.416e-05/0.2361, allocations: 180.3 kB / 0.9907 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.157e-05/0.2362, allocations: 184.2 kB / 0.9908 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.189e-05/0.2362, allocations: 184.2 kB / 0.991 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.315e-05/0.2363, allocations: 311.6 kB / 0.9913 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.517e-05/0.2364, allocations: 186.1 kB / 0.9915 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.904e-05/0.2364, allocations: 184.2 kB / 0.9917 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.58e-05/0.2365, allocations: 101 kB / 0.9918 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.902e-05/0.2366, allocations: 188.5 kB / 0.9919 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.925e-05/0.2366, allocations: 101 kB / 0.992 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.471e-05/0.2367, allocations: 99.25 kB / 0.9921 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2367, allocations: 3.938 kB / 0.9921 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0009513/0.2376, allocations: 283.8 kB / 0.9924 GB, free: 13.36 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.001496/0.2392, allocations: 1.163 MB / 0.9935 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001221/0.2393, allocations: 37.7 kB / 0.9936 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2393, allocations: 0 / 0.9936 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.886e-06/0.2393, allocations: 0 / 0.9936 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003339/0.2397, allocations: 0.5303 MB / 0.9941 GB, free: 11.6 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007362/0.2404, allocations: 0.5613 MB / 0.9946 GB, free: 10.99 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001307/0.2406, allocations: 0.6887 MB / 0.9953 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.72e-05/0.2406, allocations: 0 / 0.9953 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.905e-05/0.2406, allocations: 19.42 kB / 0.9953 GB, free: 10.25 MB / 0.6198 GB Notification: Performance of SimCode: time 7.71e-07/0.2406, allocations: 0 / 0.9953 GB, free: 10.25 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02982/0.2705, allocations: 6.92 MB / 1.002 GB, free: 3.496 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003203/0.2709, allocations: 322.1 kB / 1.002 GB, free: 3.129 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.801/3.072, allocations: 8 kB / 1.002 GB, free: 3.121 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.fmu > Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)