Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="Buildings_maint_8_0_x_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_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.812/1.812, allocations: 288.4 MB / 303.3 MB, free: 8.102 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.001115/0.001114, allocations: 175.4 kB / 372 MB, free: 10.26 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.766/1.766, allocations: 205.4 MB / 0.6307 GB, free: 10.01 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.001019/0.001019, allocations: 90.98 kB / 0.744 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004171/0.0004171, allocations: 12.59 kB / 0.8671 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2461/0.2465, allocations: 115.3 MB / 0.9797 GB, free: 27.5 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.001561/0.2481, allocations: 1.131 MB / 0.9808 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003577/0.2517, allocations: 2.708 MB / 0.9835 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.745e-05/0.2518, allocations: 0 / 0.9835 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.163e-05/0.2518, allocations: 3.938 kB / 0.9835 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.95e-05/0.2519, allocations: 19.84 kB / 0.9835 GB, free: 23.61 MB / 0.6198 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.003607/0.2555, allocations: 1.295 MB / 0.9847 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.656e-05/0.2556, allocations: 39.75 kB / 0.9848 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.538e-05/0.2556, allocations: 4.266 kB / 0.9848 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.468e-05/0.2557, allocations: 11.94 kB / 0.9848 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.654e-05/0.2557, allocations: 15.94 kB / 0.9848 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.498e-06/0.2557, allocations: 0 / 0.9848 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001986/0.2577, allocations: 1.229 MB / 0.986 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.943e-05/0.2578, allocations: 7.984 kB / 0.986 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.274e-05/0.2578, allocations: 29.64 kB / 0.986 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001175/0.259, allocations: 0.7057 MB / 0.9867 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/0.259, allocations: 4 kB / 0.9867 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.753e-06/0.259, allocations: 0 / 0.9867 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.259, allocations: 0 / 0.9867 GB, free: 20.28 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.000675/0.2597, allocations: 0.5067 MB / 0.9872 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.2597, allocations: 8.031 kB / 0.9872 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.405e-05/0.2598, allocations: 105.8 kB / 0.9873 GB, free: 19.6 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.17e-05/0.2598, allocations: 87.14 kB / 0.9874 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/0.26, allocations: 246.3 kB / 0.9877 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.195e-05/0.26, allocations: 154.6 kB / 0.9878 GB, free: 19.08 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.508e-05/0.2601, allocations: 150.6 kB / 0.988 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.874e-05/0.2601, allocations: 108.9 kB / 0.9881 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.812e-05/0.2601, allocations: 79.28 kB / 0.9881 GB, free: 18.74 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.744e-05/0.2602, allocations: 150.6 kB / 0.9883 GB, free: 18.59 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.561e-05/0.2602, allocations: 154.6 kB / 0.9884 GB, free: 18.44 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.871e-05/0.2602, allocations: 150.6 kB / 0.9886 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002303/0.2605, allocations: 469.8 kB / 0.989 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.465e-05/0.2605, allocations: 169.1 kB / 0.9892 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.126e-05/0.2606, allocations: 84.14 kB / 0.9893 GB, free: 17.52 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.2606, allocations: 75.28 kB / 0.9893 GB, free: 17.45 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.62e-05/0.2606, allocations: 109.8 kB / 0.9894 GB, free: 17.33 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.2606, allocations: 0 / 0.9894 GB, free: 17.33 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 7.387e-05/0.2607, allocations: 29.69 kB / 0.9895 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.842e-05/0.2607, allocations: 138.6 kB / 0.9896 GB, free: 17.15 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.2609, allocations: 127.3 kB / 0.9897 GB, free: 17.02 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.325e-06/0.2609, allocations: 33.7 kB / 0.9897 GB, free: 16.98 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.613e-05/0.2609, allocations: 88.14 kB / 0.9898 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.434e-06/0.2609, allocations: 0 / 0.9898 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.055e-06/0.2609, allocations: 0 / 0.9898 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.426e-05/0.261, allocations: 326.7 kB / 0.9901 GB, free: 16.56 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.152e-05/0.261, allocations: 4 kB / 0.9901 GB, free: 16.55 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.358e-05/0.261, allocations: 4 kB / 0.9902 GB, free: 16.55 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.761e-05/0.2611, allocations: 7.938 kB / 0.9902 GB, free: 16.54 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2611, allocations: 0 / 0.9902 GB, free: 16.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000126/0.2612, allocations: 57.75 kB / 0.9902 GB, free: 16.48 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.2612, allocations: 5.25 kB / 0.9902 GB, free: 16.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.894e-05/0.2613, allocations: 4 kB / 0.9902 GB, free: 16.47 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.2613, allocations: 0 / 0.9902 GB, free: 16.47 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.91e-07/0.2613, allocations: 0 / 0.9902 GB, free: 16.47 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.904e-06/0.2613, allocations: 7.922 kB / 0.9902 GB, free: 16.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.495e-05/0.2613, allocations: 7.844 kB / 0.9902 GB, free: 16.46 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.892e-06/0.2613, allocations: 0 / 0.9902 GB, free: 16.46 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 6.886e-05/0.2614, allocations: 193.8 kB / 0.9904 GB, free: 16.26 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.303e-05/0.2615, allocations: 105 kB / 0.9905 GB, free: 16.15 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.001e-05/0.2615, allocations: 112.8 kB / 0.9906 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.938e-05/0.2615, allocations: 184.2 kB / 0.9908 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.098e-05/0.2616, allocations: 180.3 kB / 0.991 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.992e-05/0.2616, allocations: 180.2 kB / 0.9912 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001678/0.2618, allocations: 425.2 kB / 0.9916 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.806e-05/0.2618, allocations: 101 kB / 0.9917 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.845e-05/0.2618, allocations: 104.9 kB / 0.9918 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.1e-05/0.2619, allocations: 176.3 kB / 0.9919 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.55e-05/0.2619, allocations: 184.2 kB / 0.9921 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.694e-05/0.262, allocations: 184.2 kB / 0.9923 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.399e-05/0.262, allocations: 188.2 kB / 0.9925 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.307e-05/0.2621, allocations: 303.7 kB / 0.9927 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.613e-05/0.2621, allocations: 193.9 kB / 0.9929 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.61e-05/0.2622, allocations: 180.5 kB / 0.9931 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.312e-05/0.2623, allocations: 105 kB / 0.9932 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.318e-05/0.2623, allocations: 184.2 kB / 0.9934 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.857e-05/0.2623, allocations: 109 kB / 0.9935 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.391e-05/0.2624, allocations: 100.5 kB / 0.9936 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2624, allocations: 0 / 0.9936 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0008037/0.2632, allocations: 275.8 kB / 0.9938 GB, free: 12.55 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.001297/0.2645, allocations: 1.159 MB / 0.995 GB, free: 11.37 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 9.423e-05/0.2646, allocations: 41.69 kB / 0.995 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.2646, allocations: 0 / 0.995 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.214e-06/0.2646, allocations: 0 / 0.995 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003572/0.265, allocations: 0.5302 MB / 0.9955 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008746/0.2659, allocations: 0.6807 MB / 0.9962 GB, free: 10.06 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001145/0.266, allocations: 0.6809 MB / 0.9969 GB, free: 9.355 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.547e-05/0.266, allocations: 3.938 kB / 0.9969 GB, free: 9.352 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.694e-05/0.2661, allocations: 15.44 kB / 0.9969 GB, free: 9.336 MB / 0.6198 GB Notification: Performance of SimCode: time 3.11e-07/0.2661, allocations: 0 / 0.9969 GB, free: 9.336 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01995/0.286, allocations: 6.778 MB / 1.003 GB, free: 2.797 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001941/0.2862, allocations: 326.1 kB / 1.004 GB, free: 2.441 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.945/2.232, allocations: 0 / 1.004 GB, free: 2.441 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)