Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.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.0007993/0.0007993, 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.0007773/0.0007773, allocations: 165.9 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.8399/0.8399, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.001401/0.001401, allocations: 233.6 kB / 259.4 MB, free: 13.03 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.6614/0.6614, allocations: 138.4 MB / 454.3 MB, free: 29.99 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.InternalResistancesTwoUTubeNegative,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="BuildingSystems_BuildingSystems_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 1.252e-06/1.252e-06, allocations: 0 / 0.6464 GB, free: 1.781 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 8.606e-06/9.858e-06, allocations: 5.234 kB / 0.6464 GB, free: 1.777 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.001529/0.001538, allocations: 1.435 MB / 0.6478 GB, free: 336 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.2267/0.2283, allocations: 2.681 MB / 0.6504 GB, free: 55.24 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.138e-05/0.2283, allocations: 1.031 kB / 0.6504 GB, free: 55.24 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.38e-05/0.2284, allocations: 5.297 kB / 0.6504 GB, free: 55.24 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 5.914e-05/0.2284, allocations: 20.3 kB / 0.6504 GB, free: 55.22 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.00354/0.232, allocations: 1.651 MB / 0.652 GB, free: 54.72 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001116/0.2321, allocations: 47.62 kB / 0.6521 GB, free: 54.7 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.904e-05/0.2321, allocations: 5.719 kB / 0.6521 GB, free: 54.7 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 4.19e-05/0.2322, allocations: 15.84 kB / 0.6521 GB, free: 54.7 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 2.508e-05/0.2322, allocations: 13.92 kB / 0.6521 GB, free: 54.69 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.271e-05/0.2322, allocations: 0.9062 kB / 0.6521 GB, free: 54.69 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0021/0.2343, allocations: 1.487 MB / 0.6536 GB, free: 54.3 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.669e-05/0.2343, allocations: 5.484 kB / 0.6536 GB, free: 54.3 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 3.054e-05/0.2343, allocations: 12.34 kB / 0.6536 GB, free: 54.29 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001595/0.2359, allocations: 1.274 MB / 0.6548 GB, free: 53.93 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.2359, allocations: 0 / 0.6548 GB, free: 53.93 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.794e-06/0.2359, allocations: 1.719 kB / 0.6548 GB, free: 53.93 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.2359, allocations: 0 / 0.6548 GB, free: 53.93 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005106/0.2365, allocations: 471.8 kB / 0.6553 GB, free: 53.52 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.2365, allocations: 10.53 kB / 0.6553 GB, free: 53.52 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.655e-05/0.2365, allocations: 108.8 kB / 0.6554 GB, free: 53.41 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.073e-05/0.2366, allocations: 81.98 kB / 0.6555 GB, free: 53.33 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.615e-05/0.2366, allocations: 196.2 kB / 0.6557 GB, free: 53.12 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.2367, allocations: 152.7 kB / 0.6558 GB, free: 52.97 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.996e-05/0.2367, allocations: 154.9 kB / 0.656 GB, free: 52.82 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.118e-05/0.2367, allocations: 109.2 kB / 0.6561 GB, free: 52.71 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.2367, allocations: 79.41 kB / 0.6561 GB, free: 52.63 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.9e-05/0.2368, allocations: 158.1 kB / 0.6563 GB, free: 52.48 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.389e-05/0.2368, allocations: 152 kB / 0.6564 GB, free: 52.33 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.753e-05/0.2368, allocations: 152.4 kB / 0.6566 GB, free: 52.18 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001626/0.2369, allocations: 434.1 kB / 0.657 GB, free: 51.73 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 4.441e-05/0.237, allocations: 170.8 kB / 0.6572 GB, free: 51.55 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.457e-05/0.237, allocations: 81.17 kB / 0.6572 GB, free: 51.47 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.366e-05/0.237, allocations: 77.78 kB / 0.6573 GB, free: 51.4 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.924e-05/0.237, allocations: 107 kB / 0.6574 GB, free: 51.29 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=0): time 2.044e-06/0.237, allocations: 0 / 0.6574 GB, free: 51.29 MB / 0.5573 GB Notification: Performance of matching and sorting (n=0): time 6.527e-05/0.2371, allocations: 45.39 kB / 0.6574 GB, free: 51.24 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.084e-05/0.2371, allocations: 127.9 kB / 0.6576 GB, free: 51.11 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.2372, allocations: 134 kB / 0.6577 GB, free: 51 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.841e-06/0.2373, allocations: 25.7 kB / 0.6577 GB, free: 50.96 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 3.022e-05/0.2373, allocations: 93.17 kB / 0.6578 GB, free: 50.88 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.304e-06/0.2373, allocations: 0 / 0.6578 GB, free: 50.88 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.693e-05/0.2373, allocations: 23.28 kB / 0.6578 GB, free: 50.85 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.743e-05/0.2373, allocations: 317.1 kB / 0.6581 GB, free: 50.54 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.214e-05/0.2374, allocations: 9.391 kB / 0.6581 GB, free: 50.54 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.343e-05/0.2374, allocations: 4.906 kB / 0.6581 GB, free: 50.54 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.413e-05/0.2374, allocations: 17.38 kB / 0.6582 GB, free: 50.52 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2374, allocations: 0 / 0.6582 GB, free: 50.52 MB / 0.5573 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001077/0.2375, allocations: 53.84 kB / 0.6582 GB, free: 50.48 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.2375, allocations: 10.75 kB / 0.6582 GB, free: 50.48 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.078e-05/0.2376, allocations: 6.172 kB / 0.6582 GB, free: 50.48 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.2376, allocations: 0 / 0.6582 GB, free: 50.48 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.51e-07/0.2376, allocations: 0.7188 kB / 0.6582 GB, free: 50.48 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.2376, allocations: 0.8438 kB / 0.6582 GB, free: 50.48 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.797e-05/0.2376, allocations: 14.55 kB / 0.6582 GB, free: 50.47 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/0.2376, allocations: 0 / 0.6582 GB, free: 50.47 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 (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 4.534e-05/0.2377, allocations: 187.3 kB / 0.6584 GB, free: 50.28 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.376e-05/0.2377, allocations: 109.1 kB / 0.6585 GB, free: 50.17 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.493e-05/0.2377, allocations: 120.1 kB / 0.6586 GB, free: 50.05 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.918e-05/0.2377, allocations: 183.3 kB / 0.6588 GB, free: 49.87 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.831e-05/0.2377, allocations: 177 kB / 0.659 GB, free: 49.69 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.746e-05/0.2378, allocations: 183.1 kB / 0.6592 GB, free: 49.51 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.898e-05/0.2379, allocations: 392.2 kB / 0.6595 GB, free: 49.09 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.12e-05/0.2379, allocations: 104.5 kB / 0.6596 GB, free: 48.98 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.758e-06/0.2379, allocations: 105.7 kB / 0.6597 GB, free: 48.87 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.709e-05/0.2379, allocations: 182.1 kB / 0.6599 GB, free: 48.69 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.101e-05/0.2379, allocations: 187.2 kB / 0.6601 GB, free: 48.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-05/0.2379, allocations: 177.2 kB / 0.6603 GB, free: 48.32 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.845e-05/0.238, allocations: 183.1 kB / 0.6604 GB, free: 48.14 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.864e-05/0.238, allocations: 308.9 kB / 0.6607 GB, free: 47.82 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 2.24e-05/0.238, allocations: 115.8 kB / 0.6608 GB, free: 47.71 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.881e-05/0.2381, allocations: 184.3 kB / 0.661 GB, free: 47.52 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.33e-05/0.2381, allocations: 111 kB / 0.6611 GB, free: 47.41 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.33e-05/0.2381, allocations: 182.8 kB / 0.6613 GB, free: 47.23 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.2381, allocations: 102.2 kB / 0.6614 GB, free: 47.12 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 4.143e-05/0.2382, allocations: 100.4 kB / 0.6615 GB, free: 47.04 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2382, allocations: 0 / 0.6615 GB, free: 47.04 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0007109/0.2389, allocations: 300.1 kB / 0.6618 GB, free: 46.96 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 (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.001006/0.2399, allocations: 1.229 MB / 0.663 GB, free: 46.04 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 9.959e-05/0.24, allocations: 38.83 kB / 0.663 GB, free: 46 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.24, allocations: 0 / 0.663 GB, free: 46 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 2.715e-06/0.24, allocations: 2.078 kB / 0.663 GB, free: 46 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002301/0.2402, allocations: 471.6 kB / 0.6635 GB, free: 45.54 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008522/0.2411, allocations: 1.593 MB / 0.665 GB, free: 44.11 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.009e-05/0.2411, allocations: 71.3 kB / 0.6651 GB, free: 44.04 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 1.712e-05/0.2411, allocations: 7.938 kB / 0.6651 GB, free: 44.03 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.962e-05/0.2412, allocations: 17.58 kB / 0.6651 GB, free: 44.02 MB / 0.5573 GB Notification: Performance of SimCode: time 7.71e-07/0.2412, allocations: 2.25 kB / 0.6651 GB, free: 44.02 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02609/0.2673, allocations: 8.022 MB / 0.6729 GB, free: 42.78 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.523/6.79, allocations: 8.141 kB / 0.673 GB, free: 42.78 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.305911131203175] Failed to read output from testmodel.py, exit status != 0: 6.873501901514828 6.883775413 6.645898572 Calling exit ...