Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001286/0.001286, allocations: 97.91 kB / 20.48 MB, free: 1.363 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.001503/0.001503, allocations: 217.3 kB / 23.78 MB, free: 4.523 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.467/1.467, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9897/0.9897, allocations: 150 MB / 464 MB, free: 10.19 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002047/0.002047, allocations: 66.33 kB / 0.642 GB, free: 9.816 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1857/0.1877, allocations: 89.18 MB / 0.7291 GB, free: 0.707 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.00278/0.1905, allocations: 1.418 MB / 0.7305 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004718/0.1952, allocations: 2.673 MB / 0.7331 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.213e-05/0.1953, allocations: 0 / 0.7331 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.621e-05/0.1953, allocations: 7.922 kB / 0.7331 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.911e-05/0.1954, allocations: 11.86 kB / 0.7331 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004376/0.1997, allocations: 1.657 MB / 0.7348 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001167/0.1999, allocations: 43.67 kB / 0.7348 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.084e-05/0.1999, allocations: 4 kB / 0.7348 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.94e-05/0.1999, allocations: 19.91 kB / 0.7348 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.112e-05/0.2, allocations: 15.94 kB / 0.7348 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.403e-05/0.2, allocations: 8 kB / 0.7348 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002908/0.2029, allocations: 1.583 MB / 0.7364 GB, free: 9.266 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.906e-05/0.2029, allocations: 7.938 kB / 0.7364 GB, free: 9.258 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.922e-05/0.2029, allocations: 11.94 kB / 0.7364 GB, free: 9.246 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001936/0.2049, allocations: 1.114 MB / 0.7375 GB, free: 8.129 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.2049, allocations: 0 / 0.7375 GB, free: 8.129 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2049, allocations: 0 / 0.7375 GB, free: 8.129 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.653e-06/0.2049, allocations: 0 / 0.7375 GB, free: 8.129 MB / 0.5606 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.000844/0.2057, allocations: 476 kB / 0.738 GB, free: 7.633 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.401e-05/0.2058, allocations: 16.03 kB / 0.738 GB, free: 7.617 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.399e-05/0.2059, allocations: 75.47 kB / 0.738 GB, free: 7.543 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.415e-05/0.2059, allocations: 106 kB / 0.7381 GB, free: 7.43 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.206e-05/0.206, allocations: 84.17 kB / 0.7382 GB, free: 7.348 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001708/0.2062, allocations: 195.5 kB / 0.7384 GB, free: 7.133 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.338e-05/0.2063, allocations: 158.5 kB / 0.7386 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.297e-05/0.2063, allocations: 158.6 kB / 0.7387 GB, free: 6.816 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.914e-05/0.2064, allocations: 108.9 kB / 0.7388 GB, free: 6.703 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.801e-05/0.2065, allocations: 75.28 kB / 0.7389 GB, free: 6.629 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.294e-05/0.2065, allocations: 154.5 kB / 0.739 GB, free: 6.477 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.29e-05/0.2066, allocations: 150.6 kB / 0.7392 GB, free: 6.328 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.994e-05/0.2067, allocations: 158.6 kB / 0.7393 GB, free: 6.172 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003657/0.2071, allocations: 437 kB / 0.7397 GB, free: 5.703 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/0.2072, allocations: 173.1 kB / 0.7399 GB, free: 5.523 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.426e-05/0.2072, allocations: 84.14 kB / 0.74 GB, free: 5.438 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.715e-05/0.2073, allocations: 79.28 kB / 0.7401 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.565e-05/0.2073, allocations: 105.8 kB / 0.7402 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.2073, allocations: 0 / 0.7402 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 8.937e-05/0.2074, allocations: 33.66 kB / 0.7402 GB, free: 5.207 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.769e-05/0.2075, allocations: 130.6 kB / 0.7403 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001565/0.2077, allocations: 137.8 kB / 0.7405 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.2077, allocations: 33.64 kB / 0.7405 GB, free: 4.883 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.189e-05/0.2078, allocations: 92.08 kB / 0.7406 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.705e-06/0.2078, allocations: 0 / 0.7406 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.706e-05/0.2078, allocations: 21.72 kB / 0.7406 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001516/0.2079, allocations: 318.8 kB / 0.7409 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.858e-05/0.208, allocations: 8 kB / 0.7409 GB, free: 4.434 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.786e-05/0.208, allocations: 4 kB / 0.7409 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.42e-05/0.208, allocations: 16.86 kB / 0.7409 GB, free: 4.41 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.208, allocations: 0 / 0.7409 GB, free: 4.41 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001306/0.2082, allocations: 41.7 kB / 0.741 GB, free: 4.363 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.2082, allocations: 11.98 kB / 0.741 GB, free: 4.352 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.801e-05/0.2082, allocations: 4.062 kB / 0.741 GB, free: 4.348 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.2082, allocations: 4 kB / 0.741 GB, free: 4.344 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.935e-06/0.2082, allocations: 3.938 kB / 0.741 GB, free: 4.34 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.2082, allocations: 0 / 0.741 GB, free: 4.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.475e-05/0.2083, allocations: 3.953 kB / 0.741 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.2083, allocations: 0 / 0.741 GB, free: 4.336 MB / 0.5606 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.0001231/0.2084, allocations: 193 kB / 0.7412 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.659e-05/0.2085, allocations: 112.9 kB / 0.7413 GB, free: 4.02 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.051e-05/0.2085, allocations: 108.8 kB / 0.7414 GB, free: 3.902 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-05/0.2086, allocations: 184.2 kB / 0.7416 GB, free: 3.715 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.302e-05/0.2087, allocations: 180.3 kB / 0.7417 GB, free: 3.531 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.225e-05/0.2088, allocations: 180.2 kB / 0.7419 GB, free: 3.348 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000283/0.2091, allocations: 392.2 kB / 0.7423 GB, free: 2.914 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.85e-05/0.2091, allocations: 105 kB / 0.7424 GB, free: 2.805 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.338e-05/0.2092, allocations: 104.9 kB / 0.7425 GB, free: 2.695 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.07e-05/0.2093, allocations: 180.2 kB / 0.7427 GB, free: 2.512 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.349e-05/0.2093, allocations: 192.3 kB / 0.7428 GB, free: 2.316 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.595e-05/0.2094, allocations: 180.3 kB / 0.743 GB, free: 2.133 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.144e-05/0.2095, allocations: 184.2 kB / 0.7432 GB, free: 1.945 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001748/0.2097, allocations: 307.8 kB / 0.7435 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.718e-05/0.2098, allocations: 112.9 kB / 0.7436 GB, free: 1.504 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.013e-05/0.2099, allocations: 184.2 kB / 0.7438 GB, free: 1.316 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.743e-05/0.21, allocations: 104.9 kB / 0.7439 GB, free: 1.207 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.139e-05/0.21, allocations: 184.2 kB / 0.744 GB, free: 1.02 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.271e-05/0.2101, allocations: 101 kB / 0.7441 GB, free: 0.9141 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.654e-05/0.2102, allocations: 101.5 kB / 0.7442 GB, free: 0.8164 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2102, allocations: 0 / 0.7442 GB, free: 0.8164 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009199/0.2111, allocations: 298.9 kB / 0.7445 GB, free: 0.5234 MB / 0.5606 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.001812/0.2129, allocations: 1.202 MB / 0.7457 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001174/0.213, allocations: 33.7 kB / 0.7457 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.213, allocations: 0 / 0.7457 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 2.235e-06/0.213, allocations: 0 / 0.7457 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004887/0.2135, allocations: 467.6 kB / 0.7462 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001752/0.2153, allocations: 1.608 MB / 0.7477 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.713e-05/0.2153, allocations: 67.28 kB / 0.7478 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.514e-05/0.2153, allocations: 0 / 0.7478 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.427e-05/0.2154, allocations: 27.36 kB / 0.7478 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of SimCode: time 7.42e-07/0.2154, allocations: 0 / 0.7478 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03154/0.2469, allocations: 7.474 MB / 0.7551 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.78, allocations: 8.344 kB / 0.7551 GB, free: 5.727 MB / 0.5762 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.986041203024797] Failed to read output from testmodel.py, exit status != 0: 11.946592007996514 12.230014712000001 12.022385239 Calling exit ...