Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.00686/0.00686, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001805/0.001805, allocations: 201 kB / 16.68 MB, free: 5.969 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.472/1.472, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.753/2.753, allocations: 437 MB / 0.7105 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001838/0.001838, allocations: 63.89 kB / 1.018 GB, free: 15 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3047/0.3065, allocations: 151.6 MB / 1.166 GB, free: 7.262 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002974/0.3095, allocations: 1.427 MB / 1.168 GB, free: 5.82 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.004955/0.3145, allocations: 2.856 MB / 1.17 GB, free: 2.945 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.512e-05/0.3146, allocations: 3.938 kB / 1.17 GB, free: 2.941 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.649e-05/0.3147, allocations: 7.938 kB / 1.17 GB, free: 2.934 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.263e-05/0.3148, allocations: 7.875 kB / 1.17 GB, free: 2.926 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.004329/0.3191, allocations: 1.577 MB / 1.172 GB, free: 1.371 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001027/0.3192, allocations: 43.67 kB / 1.172 GB, free: 1.328 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.241e-05/0.3193, allocations: 0 / 1.172 GB, free: 1.328 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3.108e-05/0.3193, allocations: 15.94 kB / 1.172 GB, free: 1.312 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 2.877e-05/0.3193, allocations: 15.92 kB / 1.172 GB, free: 1.297 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.047e-05/0.3193, allocations: 0 / 1.172 GB, free: 1.297 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002314/0.3217, allocations: 1.494 MB / 1.174 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.55e-05/0.3217, allocations: 3.938 kB / 1.174 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.341e-05/0.3217, allocations: 19.88 kB / 1.174 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001488/0.3232, allocations: 1.079 MB / 1.175 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3233, allocations: 0 / 1.175 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3233, allocations: 0 / 1.175 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.062e-06/0.3233, allocations: 7.938 kB / 1.175 GB, free: 14.69 MB / 0.9356 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.0006709/0.3239, allocations: 0.5285 MB / 1.175 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.324, allocations: 8.031 kB / 1.175 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.106e-05/0.3241, allocations: 110 kB / 1.175 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.632e-05/0.3242, allocations: 88.17 kB / 1.175 GB, free: 13.9 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001837/0.3244, allocations: 247.6 kB / 1.176 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.088e-05/0.3244, allocations: 150.9 kB / 1.176 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.323e-05/0.3245, allocations: 150.9 kB / 1.176 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.939e-05/0.3246, allocations: 120.8 kB / 1.176 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.558e-05/0.3247, allocations: 79.28 kB / 1.176 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.515e-05/0.3247, allocations: 150.6 kB / 1.176 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.059e-05/0.3248, allocations: 150.6 kB / 1.176 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.687e-05/0.3249, allocations: 150.6 kB / 1.176 GB, free: 12.67 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003305/0.3252, allocations: 461.9 kB / 1.177 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 9.687e-05/0.3253, allocations: 177.1 kB / 1.177 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.139e-05/0.3253, allocations: 80.14 kB / 1.177 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.64e-05/0.3254, allocations: 79.22 kB / 1.177 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.684e-05/0.3255, allocations: 109.8 kB / 1.177 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 9.11e-07/0.3255, allocations: 0 / 1.177 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 7.834e-05/0.3255, allocations: 33.66 kB / 1.177 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.039e-05/0.3256, allocations: 130.7 kB / 1.177 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001486/0.3258, allocations: 135.8 kB / 1.178 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.802e-05/0.3258, allocations: 25.7 kB / 1.178 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.655e-05/0.3259, allocations: 92.06 kB / 1.178 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.104e-06/0.3259, allocations: 0 / 1.178 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.882e-05/0.3259, allocations: 21.72 kB / 1.178 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.326, allocations: 314.8 kB / 1.178 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.557e-05/0.3261, allocations: 12 kB / 1.178 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.641e-05/0.3261, allocations: 4 kB / 1.178 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.562e-05/0.3261, allocations: 8.906 kB / 1.178 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.3262, allocations: 4 kB / 1.178 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001316/0.3263, allocations: 53.58 kB / 1.178 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.3263, allocations: 11.94 kB / 1.178 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.897e-05/0.3263, allocations: 0 / 1.178 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.3264, allocations: 0 / 1.178 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.075e-06/0.3264, allocations: 0 / 1.178 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.037e-06/0.3264, allocations: 7.938 kB / 1.178 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.973e-05/0.3264, allocations: 4.062 kB / 1.178 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.3264, allocations: 0 / 1.178 GB, free: 10.81 MB / 0.9356 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.0001113/0.3265, allocations: 189.1 kB / 1.178 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.072e-05/0.3266, allocations: 112.9 kB / 1.178 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.111e-05/0.3267, allocations: 112.8 kB / 1.179 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.188e-05/0.3268, allocations: 184.1 kB / 1.179 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.062e-05/0.3268, allocations: 180.3 kB / 1.179 GB, free: 10 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.381e-05/0.3269, allocations: 184.2 kB / 1.179 GB, free: 9.816 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002767/0.3272, allocations: 417.1 kB / 1.179 GB, free: 9.352 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.306e-05/0.3273, allocations: 101 kB / 1.18 GB, free: 9.246 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.995e-05/0.3273, allocations: 109 kB / 1.18 GB, free: 9.133 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.588e-05/0.3274, allocations: 184.2 kB / 1.18 GB, free: 8.945 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.952e-05/0.3275, allocations: 180.2 kB / 1.18 GB, free: 8.762 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.946e-05/0.3276, allocations: 188.2 kB / 1.18 GB, free: 8.57 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.779e-05/0.3277, allocations: 184.2 kB / 1.18 GB, free: 8.383 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001573/0.3278, allocations: 307.7 kB / 1.181 GB, free: 8.059 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001049/0.3279, allocations: 190 kB / 1.181 GB, free: 7.848 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.603e-05/0.328, allocations: 180.3 kB / 1.181 GB, free: 7.664 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.493e-05/0.3281, allocations: 108.9 kB / 1.181 GB, free: 7.551 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.067e-05/0.3282, allocations: 176.3 kB / 1.181 GB, free: 7.371 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.341e-05/0.3283, allocations: 105 kB / 1.181 GB, free: 7.262 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.099e-05/0.3283, allocations: 109.4 kB / 1.181 GB, free: 7.156 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3283, allocations: 0 / 1.181 GB, free: 7.156 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0007044/0.3291, allocations: 275 kB / 1.182 GB, free: 6.887 MB / 0.9356 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.001369/0.3304, allocations: 1.178 MB / 1.183 GB, free: 5.68 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001053/0.3305, allocations: 33.7 kB / 1.183 GB, free: 5.641 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3306, allocations: 0 / 1.183 GB, free: 5.641 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 2.114e-06/0.3306, allocations: 0 / 1.183 GB, free: 5.641 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004275/0.331, allocations: 467.6 kB / 1.183 GB, free: 5.18 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001514/0.3325, allocations: 1.592 MB / 1.185 GB, free: 3.512 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003102/0.3328, allocations: 0.6807 MB / 1.186 GB, free: 2.805 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.755e-05/0.3329, allocations: 4 kB / 1.186 GB, free: 2.801 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.428e-05/0.3329, allocations: 15.38 kB / 1.186 GB, free: 2.785 MB / 0.9356 GB Notification: Performance of SimCode: time 2.41e-07/0.3329, allocations: 0 / 1.186 GB, free: 2.785 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03097/0.3639, allocations: 6.887 MB / 1.192 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.254/8.618, allocations: 4.781 kB / 1.192 GB, free: 12.1 MB / 0.9512 GB (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.fmu > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)