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.InternalResistancesTwoUTubeNegative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 105.8 kB / 17.54 MB, free: 4.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001384/0.001384, allocations: 186.6 kB / 20.71 MB, free: 1.621 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.276/1.276, allocations: 225.6 MB / 249.3 MB, free: 3.309 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.303/2.303, allocations: 443.5 MB / 0.7304 GB, free: 13.92 MB / 0.5762 GB " [Timeout remaining time 177] 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.InternalResistancesTwoUTubeNegative,fileNamePrefix="Buildings_10_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_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001735/0.001735, allocations: 63.91 kB / 1.059 GB, free: 0.8516 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2494/0.2511, allocations: 160.7 MB / 1.216 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002227/0.2533, allocations: 1.446 MB / 1.217 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003883/0.2572, allocations: 2.94 MB / 1.22 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.73e-05/0.2572, allocations: 4 kB / 1.22 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.483e-05/0.2572, allocations: 7.875 kB / 1.22 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.077e-05/0.2573, allocations: 15.8 kB / 1.22 GB, free: 11.37 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003308/0.2606, allocations: 1.596 MB / 1.221 GB, free: 9.793 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.071e-05/0.2607, allocations: 43.67 kB / 1.222 GB, free: 9.75 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 2.951e-05/0.2607, allocations: 0 / 1.222 GB, free: 9.75 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.948e-05/0.2607, allocations: 15.94 kB / 1.222 GB, free: 9.734 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 2.951e-05/0.2608, allocations: 19.91 kB / 1.222 GB, free: 9.715 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.315e-06/0.2608, allocations: 4 kB / 1.222 GB, free: 9.711 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002115/0.2629, allocations: 1.572 MB / 1.223 GB, free: 8.137 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.746e-05/0.2629, allocations: 15.92 kB / 1.223 GB, free: 8.121 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.675e-05/0.2629, allocations: 15.88 kB / 1.223 GB, free: 8.105 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001515/0.2645, allocations: 1.118 MB / 1.224 GB, free: 6.984 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.2645, allocations: 0 / 1.224 GB, free: 6.984 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.172e-06/0.2645, allocations: 0 / 1.224 GB, free: 6.984 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.2645, allocations: 3.938 kB / 1.224 GB, free: 6.98 MB / 0.9669 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.0006657/0.2651, allocations: 0.5286 MB / 1.225 GB, free: 6.402 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.2652, allocations: 8.031 kB / 1.225 GB, free: 6.395 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.132e-05/0.2652, allocations: 106 kB / 1.225 GB, free: 6.281 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.467e-05/0.2653, allocations: 84.17 kB / 1.225 GB, free: 6.199 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001511/0.2654, allocations: 251.5 kB / 1.225 GB, free: 5.914 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.878e-05/0.2655, allocations: 154.9 kB / 1.225 GB, free: 5.762 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.455e-05/0.2656, allocations: 154.9 kB / 1.225 GB, free: 5.609 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.482e-05/0.2656, allocations: 104.9 kB / 1.226 GB, free: 5.5 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.086e-05/0.2656, allocations: 75.28 kB / 1.226 GB, free: 5.426 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.764e-05/0.2657, allocations: 158.5 kB / 1.226 GB, free: 5.27 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.466e-05/0.2658, allocations: 154.5 kB / 1.226 GB, free: 5.117 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.21e-05/0.2658, allocations: 150.6 kB / 1.226 GB, free: 4.969 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002863/0.2661, allocations: 469.9 kB / 1.227 GB, free: 4.461 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.958e-05/0.2662, allocations: 165.1 kB / 1.227 GB, free: 4.289 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.531e-05/0.2662, allocations: 80.14 kB / 1.227 GB, free: 4.207 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.382e-05/0.2662, allocations: 83.22 kB / 1.227 GB, free: 4.125 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.942e-05/0.2663, allocations: 121.7 kB / 1.227 GB, free: 3.996 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 8.41e-07/0.2663, allocations: 4 kB / 1.227 GB, free: 3.992 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 7.018e-05/0.2664, allocations: 33.64 kB / 1.227 GB, free: 3.953 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.15e-05/0.2664, allocations: 126.7 kB / 1.227 GB, free: 3.816 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001249/0.2666, allocations: 135.5 kB / 1.227 GB, free: 3.676 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.2666, allocations: 25.7 kB / 1.227 GB, free: 3.645 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.619e-05/0.2666, allocations: 88.09 kB / 1.227 GB, free: 3.555 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.633e-06/0.2666, allocations: 4 kB / 1.227 GB, free: 3.551 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.449e-05/0.2667, allocations: 25.7 kB / 1.227 GB, free: 3.52 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.2668, allocations: 314.8 kB / 1.228 GB, free: 3.203 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.247e-05/0.2668, allocations: 4 kB / 1.228 GB, free: 3.199 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.764e-05/0.2668, allocations: 7.984 kB / 1.228 GB, free: 3.191 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.344e-05/0.2668, allocations: 16.8 kB / 1.228 GB, free: 3.172 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.2668, allocations: 4 kB / 1.228 GB, free: 3.168 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001116/0.267, allocations: 45.64 kB / 1.228 GB, free: 3.117 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.267, allocations: 8 kB / 1.228 GB, free: 3.109 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.526e-05/0.267, allocations: 4.062 kB / 1.228 GB, free: 3.105 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.267, allocations: 4 kB / 1.228 GB, free: 3.102 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.61e-07/0.267, allocations: 0 / 1.228 GB, free: 3.102 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.982e-06/0.267, allocations: 3.984 kB / 1.228 GB, free: 3.098 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.129e-05/0.267, allocations: 3.953 kB / 1.228 GB, free: 3.094 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.267, allocations: 0 / 1.228 GB, free: 3.094 MB / 0.9669 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 9.439e-05/0.2671, allocations: 189.1 kB / 1.228 GB, free: 2.898 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.273e-05/0.2672, allocations: 120.9 kB / 1.228 GB, free: 2.773 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.291e-05/0.2672, allocations: 112.9 kB / 1.228 GB, free: 2.652 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.448e-05/0.2673, allocations: 184.2 kB / 1.228 GB, free: 2.465 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.243e-05/0.2674, allocations: 176.3 kB / 1.229 GB, free: 2.285 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.459e-05/0.2674, allocations: 180.3 kB / 1.229 GB, free: 2.102 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002293/0.2677, allocations: 417.1 kB / 1.229 GB, free: 1.637 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-05/0.2677, allocations: 109 kB / 1.229 GB, free: 1.523 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.212e-05/0.2678, allocations: 108.9 kB / 1.229 GB, free: 1.41 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.381e-05/0.2678, allocations: 176.3 kB / 1.229 GB, free: 1.23 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.365e-05/0.2679, allocations: 180.2 kB / 1.23 GB, free: 1.047 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.021e-05/0.2679, allocations: 192.3 kB / 1.23 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.267e-05/0.268, allocations: 176.3 kB / 1.23 GB, free: 0.6719 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001357/0.2681, allocations: 315.7 kB / 1.23 GB, free: 348 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 8.038e-05/0.2682, allocations: 186 kB / 1.23 GB, free: 136 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.293e-05/0.2683, allocations: 180.2 kB / 1.231 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.822e-05/0.2684, allocations: 109 kB / 1.231 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.164e-05/0.2685, allocations: 188.2 kB / 1.231 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.774e-05/0.2685, allocations: 101 kB / 1.231 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.312e-05/0.2686, allocations: 105.2 kB / 1.231 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.2686, allocations: 3.938 kB / 1.231 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0006871/0.2692, allocations: 283 kB / 1.231 GB, free: 15.16 MB / 0.9825 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.001374/0.2706, allocations: 1.198 MB / 1.233 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.363e-05/0.2707, allocations: 37.7 kB / 1.233 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.2707, allocations: 0 / 1.233 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.994e-06/0.2707, allocations: 0 / 1.233 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003779/0.2711, allocations: 471.7 kB / 1.233 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001374/0.2725, allocations: 1.595 MB / 1.235 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002551/0.2727, allocations: 0.6807 MB / 1.235 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.517e-05/0.2727, allocations: 7.969 kB / 1.235 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.525e-05/0.2728, allocations: 19.42 kB / 1.235 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of SimCode: time 3.6e-07/0.2728, allocations: 0 / 1.235 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03001/0.3028, allocations: 7.018 MB / 1.242 GB, free: 4.129 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.215/7.518, allocations: 4.812 kB / 1.242 GB, free: 4.129 MB / 0.9825 GB " [Timeout remaining time 292] (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.fmu > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 12.64854960500088]