Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.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.001067/0.001067, allocations: 109.5 kB / 18.95 MB, free: 1.184 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.001457/0.001457, allocations: 214.2 kB / 22.25 MB, free: 3.578 MB / 13.93 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.9839/0.9839, allocations: 230.6 MB / 256 MB, free: 9.625 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8034/0.8034, allocations: 203.8 MB / 0.5042 GB, free: 10.48 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="me",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.000903/0.000903, allocations: 64.38 kB / 0.7182 GB, free: 3.984 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5648/0.5657, allocations: 102 MB / 0.8179 GB, free: 1.039 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.0021/0.5678, allocations: 1.431 MB / 0.8193 GB, free: 48 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003729/0.5715, allocations: 2.648 MB / 0.8219 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.467e-05/0.5716, allocations: 0 / 0.8219 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.677e-05/0.5716, allocations: 8.547 kB / 0.8219 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.33e-05/0.5717, allocations: 9.938 kB / 0.8219 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003582/0.5753, allocations: 1.607 MB / 0.8234 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.903e-05/0.5754, allocations: 40.81 kB / 0.8235 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.048e-05/0.5754, allocations: 2.078 kB / 0.8235 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.842e-05/0.5754, allocations: 18.14 kB / 0.8235 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.84e-05/0.5754, allocations: 21.56 kB / 0.8235 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.308e-06/0.5755, allocations: 4 kB / 0.8235 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002352/0.5778, allocations: 1.446 MB / 0.8249 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.901e-05/0.5778, allocations: 1.172 kB / 0.8249 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.234e-05/0.5779, allocations: 22.83 kB / 0.825 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001698/0.5796, allocations: 1.078 MB / 0.826 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.5796, allocations: 1.219 kB / 0.826 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.134e-06/0.5796, allocations: 0 / 0.826 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.622e-06/0.5796, allocations: 0 / 0.826 GB, free: 12.87 MB / 0.6198 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.0006538/0.5802, allocations: 462.2 kB / 0.8265 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.5803, allocations: 13.38 kB / 0.8265 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.67e-05/0.5803, allocations: 106.6 kB / 0.8266 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.328e-05/0.5804, allocations: 82.64 kB / 0.8267 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001123/0.5805, allocations: 196.6 kB / 0.8268 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.708e-05/0.5805, allocations: 156.8 kB / 0.827 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.424e-05/0.5806, allocations: 152.2 kB / 0.8271 GB, free: 11.76 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.843e-05/0.5806, allocations: 110.6 kB / 0.8272 GB, free: 11.65 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.008e-05/0.5807, allocations: 75.28 kB / 0.8273 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.156e-05/0.5807, allocations: 151.9 kB / 0.8275 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.995e-05/0.5807, allocations: 151.8 kB / 0.8276 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.457e-05/0.5808, allocations: 152.5 kB / 0.8277 GB, free: 11.13 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002403/0.581, allocations: 435.1 kB / 0.8282 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.222e-05/0.5811, allocations: 175.5 kB / 0.8283 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.903e-05/0.5811, allocations: 88.08 kB / 0.8284 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.444e-05/0.5811, allocations: 81.16 kB / 0.8285 GB, free: 10.33 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.817e-05/0.5812, allocations: 106.9 kB / 0.8286 GB, free: 10.21 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.343e-06/0.5812, allocations: 0 / 0.8286 GB, free: 10.21 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 6.774e-05/0.5813, allocations: 34.59 kB / 0.8286 GB, free: 10.18 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.442e-05/0.5813, allocations: 126.7 kB / 0.8287 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/0.5814, allocations: 134 kB / 0.8289 GB, free: 9.934 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/0.5814, allocations: 29.7 kB / 0.8289 GB, free: 9.898 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.347e-05/0.5815, allocations: 95.73 kB / 0.829 GB, free: 9.805 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.876e-06/0.5815, allocations: 1.469 kB / 0.829 GB, free: 9.805 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.614e-05/0.5815, allocations: 19.64 kB / 0.829 GB, free: 9.785 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.465e-05/0.5816, allocations: 314.3 kB / 0.8293 GB, free: 9.473 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.957e-05/0.5816, allocations: 3.141 kB / 0.8293 GB, free: 9.473 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.792e-05/0.5816, allocations: 8.297 kB / 0.8293 GB, free: 9.469 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.505e-05/0.5817, allocations: 15.47 kB / 0.8293 GB, free: 9.457 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.5817, allocations: 0 / 0.8293 GB, free: 9.457 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001149/0.5818, allocations: 49.02 kB / 0.8294 GB, free: 9.418 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.5818, allocations: 6.344 kB / 0.8294 GB, free: 9.418 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.024e-05/0.5818, allocations: 3.453 kB / 0.8294 GB, free: 9.418 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.5818, allocations: 8 kB / 0.8294 GB, free: 9.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.873e-06/0.5818, allocations: 0.75 kB / 0.8294 GB, free: 9.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.5818, allocations: 5.172 kB / 0.8294 GB, free: 9.406 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.72e-05/0.5819, allocations: 7.891 kB / 0.8294 GB, free: 9.398 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.573e-06/0.5819, allocations: 6.094 kB / 0.8294 GB, free: 9.395 MB / 0.6198 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 7.472e-05/0.5819, allocations: 183.8 kB / 0.8296 GB, free: 9.207 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.062e-05/0.582, allocations: 108.9 kB / 0.8297 GB, free: 9.098 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.797e-05/0.582, allocations: 125.3 kB / 0.8298 GB, free: 8.969 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.309e-05/0.5821, allocations: 177.9 kB / 0.83 GB, free: 8.789 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-05/0.5821, allocations: 177.9 kB / 0.8302 GB, free: 8.609 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-05/0.5822, allocations: 189.9 kB / 0.8303 GB, free: 8.418 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001602/0.5823, allocations: 389.3 kB / 0.8307 GB, free: 8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.927e-05/0.5824, allocations: 106.9 kB / 0.8308 GB, free: 7.891 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.619e-05/0.5824, allocations: 101.7 kB / 0.8309 GB, free: 7.785 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.413e-05/0.5824, allocations: 178.3 kB / 0.8311 GB, free: 7.605 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.825e-05/0.5825, allocations: 184 kB / 0.8313 GB, free: 7.422 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.332e-05/0.5825, allocations: 178.4 kB / 0.8314 GB, free: 7.242 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.782e-05/0.5826, allocations: 190.7 kB / 0.8316 GB, free: 7.051 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001167/0.5827, allocations: 306.6 kB / 0.8319 GB, free: 6.734 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.139e-05/0.5827, allocations: 117.2 kB / 0.832 GB, free: 6.617 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.851e-05/0.5828, allocations: 178.1 kB / 0.8322 GB, free: 6.438 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.354e-05/0.5828, allocations: 111.2 kB / 0.8323 GB, free: 6.324 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.312e-05/0.5829, allocations: 177.9 kB / 0.8325 GB, free: 6.145 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.918e-05/0.5829, allocations: 103.1 kB / 0.8326 GB, free: 6.039 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.591e-05/0.583, allocations: 103.3 kB / 0.8327 GB, free: 5.957 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.583, allocations: 0 / 0.8327 GB, free: 5.957 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0008845/0.5839, allocations: 294.2 kB / 0.8329 GB, free: 5.879 MB / 0.6198 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.001294/0.5852, allocations: 1.179 MB / 0.8341 GB, free: 4.949 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001031/0.5853, allocations: 39.11 kB / 0.8341 GB, free: 4.914 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.5853, allocations: 0 / 0.8341 GB, free: 4.914 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.097e-06/0.5853, allocations: 3.938 kB / 0.8341 GB, free: 4.91 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000323/0.5856, allocations: 462.5 kB / 0.8346 GB, free: 4.461 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001151/0.5867, allocations: 1.58 MB / 0.8361 GB, free: 3.035 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.8e-05/0.5868, allocations: 77.61 kB / 0.8362 GB, free: 2.953 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.345e-05/0.5868, allocations: 0.9062 kB / 0.8362 GB, free: 2.953 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.783e-05/0.5869, allocations: 14.95 kB / 0.8362 GB, free: 2.941 MB / 0.6198 GB Notification: Performance of SimCode: time 1.282e-06/0.5869, allocations: 0 / 0.8362 GB, free: 2.941 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03318/0.62, allocations: 7.625 MB / 0.8436 GB, free: 60 kB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.833/7.453, allocations: 5.531 kB / 0.8437 GB, free: 56 kB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.560888497158885] Failed to read output from testmodel.py, exit status != 0: 7.539778281003237 7.549912552 6.968330054 Calling exit ...