Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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.001284/0.001284, allocations: 105.5 kB / 19.73 MB, free: 2.223 MB / 14.72 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.001563/0.001563, allocations: 215.5 kB / 23.04 MB, free: 5.059 MB / 14.72 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 1.451/1.451, allocations: 230.6 MB / 256.8 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8495/0.8495, allocations: 134 MB / 447.2 MB, free: 10.27 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001924/0.001924, allocations: 63.62 kB / 0.6194 GB, free: 7.211 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1846/0.1865, allocations: 85.91 MB / 0.7033 GB, free: 1.371 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004683/0.1912, allocations: 3.084 MB / 0.7063 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003281/0.1944, allocations: 2.191 MB / 0.7084 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002223/0.1947, allocations: 4 kB / 0.7084 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001499/0.1962, allocations: 0.4977 MB / 0.7089 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0003358/0.1965, allocations: 158.8 kB / 0.7091 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001394/0.1966, allocations: 59.94 kB / 0.7091 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000561/0.1972, allocations: 457.8 kB / 0.7095 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002402/0.1974, allocations: 99.86 kB / 0.7096 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003006/0.1977, allocations: 171.3 kB / 0.7098 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000254/0.198, allocations: 183.1 kB / 0.71 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.269e-05/0.198, allocations: 32 kB / 0.71 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.175e-05/0.1981, allocations: 36 kB / 0.71 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001316/0.1982, allocations: 95.67 kB / 0.7101 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002038/0.1984, allocations: 226.9 kB / 0.7104 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0005855/0.199, allocations: 0.5525 MB / 0.7109 GB, free: 9.523 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.199, allocations: 0 / 0.7109 GB, free: 9.523 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.462e-06/0.199, allocations: 0 / 0.7109 GB, free: 9.523 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.185e-06/0.199, allocations: 0 / 0.7109 GB, free: 9.523 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001102/0.2001, allocations: 0.6407 MB / 0.7115 GB, free: 8.852 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.313e-05/0.2002, allocations: 8.625 kB / 0.7115 GB, free: 8.844 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.898e-05/0.2002, allocations: 8.625 kB / 0.7115 GB, free: 8.836 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.877e-05/0.2003, allocations: 54.72 kB / 0.7116 GB, free: 8.773 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.09e-05/0.2004, allocations: 52.59 kB / 0.7116 GB, free: 8.723 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006584/0.201, allocations: 320.6 kB / 0.7119 GB, free: 8.383 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.513e-05/0.2011, allocations: 24.36 kB / 0.712 GB, free: 8.359 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.512e-05/0.2011, allocations: 20 kB / 0.712 GB, free: 8.34 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004006/0.2015, allocations: 199.3 kB / 0.7122 GB, free: 8.141 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.2015, allocations: 0 / 0.7122 GB, free: 8.141 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.331e-05/0.2015, allocations: 11.94 kB / 0.7122 GB, free: 8.129 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.2015, allocations: 8 kB / 0.7122 GB, free: 8.121 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003831/0.2019, allocations: 157.7 kB / 0.7123 GB, free: 7.969 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001232/0.2032, allocations: 0.8355 MB / 0.7132 GB, free: 7.066 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003199/0.2035, allocations: 134.6 kB / 0.7133 GB, free: 6.926 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002175/0.2037, allocations: 112.7 kB / 0.7134 GB, free: 6.812 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.495e-05/0.2037, allocations: 4 kB / 0.7134 GB, free: 6.809 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.2037, allocations: 34.5 kB / 0.7134 GB, free: 6.766 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=18): time 1.162e-06/0.2037, allocations: 4 kB / 0.7134 GB, free: 6.762 MB / 0.5294 GB Notification: Performance of matching and sorting (n=18): time 0.0006421/0.2044, allocations: 247.5 kB / 0.7137 GB, free: 6.516 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.668e-05/0.2044, allocations: 59.39 kB / 0.7137 GB, free: 6.445 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004864/0.2049, allocations: 417.7 kB / 0.7141 GB, free: 6.031 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.492e-05/0.2049, allocations: 33.7 kB / 0.7142 GB, free: 5.992 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001792/0.2051, allocations: 208.4 kB / 0.7144 GB, free: 5.785 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.778e-05/0.2052, allocations: 63.44 kB / 0.7144 GB, free: 5.723 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.062e-05/0.2052, allocations: 37.7 kB / 0.7145 GB, free: 5.68 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001706/0.2054, allocations: 342.8 kB / 0.7148 GB, free: 5.336 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001497/0.2056, allocations: 55.95 kB / 0.7148 GB, free: 5.281 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001429/0.2057, allocations: 63.91 kB / 0.7149 GB, free: 5.219 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002969/0.206, allocations: 134.5 kB / 0.715 GB, free: 5.086 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.206, allocations: 0 / 0.715 GB, free: 5.086 MB / 0.5294 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004171/0.2064, allocations: 211.7 kB / 0.7152 GB, free: 4.875 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.2064, allocations: 4 kB / 0.7152 GB, free: 4.871 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.2064, allocations: 0 / 0.7152 GB, free: 4.871 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.2065, allocations: 4 kB / 0.7152 GB, free: 4.867 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002599/0.2067, allocations: 59.91 kB / 0.7153 GB, free: 4.809 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.2067, allocations: 3.938 kB / 0.7153 GB, free: 4.805 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001429/0.2069, allocations: 23.83 kB / 0.7153 GB, free: 4.781 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.307e-05/0.2069, allocations: 8 kB / 0.7153 GB, free: 4.773 MB / 0.5294 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 (20): * Single equations (assignments): 20 * 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 0.0001697/0.2071, allocations: 157.8 kB / 0.7155 GB, free: 4.609 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.643e-05/0.2071, allocations: 47.67 kB / 0.7155 GB, free: 4.562 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.583e-05/0.2072, allocations: 39.53 kB / 0.7156 GB, free: 4.52 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/0.2072, allocations: 0 / 0.7156 GB, free: 4.52 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.2072, allocations: 4 kB / 0.7156 GB, free: 4.516 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.2072, allocations: 8 kB / 0.7156 GB, free: 4.508 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004653/0.2077, allocations: 348.3 kB / 0.7159 GB, free: 4.125 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.2077, allocations: 7.922 kB / 0.7159 GB, free: 4.117 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002517/0.2079, allocations: 47.97 kB / 0.716 GB, free: 4.07 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.2079, allocations: 4 kB / 0.716 GB, free: 4.066 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.539e-05/0.2079, allocations: 4 kB / 0.716 GB, free: 4.062 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.208, allocations: 0 / 0.716 GB, free: 4.062 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.208, allocations: 0 / 0.716 GB, free: 4.062 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006535/0.2086, allocations: 392.7 kB / 0.7163 GB, free: 3.664 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.541e-05/0.2087, allocations: 39.78 kB / 0.7164 GB, free: 3.625 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.323e-05/0.2087, allocations: 4 kB / 0.7164 GB, free: 3.621 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000154/0.2089, allocations: 8 kB / 0.7164 GB, free: 3.613 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.934e-05/0.2089, allocations: 11.97 kB / 0.7164 GB, free: 3.602 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.879e-06/0.2089, allocations: 4 kB / 0.7164 GB, free: 3.598 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003555/0.2093, allocations: 311.2 kB / 0.7167 GB, free: 3.293 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.2093, allocations: 0 / 0.7167 GB, free: 3.293 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003081/0.2096, allocations: 71.89 kB / 0.7168 GB, free: 3.223 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.T) * 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 (18): * Single equations (assignments): 18 * 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.001028/0.2106, allocations: 0.9229 MB / 0.7177 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003777/0.211, allocations: 137.7 kB / 0.7178 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.211, allocations: 0 / 0.7178 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001839/0.2112, allocations: 79.89 kB / 0.7179 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005456/0.2117, allocations: 95.72 kB / 0.718 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005175/0.2169, allocations: 3.49 MB / 0.7214 GB, free: 14.4 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004975/0.2174, allocations: 0.8066 MB / 0.7222 GB, free: 13.57 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001309/0.2175, allocations: 34.97 kB / 0.7222 GB, free: 13.54 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001841/0.2177, allocations: 115.4 kB / 0.7223 GB, free: 13.42 MB / 0.545 GB Notification: Performance of SimCode: time 4.91e-07/0.2177, allocations: 0 / 0.7223 GB, free: 13.42 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03316/0.2509, allocations: 8.215 MB / 0.7303 GB, free: 5.461 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.79, allocations: 12.3 kB / 0.7303 GB, free: 5.453 MB / 0.545 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.524782015010715] Failed to read output from testmodel.py, exit status != 0: 11.947332652052864 11.963366828 11.761269117 Calling exit ...