Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007161/0.0007161, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007333/0.0007333, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8352/0.8352, allocations: 177.2 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001455/0.001455, allocations: 237.7 kB / 259.4 MB, free: 13.02 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6492/0.6492, allocations: 138.4 MB / 454.3 MB, free: 29.98 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 0.6464 GB, free: 1.773 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.043e-05/1.166e-05, allocations: 2.281 kB / 0.6464 GB, free: 1.77 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.001467/0.001479, allocations: 1.369 MB / 0.6477 GB, free: 396 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.199/0.2005, allocations: 1.036 MB / 0.6487 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.021e-05/0.2005, allocations: 0 / 0.6487 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 1.859e-05/0.2005, allocations: 6.656 kB / 0.6487 GB, free: 55.78 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 4.137e-05/0.2006, allocations: 8.797 kB / 0.6487 GB, free: 55.78 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004887/0.2011, allocations: 225.7 kB / 0.649 GB, free: 55.75 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 5.673e-05/0.2011, allocations: 34.88 kB / 0.649 GB, free: 55.74 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.824e-05/0.2012, allocations: 3.625 kB / 0.649 GB, free: 55.74 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001045/0.2013, allocations: 21.03 kB / 0.649 GB, free: 55.74 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 4.508e-05/0.2013, allocations: 11 kB / 0.649 GB, free: 55.74 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.045e-05/0.2013, allocations: 1.656 kB / 0.649 GB, free: 55.74 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004414/0.2018, allocations: 411 kB / 0.6494 GB, free: 55.73 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.137e-05/0.2018, allocations: 5.766 kB / 0.6494 GB, free: 55.73 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 1.92e-05/0.2018, allocations: 8.609 kB / 0.6494 GB, free: 55.73 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002823/0.2021, allocations: 249.5 kB / 0.6497 GB, free: 55.71 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.2021, allocations: 0.7188 kB / 0.6497 GB, free: 55.71 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.342e-06/0.2021, allocations: 0.5625 kB / 0.6497 GB, free: 55.71 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.2021, allocations: 0.8125 kB / 0.6497 GB, free: 55.71 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002963/0.2024, allocations: 316.8 kB / 0.65 GB, free: 55.41 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.2024, allocations: 10.28 kB / 0.65 GB, free: 55.41 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.104e-05/0.2024, allocations: 33.02 kB / 0.65 GB, free: 55.37 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.004e-05/0.2025, allocations: 7.656 kB / 0.65 GB, free: 55.37 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.062e-05/0.2025, allocations: 112.5 kB / 0.6501 GB, free: 55.24 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.235e-06/0.2025, allocations: 1.688 kB / 0.6501 GB, free: 55.24 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.184e-06/0.2025, allocations: 2.875 kB / 0.6501 GB, free: 55.24 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.216e-05/0.2026, allocations: 39.72 kB / 0.6502 GB, free: 55.21 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.232e-06/0.2026, allocations: 192 / 0.6502 GB, free: 55.21 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.554e-06/0.2026, allocations: 9.812 kB / 0.6502 GB, free: 55.2 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.2026, allocations: 3.938 kB / 0.6502 GB, free: 55.2 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.225e-05/0.2027, allocations: 15.03 kB / 0.6502 GB, free: 55.2 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.372e-05/0.2027, allocations: 130.8 kB / 0.6503 GB, free: 55.04 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 6.928e-05/0.2028, allocations: 40.73 kB / 0.6504 GB, free: 55.02 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.197e-05/0.2028, allocations: 12.67 kB / 0.6504 GB, free: 55.01 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003088/0.2031, allocations: 95.88 kB / 0.6505 GB, free: 55.01 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.225e-05/0.2032, allocations: 32.5 kB / 0.6505 GB, free: 54.97 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.2032, allocations: 0 / 0.6505 GB, free: 54.97 MB / 0.5573 GB Notification: Performance of matching and sorting (n=4): time 0.0001253/0.2033, allocations: 70.52 kB / 0.6506 GB, free: 54.93 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.603e-05/0.2033, allocations: 52.72 kB / 0.6506 GB, free: 54.87 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.21e-05/0.2033, allocations: 105.9 kB / 0.6507 GB, free: 54.77 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 4.278e-06/0.2033, allocations: 25.7 kB / 0.6507 GB, free: 54.74 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 1.383e-05/0.2034, allocations: 85.33 kB / 0.6508 GB, free: 54.66 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.085e-05/0.2034, allocations: 18.09 kB / 0.6508 GB, free: 54.64 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.128e-05/0.2034, allocations: 14.5 kB / 0.6509 GB, free: 54.63 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 2.239e-05/0.2034, allocations: 317.1 kB / 0.6512 GB, free: 54.32 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.402e-05/0.2034, allocations: 6.156 kB / 0.6512 GB, free: 54.32 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.19e-05/0.2034, allocations: 12.59 kB / 0.6512 GB, free: 54.32 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.098e-05/0.2035, allocations: 24.91 kB / 0.6512 GB, free: 54.3 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.2035, allocations: 0 / 0.6512 GB, free: 54.3 MB / 0.5573 GB Notification: Performance of matching and sorting (n=4) (initialization): time 4.566e-05/0.2035, allocations: 52.55 kB / 0.6512 GB, free: 54.27 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/0.2035, allocations: 7.688 kB / 0.6513 GB, free: 54.27 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.2035, allocations: 0.8125 kB / 0.6513 GB, free: 54.27 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.2035, allocations: 3.938 kB / 0.6513 GB, free: 54.27 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.296e-05/0.2036, allocations: 14.23 kB / 0.6513 GB, free: 54.27 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.577e-06/0.2036, allocations: 0 / 0.6513 GB, free: 54.27 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.298e-05/0.2036, allocations: 3.656 kB / 0.6513 GB, free: 54.27 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-06/0.2036, allocations: 3.938 kB / 0.6513 GB, free: 54.27 MB / 0.5573 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 (4): * Single equations (assignments): 4 * 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 prepare postOptimizeDAE: time 3.012e-05/0.2037, allocations: 111 kB / 0.6514 GB, free: 54.16 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.06e-06/0.2037, allocations: 8.281 kB / 0.6514 GB, free: 54.15 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.815e-05/0.2038, allocations: 65.67 kB / 0.6515 GB, free: 54.11 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.2038, allocations: 5.75 kB / 0.6515 GB, free: 54.11 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.2038, allocations: 0.625 kB / 0.6515 GB, free: 54.11 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.2038, allocations: 0 / 0.6515 GB, free: 54.11 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.43e-05/0.2038, allocations: 133.8 kB / 0.6516 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.2038, allocations: 3 kB / 0.6516 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.153e-05/0.2038, allocations: 12.88 kB / 0.6516 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.71e-07/0.2038, allocations: 0.5 kB / 0.6516 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.38e-06/0.2038, allocations: 5.875 kB / 0.6516 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.2038, allocations: 6.125 kB / 0.6516 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2038, allocations: 0 / 0.6516 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.867e-05/0.2039, allocations: 78.36 kB / 0.6517 GB, free: 53.88 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.092e-06/0.2039, allocations: 6.312 kB / 0.6517 GB, free: 53.88 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.466e-06/0.2039, allocations: 1.969 kB / 0.6517 GB, free: 53.88 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.879e-06/0.2039, allocations: 5.25 kB / 0.6517 GB, free: 53.87 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.176e-05/0.2039, allocations: 7.031 kB / 0.6517 GB, free: 53.87 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-06/0.2039, allocations: 0 / 0.6517 GB, free: 53.87 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 1.323e-05/0.204, allocations: 83.53 kB / 0.6518 GB, free: 53.8 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.204, allocations: 0 / 0.6518 GB, free: 53.8 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001544/0.2041, allocations: 51.12 kB / 0.6518 GB, free: 53.79 MB / 0.5573 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 (4): * Single equations (assignments): 4 * 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.0002385/0.2043, allocations: 0.6784 MB / 0.6525 GB, free: 53.18 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 6.663e-05/0.2044, allocations: 19.5 kB / 0.6525 GB, free: 53.18 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.2044, allocations: 2.25 kB / 0.6525 GB, free: 53.18 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 1.232e-05/0.2044, allocations: 7.391 kB / 0.6525 GB, free: 53.18 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001762/0.2046, allocations: 13.09 kB / 0.6525 GB, free: 53.18 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002805/0.2049, allocations: 187.8 kB / 0.6527 GB, free: 53.02 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.501e-05/0.2049, allocations: 66.59 kB / 0.6528 GB, free: 52.95 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 2.374e-05/0.2049, allocations: 7.109 kB / 0.6528 GB, free: 52.95 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.804e-05/0.205, allocations: 18.11 kB / 0.6528 GB, free: 52.94 MB / 0.5573 GB Notification: Performance of SimCode: time 4.71e-07/0.205, allocations: 0 / 0.6528 GB, free: 52.94 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01553/0.2205, allocations: 2.968 MB / 0.6557 GB, free: 52.11 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.622/6.843, allocations: 8.312 kB / 0.6557 GB, free: 52.11 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe_fmu --startTime=0 --stopTime=10000 --stepSize=4 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.224313818849623] Failed to read output from testmodel.py, exit status != 0: 6.922754391096532 6.930798085 6.727003557 Calling exit ...