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.652/2.652, allocations: 287.5 MB / 302.4 MB, free: 8.234 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.001403/0.001403, allocations: 192 kB / 371 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.108/2.108, allocations: 205.4 MB / 0.6297 GB, free: 10.59 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.000962/0.0009617, allocations: 92.19 kB / 0.743 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005068/0.000507, allocations: 17.5 kB / 0.8659 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2264/0.2269, allocations: 115.3 MB / 0.9785 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.001616/0.2286, allocations: 1.152 MB / 0.9796 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.005101/0.2338, allocations: 2.771 MB / 0.9823 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.591e-05/0.2339, allocations: 4 kB / 0.9823 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.308e-05/0.2339, allocations: 3.938 kB / 0.9823 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.957e-05/0.234, allocations: 15.84 kB / 0.9824 GB, free: 24.24 MB / 0.6198 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Fluid/Geothermal/Borefields/BaseClasses/Boreholes/BaseClasses/Functions/internalResistancesTwoUTube.mo:2:1-162:32:writable] Warning: Pure function ‘Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.internalResistancesTwoUTube‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.005092/0.2391, allocations: 1.322 MB / 0.9837 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.559e-05/0.2392, allocations: 47.73 kB / 0.9837 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.932e-05/0.2393, allocations: 3.938 kB / 0.9837 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.203e-05/0.2393, allocations: 11.94 kB / 0.9837 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.525e-05/0.2394, allocations: 23.86 kB / 0.9837 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.443e-05/0.2394, allocations: 4 kB / 0.9837 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002845/0.2422, allocations: 1.26 MB / 0.985 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.885e-05/0.2423, allocations: 4 kB / 0.985 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.2e-05/0.2424, allocations: 29.7 kB / 0.985 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001669/0.244, allocations: 0.7213 MB / 0.9857 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.2441, allocations: 4 kB / 0.9857 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.244e-06/0.2441, allocations: 0 / 0.9857 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.2441, allocations: 4 kB / 0.9857 GB, free: 20.82 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.0007313/0.2449, allocations: 0.5066 MB / 0.9862 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.2449, allocations: 12.03 kB / 0.9862 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.481e-05/0.245, allocations: 105.8 kB / 0.9863 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.342e-05/0.245, allocations: 83.14 kB / 0.9864 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00013/0.2452, allocations: 250.2 kB / 0.9866 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.324e-05/0.2452, allocations: 154.6 kB / 0.9868 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.682e-05/0.2453, allocations: 150.6 kB / 0.9869 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.933e-05/0.2453, allocations: 108.9 kB / 0.987 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/0.2454, allocations: 75.28 kB / 0.9871 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.061e-05/0.2454, allocations: 154.6 kB / 0.9873 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.778e-05/0.2454, allocations: 162.5 kB / 0.9874 GB, free: 18.97 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.918e-05/0.2455, allocations: 154.6 kB / 0.9876 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002297/0.2457, allocations: 457.9 kB / 0.988 GB, free: 18.32 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.673e-05/0.2458, allocations: 173.1 kB / 0.9882 GB, free: 18.14 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.157e-05/0.2458, allocations: 84.14 kB / 0.9882 GB, free: 18.06 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.2458, allocations: 75.28 kB / 0.9883 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.2459, allocations: 109.8 kB / 0.9884 GB, free: 17.87 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 2.645e-06/0.2459, allocations: 0 / 0.9884 GB, free: 17.87 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 8.242e-05/0.246, allocations: 33.7 kB / 0.9884 GB, free: 17.83 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.477e-05/0.246, allocations: 126.7 kB / 0.9886 GB, free: 17.69 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/0.2462, allocations: 141.8 kB / 0.9887 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.679e-06/0.2462, allocations: 29.7 kB / 0.9887 GB, free: 17.51 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.979e-05/0.2462, allocations: 92.14 kB / 0.9888 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.425e-06/0.2463, allocations: 0 / 0.9888 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.739e-06/0.2463, allocations: 0 / 0.9888 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.103e-05/0.2463, allocations: 326.8 kB / 0.9891 GB, free: 17.09 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.838e-05/0.2464, allocations: 0 / 0.9891 GB, free: 17.09 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.437e-05/0.2464, allocations: 8 kB / 0.9891 GB, free: 17.08 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.81e-05/0.2465, allocations: 8 kB / 0.9891 GB, free: 17.07 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.2465, allocations: 4 kB / 0.9891 GB, free: 17.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001411/0.2466, allocations: 49.64 kB / 0.9892 GB, free: 17.01 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.2467, allocations: 6.5 kB / 0.9892 GB, free: 17.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.731e-05/0.2467, allocations: 7.984 kB / 0.9892 GB, free: 17 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.2467, allocations: 0 / 0.9892 GB, free: 17 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.412e-06/0.2467, allocations: 0 / 0.9892 GB, free: 17 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.2467, allocations: 4 kB / 0.9892 GB, free: 17 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.944e-05/0.2468, allocations: 3.953 kB / 0.9892 GB, free: 16.99 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.407e-06/0.2468, allocations: 0 / 0.9892 GB, free: 16.99 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.632e-05/0.2469, allocations: 193.1 kB / 0.9894 GB, free: 16.79 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.111e-05/0.2469, allocations: 116.8 kB / 0.9895 GB, free: 16.67 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.489e-05/0.247, allocations: 116.8 kB / 0.9896 GB, free: 16.55 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.219e-05/0.247, allocations: 180.2 kB / 0.9898 GB, free: 16.37 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.243e-05/0.2471, allocations: 176.3 kB / 0.99 GB, free: 16.19 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.073e-05/0.2471, allocations: 180.3 kB / 0.9901 GB, free: 16.01 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001764/0.2473, allocations: 421.1 kB / 0.9905 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.189e-05/0.2473, allocations: 109 kB / 0.9906 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.946e-05/0.2474, allocations: 108.9 kB / 0.9907 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.197e-05/0.2474, allocations: 176.3 kB / 0.9909 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.351e-05/0.2474, allocations: 176.3 kB / 0.9911 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-05/0.2475, allocations: 188.2 kB / 0.9913 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.339e-05/0.2475, allocations: 188.2 kB / 0.9914 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.895e-05/0.2476, allocations: 307.9 kB / 0.9917 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.036e-05/0.2477, allocations: 186.1 kB / 0.9919 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.925e-05/0.2478, allocations: 188.2 kB / 0.9921 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.893e-05/0.2478, allocations: 109 kB / 0.9922 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.983e-05/0.2479, allocations: 180.2 kB / 0.9924 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.271e-05/0.2479, allocations: 105 kB / 0.9925 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.658e-05/0.248, allocations: 99.27 kB / 0.9926 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4e-07/0.248, allocations: 3.938 kB / 0.9926 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0009523/0.249, allocations: 283.8 kB / 0.9928 GB, free: 13.06 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.001584/0.2506, allocations: 1.163 MB / 0.994 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001428/0.2508, allocations: 41.69 kB / 0.994 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2508, allocations: 0 / 0.994 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.507e-06/0.2508, allocations: 0 / 0.994 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004073/0.2512, allocations: 0.5264 MB / 0.9945 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001152/0.2524, allocations: 0.7059 MB / 0.9952 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001291/0.2526, allocations: 0.6809 MB / 0.9959 GB, free: 9.844 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.024e-05/0.2526, allocations: 0 / 0.9959 GB, free: 9.844 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.228e-05/0.2526, allocations: 15.48 kB / 0.9959 GB, free: 9.828 MB / 0.6198 GB Notification: Performance of SimCode: time 9.62e-07/0.2526, allocations: 0 / 0.9959 GB, free: 9.828 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03378/0.2864, allocations: 6.991 MB / 1.003 GB, free: 3.004 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002007/0.2867, allocations: 327.6 kB / 1.003 GB, free: 2.641 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.99/3.276, allocations: 7.938 kB / 1.003 GB, free: 2.633 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)