Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_9_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_9_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.006556/0.006556, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001331/0.001331, allocations: 197.5 kB / 16.68 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.333/1.333, allocations: 222.9 MB / 240.4 MB, free: 4.188 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.349/2.349, allocations: 390.2 MB / 0.6648 GB, free: 140 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 63.61 kB / 0.9505 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2914/0.2928, allocations: 140.4 MB / 1.088 GB, free: 1.969 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002924/0.2958, allocations: 1.438 MB / 1.089 GB, free: 0.5195 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.004839/0.3006, allocations: 2.846 MB / 1.092 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.078e-05/0.3007, allocations: 0 / 1.092 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.093e-05/0.3008, allocations: 7.922 kB / 1.092 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.223e-05/0.3009, allocations: 15.88 kB / 1.092 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.004575/0.3055, allocations: 1.557 MB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001023/0.3056, allocations: 43.73 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.283e-05/0.3057, allocations: 0 / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.086e-05/0.3057, allocations: 11.94 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.184e-05/0.3058, allocations: 19.86 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.009e-05/0.3058, allocations: 0 / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002704/0.3085, allocations: 1.492 MB / 1.095 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.136e-05/0.3085, allocations: 7.984 kB / 1.095 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.943e-05/0.3086, allocations: 19.88 kB / 1.095 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002143/0.3107, allocations: 1.069 MB / 1.096 GB, free: 9.426 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.251e-06/0.3108, allocations: 0 / 1.096 GB, free: 9.426 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.184e-06/0.3108, allocations: 0 / 1.096 GB, free: 9.426 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.198e-05/0.3108, allocations: 0 / 1.096 GB, free: 9.426 MB / 0.8575 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.0007858/0.3116, allocations: 0.5107 MB / 1.096 GB, free: 8.867 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.3116, allocations: 12.02 kB / 1.096 GB, free: 8.855 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.163e-05/0.3117, allocations: 114 kB / 1.096 GB, free: 8.734 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.504e-05/0.3118, allocations: 88.12 kB / 1.097 GB, free: 8.648 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001821/0.312, allocations: 244.8 kB / 1.097 GB, free: 8.371 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.57e-05/0.3121, allocations: 150.9 kB / 1.097 GB, free: 8.223 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.174e-05/0.3121, allocations: 150.9 kB / 1.097 GB, free: 8.074 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.533e-05/0.3122, allocations: 104.9 kB / 1.097 GB, free: 7.965 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.162e-05/0.3122, allocations: 75.28 kB / 1.097 GB, free: 7.891 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.874e-05/0.3123, allocations: 154.6 kB / 1.097 GB, free: 7.738 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.473e-05/0.3123, allocations: 154.5 kB / 1.098 GB, free: 7.586 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.172e-05/0.3124, allocations: 166.4 kB / 1.098 GB, free: 7.422 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003104/0.3127, allocations: 457.9 kB / 1.098 GB, free: 6.926 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001026/0.3128, allocations: 177.1 kB / 1.098 GB, free: 6.742 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.853e-05/0.3129, allocations: 80.14 kB / 1.098 GB, free: 6.66 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.721e-05/0.3129, allocations: 79.22 kB / 1.098 GB, free: 6.582 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.19e-05/0.313, allocations: 105.8 kB / 1.099 GB, free: 6.469 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 3.106e-06/0.313, allocations: 0 / 1.099 GB, free: 6.469 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 0.0001076/0.3131, allocations: 37.55 kB / 1.099 GB, free: 6.426 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.078e-05/0.3132, allocations: 130.7 kB / 1.099 GB, free: 6.285 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001603/0.3133, allocations: 131.7 kB / 1.099 GB, free: 6.148 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/0.3134, allocations: 25.7 kB / 1.099 GB, free: 6.117 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.001e-05/0.3135, allocations: 99.97 kB / 1.099 GB, free: 6.016 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.346e-06/0.3135, allocations: 0 / 1.099 GB, free: 6.016 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.14e-05/0.3135, allocations: 17.72 kB / 1.099 GB, free: 5.992 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.3137, allocations: 314.8 kB / 1.099 GB, free: 5.676 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.337e-05/0.3137, allocations: 8 kB / 1.099 GB, free: 5.668 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.094e-05/0.3137, allocations: 7.984 kB / 1.099 GB, free: 5.66 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.031e-05/0.3138, allocations: 16.8 kB / 1.099 GB, free: 5.641 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3138, allocations: 0 / 1.099 GB, free: 5.641 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001478/0.3139, allocations: 45.64 kB / 1.099 GB, free: 5.59 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.314, allocations: 4 kB / 1.099 GB, free: 5.586 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.997e-05/0.314, allocations: 7.984 kB / 1.099 GB, free: 5.578 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.314, allocations: 0 / 1.099 GB, free: 5.578 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.382e-06/0.314, allocations: 0 / 1.099 GB, free: 5.578 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.314, allocations: 0 / 1.099 GB, free: 5.578 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.423e-05/0.3141, allocations: 15.91 kB / 1.099 GB, free: 5.562 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.3141, allocations: 4 kB / 1.099 GB, free: 5.559 MB / 0.8575 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001282/0.3142, allocations: 185.2 kB / 1.1 GB, free: 5.367 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.06e-05/0.3143, allocations: 116.9 kB / 1.1 GB, free: 5.246 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.551e-05/0.3144, allocations: 108.8 kB / 1.1 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.869e-05/0.3145, allocations: 180.3 kB / 1.1 GB, free: 4.945 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.636e-05/0.3146, allocations: 184.2 kB / 1.1 GB, free: 4.758 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.143e-05/0.3147, allocations: 180.3 kB / 1.1 GB, free: 4.574 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002812/0.315, allocations: 417.1 kB / 1.101 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.63e-05/0.315, allocations: 105 kB / 1.101 GB, free: 4 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.35e-05/0.3151, allocations: 101 kB / 1.101 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.904e-05/0.3152, allocations: 184.1 kB / 1.101 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.863e-05/0.3153, allocations: 188.3 kB / 1.101 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.194e-05/0.3154, allocations: 180.2 kB / 1.101 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.015e-05/0.3154, allocations: 176.3 kB / 1.102 GB, free: 3.152 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001926/0.3156, allocations: 315.6 kB / 1.102 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/0.3157, allocations: 190 kB / 1.102 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.671e-05/0.3158, allocations: 184.2 kB / 1.102 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001206/0.316, allocations: 109 kB / 1.102 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/0.3161, allocations: 180.2 kB / 1.103 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.313e-05/0.3162, allocations: 101 kB / 1.103 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001384/0.3163, allocations: 101.3 kB / 1.103 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3163, allocations: 4 kB / 1.103 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001303/0.3176, allocations: 275.8 kB / 1.103 GB, free: 1.648 MB / 0.8575 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002218/0.3199, allocations: 1.16 MB / 1.104 GB, free: 472 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001725/0.3201, allocations: 45.69 kB / 1.104 GB, free: 420 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.3201, allocations: 0 / 1.104 GB, free: 420 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.599e-06/0.3201, allocations: 0 / 1.104 GB, free: 420 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005855/0.3207, allocations: 460.3 kB / 1.105 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002091/0.3228, allocations: 1.585 MB / 1.106 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003144/0.3231, allocations: 0.6846 MB / 1.107 GB, free: 13.59 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.054e-05/0.3232, allocations: 3.938 kB / 1.107 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.304e-05/0.3232, allocations: 15.44 kB / 1.107 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of SimCode: time 1.603e-06/0.3233, allocations: 0 / 1.107 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03206/0.3553, allocations: 6.87 MB / 1.114 GB, free: 6.914 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.004/8.359, allocations: 9.375 kB / 1.114 GB, free: 6.906 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)