Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="Buildings_8_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009168/0.0009168, allocations: 91.84 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001154/0.001153, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.602/1.602, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.821/1.821, allocations: 292.7 MB / 0.5499 GB, free: 14.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005703/0.0005703, allocations: 12.84 kB / 0.6739 GB, free: 26.03 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2683/0.2688, allocations: 116.3 MB / 0.7875 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.001411/0.2703, allocations: 1.138 MB / 0.7886 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00366/0.2739, allocations: 2.709 MB / 0.7912 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.344e-05/0.274, allocations: 0 / 0.7912 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.665e-05/0.274, allocations: 7.922 kB / 0.7912 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.423e-05/0.2741, allocations: 15.86 kB / 0.7912 GB, free: 7.902 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.003022/0.2771, allocations: 1.297 MB / 0.7925 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.455e-05/0.2772, allocations: 39.73 kB / 0.7925 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.644e-05/0.2772, allocations: 4.281 kB / 0.7925 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.437e-05/0.2773, allocations: 11.94 kB / 0.7926 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.837e-05/0.2773, allocations: 15.92 kB / 0.7926 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.023e-05/0.2773, allocations: 0 / 0.7926 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001736/0.2791, allocations: 1.225 MB / 0.7938 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.611e-05/0.2791, allocations: 15.92 kB / 0.7938 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.865e-05/0.2791, allocations: 33.69 kB / 0.7938 GB, free: 5.281 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0008768/0.28, allocations: 0.6979 MB / 0.7945 GB, free: 4.582 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.28, allocations: 0 / 0.7945 GB, free: 4.582 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.324e-06/0.28, allocations: 0 / 0.7945 GB, free: 4.582 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.516e-06/0.2801, allocations: 0 / 0.7945 GB, free: 4.582 MB / 0.6075 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.00059/0.2806, allocations: 0.5183 MB / 0.795 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.2807, allocations: 8.031 kB / 0.795 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.455e-05/0.2808, allocations: 113.8 kB / 0.7951 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.089e-05/0.2808, allocations: 91.14 kB / 0.7952 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00015/0.281, allocations: 245 kB / 0.7954 GB, free: 3.52 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.975e-05/0.281, allocations: 150.6 kB / 0.7956 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.431e-05/0.2811, allocations: 154.5 kB / 0.7957 GB, free: 3.219 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.714e-05/0.2812, allocations: 105 kB / 0.7958 GB, free: 3.109 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.986e-05/0.2812, allocations: 75.28 kB / 0.7959 GB, free: 3.035 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.537e-05/0.2813, allocations: 158.5 kB / 0.7961 GB, free: 2.879 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.655e-05/0.2813, allocations: 158.5 kB / 0.7962 GB, free: 2.723 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.569e-05/0.2814, allocations: 150.6 kB / 0.7963 GB, free: 2.574 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002789/0.2817, allocations: 469.8 kB / 0.7968 GB, free: 2.066 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.265e-05/0.2817, allocations: 169.1 kB / 0.797 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.507e-05/0.2818, allocations: 80.14 kB / 0.797 GB, free: 1.809 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.286e-05/0.2818, allocations: 75.28 kB / 0.7971 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.06e-05/0.2818, allocations: 113.8 kB / 0.7972 GB, free: 1.613 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 7.61e-07/0.2818, allocations: 3.938 kB / 0.7972 GB, free: 1.609 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 6.143e-05/0.2819, allocations: 25.7 kB / 0.7972 GB, free: 1.578 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.169e-05/0.282, allocations: 130.7 kB / 0.7974 GB, free: 1.438 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.2821, allocations: 133.9 kB / 0.7975 GB, free: 1.297 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.2821, allocations: 29.7 kB / 0.7975 GB, free: 1.262 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.574e-05/0.2822, allocations: 92.12 kB / 0.7976 GB, free: 1.168 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.754e-06/0.2822, allocations: 0 / 0.7976 GB, free: 1.168 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.755e-06/0.2822, allocations: 0 / 0.7976 GB, free: 1.168 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.519e-05/0.2823, allocations: 318.8 kB / 0.7979 GB, free: 0.8477 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.759e-05/0.2823, allocations: 0 / 0.7979 GB, free: 0.8477 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.499e-05/0.2823, allocations: 15.98 kB / 0.7979 GB, free: 0.832 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.325e-05/0.2824, allocations: 7.938 kB / 0.7979 GB, free: 0.8242 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.2824, allocations: 0 / 0.7979 GB, free: 0.8242 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001125/0.2825, allocations: 45.7 kB / 0.798 GB, free: 0.7734 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.2825, allocations: 4 kB / 0.798 GB, free: 0.7695 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.763e-05/0.2825, allocations: 4 kB / 0.798 GB, free: 0.7656 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.2825, allocations: 3.984 kB / 0.798 GB, free: 0.7617 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.61e-07/0.2825, allocations: 0 / 0.798 GB, free: 0.7617 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.536e-06/0.2825, allocations: 0 / 0.798 GB, free: 0.7617 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.216e-05/0.2826, allocations: 7.844 kB / 0.798 GB, free: 0.7539 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.2826, allocations: 4.062 kB / 0.798 GB, free: 0.75 MB / 0.6075 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 8.819e-05/0.2827, allocations: 189.1 kB / 0.7982 GB, free: 0.5547 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.497e-05/0.2827, allocations: 108.9 kB / 0.7983 GB, free: 452 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.66e-05/0.2828, allocations: 108.9 kB / 0.7984 GB, free: 332 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-05/0.2829, allocations: 180.2 kB / 0.7986 GB, free: 144 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.428e-05/0.2829, allocations: 188.2 kB / 0.7987 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.146e-05/0.283, allocations: 176.3 kB / 0.7989 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002277/0.2832, allocations: 425.1 kB / 0.7993 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.408e-05/0.2833, allocations: 105 kB / 0.7994 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.996e-05/0.2833, allocations: 105 kB / 0.7995 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.688e-05/0.2834, allocations: 180.2 kB / 0.7997 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.51e-05/0.2834, allocations: 180.3 kB / 0.7999 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.125e-05/0.2835, allocations: 184.4 kB / 0.8 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.049e-05/0.2836, allocations: 176.3 kB / 0.8002 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001284/0.2837, allocations: 319.6 kB / 0.8005 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 7.3e-05/0.2838, allocations: 190 kB / 0.8007 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.036e-05/0.2839, allocations: 184.1 kB / 0.8009 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.36e-05/0.2839, allocations: 113 kB / 0.801 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.989e-05/0.284, allocations: 184.2 kB / 0.8012 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.367e-05/0.2841, allocations: 101 kB / 0.8012 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 5.403e-05/0.2841, allocations: 98.39 kB / 0.8013 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2841, allocations: 0 / 0.8013 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006454/0.2848, allocations: 275.8 kB / 0.8016 GB, free: 12.84 MB / 0.6231 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.001221/0.286, allocations: 1.154 MB / 0.8027 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 9.934e-05/0.2861, allocations: 49.64 kB / 0.8028 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2861, allocations: 0 / 0.8028 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 1.593e-06/0.2861, allocations: 0 / 0.8028 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004105/0.2865, allocations: 0.5224 MB / 0.8033 GB, free: 11.08 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008218/0.2874, allocations: 0.676 MB / 0.8039 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002355/0.2876, allocations: 0.6848 MB / 0.8046 GB, free: 9.648 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 1.407e-05/0.2876, allocations: 3.938 kB / 0.8046 GB, free: 9.645 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.187e-05/0.2877, allocations: 23.44 kB / 0.8046 GB, free: 9.621 MB / 0.6231 GB Notification: Performance of SimCode: time 2.3e-07/0.2877, allocations: 0 / 0.8046 GB, free: 9.621 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01981/0.3075, allocations: 6.751 MB / 0.8112 GB, free: 3.113 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002217/0.3078, allocations: 325.4 kB / 0.8115 GB, free: 2.754 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.17/2.478, allocations: 7.938 kB / 0.8116 GB, free: 2.746 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.fmu > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) Environment - environmentSimulation: