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.InternalResistancesOneUTubeNegative.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.InternalResistancesOneUTubeNegative,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",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.553/2.553, allocations: 287.5 MB / 302.4 MB, free: 8.191 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.001303/0.001302, allocations: 178.1 kB / 371 MB, free: 10.85 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.094/2.094, allocations: 205.4 MB / 0.6297 GB, free: 10.58 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.0009308/0.0009304, allocations: 94.2 kB / 0.743 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000532/0.0005326, allocations: 12.28 kB / 0.8659 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2256/0.2262, allocations: 115.3 MB / 0.9785 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.001704/0.228, allocations: 1.134 MB / 0.9796 GB, free: 27.04 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.005261/0.2333, allocations: 2.736 MB / 0.9823 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.78e-05/0.2334, allocations: 0 / 0.9823 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.138e-05/0.2334, allocations: 0 / 0.9823 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.376e-05/0.2335, allocations: 15.84 kB / 0.9823 GB, free: 24.28 MB / 0.6198 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Fluid/Geothermal/Borefields/BaseClasses/Boreholes/BaseClasses/Functions/internalResistancesOneUTube.mo:2:1-155:32:writable] Warning: Pure function ‘Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.internalResistancesOneUTube‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.005289/0.2388, allocations: 1.301 MB / 0.9836 GB, free: 23 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001013/0.239, allocations: 39.73 kB / 0.9836 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.349e-05/0.239, allocations: 8.219 kB / 0.9836 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.236e-05/0.2391, allocations: 12 kB / 0.9836 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.589e-05/0.2391, allocations: 19.86 kB / 0.9837 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.339e-05/0.2392, allocations: 0 / 0.9837 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00295/0.2421, allocations: 1.229 MB / 0.9849 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.736e-05/0.2422, allocations: 0 / 0.9849 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.564e-05/0.2422, allocations: 29.7 kB / 0.9849 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001606/0.2438, allocations: 0.7095 MB / 0.9856 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.2439, allocations: 4 kB / 0.9856 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.973e-06/0.2439, allocations: 0 / 0.9856 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.2439, allocations: 0 / 0.9856 GB, free: 20.94 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.000695/0.2446, allocations: 0.5106 MB / 0.9861 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.2447, allocations: 8.031 kB / 0.9861 GB, free: 20.37 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.822e-05/0.2447, allocations: 105.8 kB / 0.9862 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.418e-05/0.2448, allocations: 87.14 kB / 0.9863 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/0.2449, allocations: 248 kB / 0.9865 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.042e-05/0.245, allocations: 154.6 kB / 0.9867 GB, free: 19.74 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.74e-05/0.245, allocations: 154.6 kB / 0.9868 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.102e-05/0.2451, allocations: 108.9 kB / 0.9869 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.738e-05/0.2451, allocations: 75.28 kB / 0.987 GB, free: 19.4 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.292e-05/0.2452, allocations: 154.5 kB / 0.9871 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.92e-05/0.2452, allocations: 154.6 kB / 0.9873 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.291e-05/0.2452, allocations: 154.5 kB / 0.9874 GB, free: 18.94 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002529/0.2455, allocations: 465.8 kB / 0.9879 GB, free: 18.44 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.439e-05/0.2456, allocations: 169.1 kB / 0.988 GB, free: 18.26 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.531e-05/0.2456, allocations: 84.14 kB / 0.9881 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.044e-05/0.2457, allocations: 75.28 kB / 0.9882 GB, free: 18.1 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/0.2457, allocations: 113.8 kB / 0.9883 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.583e-06/0.2457, allocations: 0 / 0.9883 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 8.08e-05/0.2458, allocations: 25.7 kB / 0.9883 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.209e-05/0.2458, allocations: 126.7 kB / 0.9884 GB, free: 17.81 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/0.246, allocations: 135.6 kB / 0.9886 GB, free: 17.67 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.236e-05/0.246, allocations: 29.7 kB / 0.9886 GB, free: 17.64 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.107e-05/0.2461, allocations: 92.12 kB / 0.9887 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.047e-06/0.2461, allocations: 3.938 kB / 0.9887 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-06/0.2461, allocations: 3.938 kB / 0.9887 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.935e-05/0.2462, allocations: 322.8 kB / 0.989 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.941e-05/0.2462, allocations: 0 / 0.989 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.347e-05/0.2462, allocations: 4 kB / 0.989 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.554e-05/0.2463, allocations: 7.984 kB / 0.989 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.2463, allocations: 4.031 kB / 0.989 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001687/0.2465, allocations: 45.7 kB / 0.9891 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.2465, allocations: 4 kB / 0.9891 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.46e-05/0.2465, allocations: 4 kB / 0.9891 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.2466, allocations: 0 / 0.9891 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.493e-06/0.2466, allocations: 0 / 0.9891 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.2466, allocations: 0 / 0.9891 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.759e-05/0.2466, allocations: 7.844 kB / 0.9891 GB, free: 17.13 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.2467, allocations: 4.031 kB / 0.9891 GB, free: 17.12 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.954e-05/0.2468, allocations: 201 kB / 0.9893 GB, free: 16.92 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.477e-05/0.2468, allocations: 116.9 kB / 0.9894 GB, free: 16.8 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.58e-05/0.2469, allocations: 108.9 kB / 0.9895 GB, free: 16.69 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.413e-05/0.2469, allocations: 180.2 kB / 0.9896 GB, free: 16.5 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.585e-05/0.247, allocations: 184.2 kB / 0.9898 GB, free: 16.32 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.262e-05/0.247, allocations: 176.3 kB / 0.99 GB, free: 16.14 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001791/0.2472, allocations: 421.1 kB / 0.9904 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.118e-05/0.2472, allocations: 105 kB / 0.9905 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.232e-05/0.2472, allocations: 104.9 kB / 0.9906 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-05/0.2473, allocations: 180.2 kB / 0.9908 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.553e-05/0.2473, allocations: 176.3 kB / 0.9909 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.581e-05/0.2474, allocations: 192.2 kB / 0.9911 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.415e-05/0.2474, allocations: 176.3 kB / 0.9913 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.77e-05/0.2475, allocations: 311.9 kB / 0.9916 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.474e-05/0.2476, allocations: 197.9 kB / 0.9918 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.964e-05/0.2476, allocations: 180.3 kB / 0.9919 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.748e-05/0.2477, allocations: 105 kB / 0.992 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.134e-05/0.2478, allocations: 192.2 kB / 0.9922 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.108e-05/0.2478, allocations: 101 kB / 0.9923 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.835e-05/0.2479, allocations: 100.4 kB / 0.9924 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.423e-06/0.2479, allocations: 0 / 0.9924 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000998/0.2489, allocations: 271.8 kB / 0.9927 GB, free: 13.21 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.001629/0.2506, allocations: 1.157 MB / 0.9938 GB, free: 12.03 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000126/0.2507, allocations: 37.7 kB / 0.9938 GB, free: 11.99 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.2507, allocations: 0 / 0.9938 GB, free: 11.99 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.416e-06/0.2507, allocations: 0 / 0.9938 GB, free: 11.99 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004184/0.2512, allocations: 0.5303 MB / 0.9944 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/0.2523, allocations: 0.6862 MB / 0.995 GB, free: 10.72 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001361/0.2525, allocations: 0.6848 MB / 0.9957 GB, free: 10.01 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.967e-05/0.2525, allocations: 0 / 0.9957 GB, free: 10.01 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.087e-05/0.2526, allocations: 11.44 kB / 0.9957 GB, free: 9.996 MB / 0.6198 GB Notification: Performance of SimCode: time 1.052e-06/0.2526, allocations: 0 / 0.9957 GB, free: 9.996 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03052/0.2831, allocations: 6.773 MB / 1.002 GB, free: 3.391 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002304/0.2834, allocations: 327.7 kB / 1.003 GB, free: 3.027 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.842/3.125, allocations: 0 / 1.003 GB, free: 3.027 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.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_InternalResistancesOneUTubeNegative_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.fmu > Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)