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.InternalResistancesTwoUTube.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.001285/0.001285, allocations: 117.2 kB / 17.13 MB, free: 5.918 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.001315/0.001315, allocations: 191.7 kB / 20.08 MB, free: 2.988 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.435/1.435, 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.8471/0.8471, allocations: 129.2 MB / 432.5 MB, free: 13.41 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.InternalResistancesTwoUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003015/0.003015, allocations: 67.84 kB / 0.5988 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4219/0.4249, allocations: 83.43 MB / 0.6803 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002408/0.4273, allocations: 1.45 MB / 0.6817 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003827/0.4312, allocations: 2.905 MB / 0.6845 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.054e-05/0.4312, allocations: 0 / 0.6845 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.953e-05/0.4312, allocations: 8.953 kB / 0.6845 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.457e-05/0.4313, allocations: 18.17 kB / 0.6845 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003631/0.4349, allocations: 1.589 MB / 0.6861 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001022/0.435, allocations: 41.48 kB / 0.6861 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.366e-05/0.4351, allocations: 1.531 kB / 0.6861 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.979e-05/0.4351, allocations: 16.19 kB / 0.6861 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.818e-05/0.4351, allocations: 19.58 kB / 0.6862 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.076e-05/0.4352, allocations: 1.375 kB / 0.6862 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002266/0.4374, allocations: 1.575 MB / 0.6877 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.823e-05/0.4374, allocations: 9.109 kB / 0.6877 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.265e-05/0.4375, allocations: 15.59 kB / 0.6877 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001553/0.439, allocations: 1.121 MB / 0.6888 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.439, allocations: 1.188 kB / 0.6888 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.114e-06/0.439, allocations: 0 / 0.6888 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.274e-05/0.439, allocations: 0 / 0.6888 GB, free: 15.91 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.0007384/0.4398, allocations: 0.5314 MB / 0.6893 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.4398, allocations: 13.31 kB / 0.6894 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.819e-05/0.4399, allocations: 107.1 kB / 0.6895 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.074e-05/0.44, allocations: 86.44 kB / 0.6895 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002007/0.4402, allocations: 250.4 kB / 0.6898 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.272e-05/0.4403, allocations: 158.5 kB / 0.6899 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.618e-05/0.4404, allocations: 151.8 kB / 0.6901 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.535e-05/0.4404, allocations: 108.9 kB / 0.6902 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.822e-05/0.4405, allocations: 76.59 kB / 0.6902 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.381e-05/0.4405, allocations: 150.6 kB / 0.6904 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.893e-05/0.4406, allocations: 150.6 kB / 0.6905 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.837e-05/0.4407, allocations: 151.8 kB / 0.6907 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003547/0.441, allocations: 473.9 kB / 0.6911 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001013/0.4411, allocations: 170.2 kB / 0.6913 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.139e-05/0.4412, allocations: 84.12 kB / 0.6914 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.77e-05/0.4412, allocations: 79.28 kB / 0.6914 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.826e-05/0.4413, allocations: 107 kB / 0.6916 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.4413, allocations: 4 kB / 0.6916 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0): time 8.776e-05/0.4414, allocations: 33.28 kB / 0.6916 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.137e-05/0.4414, allocations: 130.6 kB / 0.6917 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001591/0.4416, allocations: 131.4 kB / 0.6918 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.4416, allocations: 26.8 kB / 0.6919 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.811e-05/0.4417, allocations: 94.38 kB / 0.692 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.174e-06/0.4417, allocations: 0 / 0.692 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.352e-05/0.4417, allocations: 19.47 kB / 0.692 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.4419, allocations: 323.7 kB / 0.6923 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.653e-05/0.4419, allocations: 8.281 kB / 0.6923 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.515e-05/0.4419, allocations: 2.875 kB / 0.6923 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.26e-05/0.442, allocations: 18.55 kB / 0.6923 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.442, allocations: 1.781 kB / 0.6923 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001254/0.4421, allocations: 51.34 kB / 0.6924 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.4421, allocations: 11.72 kB / 0.6924 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.595e-05/0.4421, allocations: 7.828 kB / 0.6924 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.4421, allocations: 0 / 0.6924 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.31e-07/0.4421, allocations: 4.062 kB / 0.6924 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.4421, allocations: 1.469 kB / 0.6924 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.302e-05/0.4422, allocations: 3.984 kB / 0.6924 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.4422, allocations: 2.375 kB / 0.6924 GB, free: 12.18 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.0001193/0.4423, allocations: 187 kB / 0.6926 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.693e-05/0.4424, allocations: 115.7 kB / 0.6927 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.597e-05/0.4424, allocations: 119.2 kB / 0.6928 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.977e-05/0.4425, allocations: 184.3 kB / 0.693 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.511e-05/0.4426, allocations: 178.3 kB / 0.6931 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.84e-05/0.4427, allocations: 180.2 kB / 0.6933 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002929/0.443, allocations: 420 kB / 0.6937 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.503e-05/0.443, allocations: 106.3 kB / 0.6938 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.613e-05/0.4431, allocations: 102.4 kB / 0.6939 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.053e-05/0.4432, allocations: 180.3 kB / 0.6941 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.289e-05/0.4432, allocations: 181.7 kB / 0.6943 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.755e-05/0.4433, allocations: 185.3 kB / 0.6944 GB, free: 9.965 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.075e-05/0.4434, allocations: 185.8 kB / 0.6946 GB, free: 9.777 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001623/0.4436, allocations: 308.6 kB / 0.6949 GB, free: 9.457 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.614e-05/0.4437, allocations: 191.2 kB / 0.6951 GB, free: 9.246 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.958e-05/0.4438, allocations: 182.6 kB / 0.6953 GB, free: 9.062 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.4439, allocations: 104.9 kB / 0.6954 GB, free: 8.953 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.42e-05/0.4439, allocations: 177.4 kB / 0.6955 GB, free: 8.773 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.678e-05/0.444, allocations: 114.1 kB / 0.6956 GB, free: 8.656 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.444e-05/0.4441, allocations: 105.8 kB / 0.6957 GB, free: 8.566 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.4441, allocations: 0 / 0.6957 GB, free: 8.566 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0009729/0.445, allocations: 289.1 kB / 0.696 GB, free: 8.48 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.001441/0.4465, allocations: 1.183 MB / 0.6972 GB, free: 7.492 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001069/0.4466, allocations: 33.27 kB / 0.6972 GB, free: 7.461 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.733e-06/0.4466, allocations: 0 / 0.6972 GB, free: 7.461 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 7.063e-06/0.4466, allocations: 13.42 kB / 0.6972 GB, free: 7.449 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004462/0.447, allocations: 459.8 kB / 0.6977 GB, free: 7 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001591/0.4486, allocations: 1.606 MB / 0.6992 GB, free: 5.508 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003297/0.449, allocations: 0.6848 MB / 0.6999 GB, free: 4.805 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.554e-05/0.449, allocations: 1.406 kB / 0.6999 GB, free: 4.805 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.448e-05/0.449, allocations: 16.94 kB / 0.6999 GB, free: 4.789 MB / 0.5137 GB Notification: Performance of SimCode: time 8.41e-07/0.449, allocations: 4.031 kB / 0.6999 GB, free: 4.785 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0347/0.4837, allocations: 7.1 MB / 0.7068 GB, free: 1.184 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.53/11.02, allocations: 2.906 kB / 0.7068 GB, free: 1.184 MB / 0.5137 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.292768385261297] Failed to read output from testmodel.py, exit status != 0: 11.101676303893328 11.115475861 10.673408478 Calling exit ...