Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001898/0.001898, allocations: 117.1 kB / 17.13 MB, free: 5.941 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.002218/0.002218, allocations: 195.7 kB / 20.08 MB, free: 3.008 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.499/1.499, allocations: 225.6 MB / 248.5 MB, free: 3.625 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8394/0.8394, allocations: 129.2 MB / 432.5 MB, free: 13.15 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001885/0.001885, allocations: 71.83 kB / 0.5988 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3852/0.3871, allocations: 83.45 MB / 0.6803 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002077/0.3891, allocations: 1.441 MB / 0.6817 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003367/0.3925, allocations: 2.906 MB / 0.6845 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.432e-05/0.3925, allocations: 1.25 kB / 0.6845 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.237e-05/0.3926, allocations: 3.938 kB / 0.6845 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.176e-05/0.3926, allocations: 17 kB / 0.6845 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003106/0.3957, allocations: 1.598 MB / 0.6861 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.824e-05/0.3958, allocations: 42.33 kB / 0.6861 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.172e-05/0.3958, allocations: 2.344 kB / 0.6861 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.255e-05/0.3958, allocations: 15.59 kB / 0.6861 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.502e-05/0.3959, allocations: 24.17 kB / 0.6862 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.649e-06/0.3959, allocations: 1.188 kB / 0.6862 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001782/0.3977, allocations: 1.571 MB / 0.6877 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.334e-05/0.3977, allocations: 9.156 kB / 0.6877 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.842e-05/0.3977, allocations: 19.81 kB / 0.6877 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001358/0.3991, allocations: 1.117 MB / 0.6888 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3991, allocations: 0 / 0.6888 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.422e-06/0.3991, allocations: 1.125 kB / 0.6888 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.3991, allocations: 4 kB / 0.6888 GB, free: 15.9 MB / 0.5137 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.0007015/0.3998, allocations: 0.5309 MB / 0.6893 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.3998, allocations: 10.22 kB / 0.6894 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.648e-05/0.3999, allocations: 110 kB / 0.6895 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.77e-05/0.4, allocations: 82.36 kB / 0.6895 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001802/0.4001, allocations: 258.5 kB / 0.6898 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.225e-05/0.4002, allocations: 155.6 kB / 0.6899 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.361e-05/0.4003, allocations: 158.6 kB / 0.6901 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.148e-05/0.4003, allocations: 102.2 kB / 0.6902 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.763e-05/0.4004, allocations: 75.28 kB / 0.6903 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.627e-05/0.4005, allocations: 151.6 kB / 0.6904 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.952e-05/0.4005, allocations: 150.6 kB / 0.6905 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.849e-05/0.4006, allocations: 155.8 kB / 0.6907 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003366/0.4009, allocations: 473.5 kB / 0.6911 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 9.055e-05/0.401, allocations: 166.2 kB / 0.6913 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.989e-05/0.401, allocations: 80.14 kB / 0.6914 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.308e-05/0.4011, allocations: 75.28 kB / 0.6914 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.156e-05/0.4011, allocations: 122.8 kB / 0.6916 GB, free: 13 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.4011, allocations: 1.219 kB / 0.6916 GB, free: 13 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0): time 7.874e-05/0.4012, allocations: 36.03 kB / 0.6916 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.944e-05/0.4013, allocations: 126.7 kB / 0.6917 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000135/0.4014, allocations: 128 kB / 0.6918 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/0.4014, allocations: 29.7 kB / 0.6919 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.22e-05/0.4015, allocations: 86.7 kB / 0.692 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.924e-06/0.4015, allocations: 4 kB / 0.692 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.782e-05/0.4015, allocations: 22.92 kB / 0.692 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.4017, allocations: 317 kB / 0.6923 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.354e-05/0.4017, allocations: 7.375 kB / 0.6923 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.737e-05/0.4017, allocations: 7.078 kB / 0.6923 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.099e-05/0.4017, allocations: 15.42 kB / 0.6923 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.4017, allocations: 0 / 0.6923 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001276/0.4019, allocations: 51.81 kB / 0.6924 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.4019, allocations: 13.91 kB / 0.6924 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/0.4019, allocations: 3.469 kB / 0.6924 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.4019, allocations: 3.984 kB / 0.6924 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.21e-07/0.4019, allocations: 0 / 0.6924 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.4019, allocations: 1.281 kB / 0.6924 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.046e-05/0.4019, allocations: 1.031 kB / 0.6924 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.251e-06/0.402, allocations: 1.062 kB / 0.6924 GB, free: 12.17 MB / 0.5137 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.0001019/0.4021, allocations: 186.2 kB / 0.6926 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.148e-05/0.4021, allocations: 120.5 kB / 0.6927 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.836e-05/0.4022, allocations: 119 kB / 0.6928 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.422e-05/0.4023, allocations: 184.2 kB / 0.693 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-05/0.4023, allocations: 181.5 kB / 0.6931 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.851e-05/0.4024, allocations: 177.5 kB / 0.6933 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002476/0.4026, allocations: 420.2 kB / 0.6937 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.332e-05/0.4027, allocations: 114.1 kB / 0.6938 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.138e-05/0.4027, allocations: 101 kB / 0.6939 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.102e-05/0.4028, allocations: 181.3 kB / 0.6941 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.3e-05/0.4029, allocations: 177.3 kB / 0.6943 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.782e-05/0.4029, allocations: 181.4 kB / 0.6944 GB, free: 9.957 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.393e-05/0.403, allocations: 189.5 kB / 0.6946 GB, free: 9.766 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000153/0.4032, allocations: 312.4 kB / 0.6949 GB, free: 9.441 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.325e-05/0.4033, allocations: 184.4 kB / 0.6951 GB, free: 9.238 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.425e-05/0.4034, allocations: 185.3 kB / 0.6953 GB, free: 9.051 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.599e-05/0.4034, allocations: 106.2 kB / 0.6954 GB, free: 8.941 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.063e-05/0.4035, allocations: 181.4 kB / 0.6955 GB, free: 8.758 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.654e-05/0.4036, allocations: 110 kB / 0.6956 GB, free: 8.645 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.027e-05/0.4036, allocations: 102.5 kB / 0.6957 GB, free: 8.559 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.4036, allocations: 0 / 0.6957 GB, free: 8.559 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007651/0.4044, allocations: 286.7 kB / 0.696 GB, free: 8.477 MB / 0.5137 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.001319/0.4057, allocations: 1.187 MB / 0.6972 GB, free: 7.484 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 9.341e-05/0.4058, allocations: 37.86 kB / 0.6972 GB, free: 7.449 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.4058, allocations: 0 / 0.6972 GB, free: 7.449 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.054e-06/0.4058, allocations: 5.25 kB / 0.6972 GB, free: 7.445 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000409/0.4062, allocations: 463.2 kB / 0.6977 GB, free: 6.992 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001401/0.4076, allocations: 1.606 MB / 0.6992 GB, free: 5.5 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002835/0.4079, allocations: 0.6891 MB / 0.6999 GB, free: 4.793 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.286e-05/0.4079, allocations: 0 / 0.6999 GB, free: 4.793 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.646e-05/0.4079, allocations: 18.09 kB / 0.6999 GB, free: 4.777 MB / 0.5137 GB Notification: Performance of SimCode: time 3.81e-07/0.4079, allocations: 0 / 0.6999 GB, free: 4.777 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0314/0.4393, allocations: 7.109 MB / 0.7069 GB, free: 1.164 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.3/10.74, allocations: 4.156 kB / 0.7069 GB, free: 1.164 MB / 0.5137 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.090682382695377] Failed to read output from testmodel.py, exit status != 0: 10.822796603664756 10.845597619 10.442387906 Calling exit ...