Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.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.001294/0.001294, allocations: 105.3 kB / 16.45 MB, free: 6.504 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.001263/0.001263, allocations: 191.7 kB / 19.41 MB, free: 3.68 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.332/1.332, allocations: 225.6 MB / 247.8 MB, free: 13.95 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.7842/0.7842, allocations: 134 MB / 436.6 MB, free: 1.305 MB / 334.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.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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001835/0.001835, allocations: 65.72 kB / 0.6052 GB, free: 15.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.1487, allocations: 84.68 MB / 0.6879 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002424/0.1511, allocations: 1.421 MB / 0.6893 GB, free: 9.629 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004204/0.1553, allocations: 2.86 MB / 0.6921 GB, free: 6.754 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.032e-05/0.1553, allocations: 0 / 0.6921 GB, free: 6.754 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.976e-05/0.1554, allocations: 7.938 kB / 0.6921 GB, free: 6.746 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.395e-05/0.1554, allocations: 15.86 kB / 0.6921 GB, free: 6.73 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003755/0.1592, allocations: 1.555 MB / 0.6936 GB, free: 5.195 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 9.562e-05/0.1593, allocations: 39.78 kB / 0.6936 GB, free: 5.156 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.852e-05/0.1593, allocations: 7.938 kB / 0.6936 GB, free: 5.148 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.49e-05/0.1593, allocations: 11.94 kB / 0.6937 GB, free: 5.137 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 2.84e-05/0.1594, allocations: 19.86 kB / 0.6937 GB, free: 5.117 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.083e-05/0.1594, allocations: 4 kB / 0.6937 GB, free: 5.113 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002238/0.1616, allocations: 1.525 MB / 0.6952 GB, free: 3.586 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.489e-05/0.1616, allocations: 3.984 kB / 0.6952 GB, free: 3.582 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.52e-05/0.1617, allocations: 19.88 kB / 0.6952 GB, free: 3.562 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001496/0.1632, allocations: 1.072 MB / 0.6962 GB, free: 2.488 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1632, allocations: 0 / 0.6962 GB, free: 2.488 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.233e-06/0.1632, allocations: 0 / 0.6962 GB, free: 2.488 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.1632, allocations: 0 / 0.6962 GB, free: 2.488 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.0006415/0.1638, allocations: 0.5285 MB / 0.6968 GB, free: 1.91 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.1639, allocations: 8.031 kB / 0.6968 GB, free: 1.902 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.95e-05/0.1639, allocations: 110 kB / 0.6969 GB, free: 1.785 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.727e-05/0.164, allocations: 80.22 kB / 0.6969 GB, free: 1.707 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001697/0.1642, allocations: 255.6 kB / 0.6972 GB, free: 1.418 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.938e-05/0.1642, allocations: 154.5 kB / 0.6973 GB, free: 1.266 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.92e-05/0.1643, allocations: 154.5 kB / 0.6975 GB, free: 1.113 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.437e-05/0.1644, allocations: 108.9 kB / 0.6976 GB, free: 1 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.525e-05/0.1644, allocations: 79.28 kB / 0.6977 GB, free: 0.9219 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.692e-05/0.1645, allocations: 150.6 kB / 0.6978 GB, free: 0.7734 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.822e-05/0.1645, allocations: 154.6 kB / 0.698 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.681e-05/0.1646, allocations: 150.6 kB / 0.6981 GB, free: 484 kB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003276/0.1649, allocations: 473.8 kB / 0.6985 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 8.72e-05/0.165, allocations: 177.1 kB / 0.6987 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.144e-05/0.165, allocations: 80.14 kB / 0.6988 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.838e-05/0.1651, allocations: 75.28 kB / 0.6989 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.758e-05/0.1651, allocations: 105.8 kB / 0.699 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 8.31e-07/0.1651, allocations: 3.938 kB / 0.699 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 7.313e-05/0.1652, allocations: 33.7 kB / 0.699 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.874e-05/0.1652, allocations: 126.7 kB / 0.6991 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001442/0.1654, allocations: 136.9 kB / 0.6993 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/0.1654, allocations: 25.7 kB / 0.6993 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.393e-05/0.1655, allocations: 92.12 kB / 0.6994 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.733e-06/0.1655, allocations: 0 / 0.6994 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.215e-05/0.1655, allocations: 17.72 kB / 0.6994 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.1656, allocations: 326.7 kB / 0.6997 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.217e-05/0.1656, allocations: 8 kB / 0.6997 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.424e-05/0.1656, allocations: 4 kB / 0.6997 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.359e-05/0.1657, allocations: 12.86 kB / 0.6997 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1657, allocations: 0 / 0.6997 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001235/0.1658, allocations: 49.64 kB / 0.6998 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.1658, allocations: 7.938 kB / 0.6998 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.861e-05/0.1658, allocations: 4 kB / 0.6998 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.1659, allocations: 0 / 0.6998 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.41e-07/0.1659, allocations: 0 / 0.6998 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.1659, allocations: 0 / 0.6998 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.856e-05/0.1659, allocations: 4.062 kB / 0.6998 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.904e-06/0.1659, allocations: 7.938 kB / 0.6998 GB, free: 14.61 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 (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.0001009/0.166, allocations: 189 kB / 0.7 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.955e-05/0.1661, allocations: 116.9 kB / 0.7001 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.239e-05/0.1661, allocations: 108.9 kB / 0.7002 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.161e-05/0.1662, allocations: 184.2 kB / 0.7004 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.676e-05/0.1662, allocations: 180.3 kB / 0.7005 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.182e-05/0.1663, allocations: 184.2 kB / 0.7007 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002417/0.1666, allocations: 417.2 kB / 0.7011 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.074e-05/0.1666, allocations: 101 kB / 0.7012 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.168e-05/0.1667, allocations: 104.9 kB / 0.7013 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.987e-05/0.1667, allocations: 184.3 kB / 0.7015 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.077e-05/0.1668, allocations: 184.2 kB / 0.7017 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.955e-05/0.1669, allocations: 180.3 kB / 0.7018 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.383e-05/0.1669, allocations: 176.3 kB / 0.702 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00015/0.1671, allocations: 311.7 kB / 0.7023 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.247e-05/0.1672, allocations: 194 kB / 0.7025 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.583e-05/0.1672, allocations: 180.2 kB / 0.7026 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.968e-05/0.1673, allocations: 105 kB / 0.7027 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.339e-05/0.1674, allocations: 188.2 kB / 0.7029 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.873e-05/0.1674, allocations: 105 kB / 0.703 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.532e-05/0.1675, allocations: 103.2 kB / 0.7031 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1675, allocations: 4 kB / 0.7031 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007546/0.1683, allocations: 279 kB / 0.7034 GB, free: 10.68 MB / 0.5294 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.001307/0.1696, allocations: 1.167 MB / 0.7045 GB, free: 9.484 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 9.926e-05/0.1697, allocations: 33.7 kB / 0.7046 GB, free: 9.445 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1697, allocations: 3.938 kB / 0.7046 GB, free: 9.441 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.753e-06/0.1697, allocations: 0 / 0.7046 GB, free: 9.441 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003924/0.1701, allocations: 466 kB / 0.705 GB, free: 8.984 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001396/0.1715, allocations: 1.581 MB / 0.7066 GB, free: 7.324 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002751/0.1717, allocations: 0.6845 MB / 0.7072 GB, free: 6.613 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 1.334e-05/0.1718, allocations: 0 / 0.7072 GB, free: 6.613 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.777e-05/0.1718, allocations: 19.44 kB / 0.7072 GB, free: 6.594 MB / 0.5294 GB Notification: Performance of SimCode: time 5.51e-07/0.1718, allocations: 0 / 0.7072 GB, free: 6.594 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03209/0.2039, allocations: 6.853 MB / 0.7139 GB, free: 15.95 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.125/8.329, allocations: 6.688 kB / 0.7139 GB, free: 15.95 MB / 0.545 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.556959708686918] Failed to read output from testmodel.py, exit status != 0: 8.39992178697139 8.425323225 8.257592763 Calling exit ...