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.001746/0.001746, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001737/0.001737, allocations: 214.6 kB / 22.99 MB, free: 4.609 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.493/1.493, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.9595/0.9595, allocations: 149.9 MB / 463 MB, free: 10.37 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="me",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="me",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.003271/0.003271, allocations: 67.61 kB / 0.6412 GB, free: 10.07 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1873/0.1905, allocations: 89.18 MB / 0.7282 GB, free: 0.957 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.003573/0.1941, allocations: 1.416 MB / 0.7296 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005844/0.1999, allocations: 2.665 MB / 0.7322 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.278e-05/0.2, allocations: 0 / 0.7322 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.311e-05/0.2001, allocations: 15.92 kB / 0.7322 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.616e-05/0.2001, allocations: 7.875 kB / 0.7322 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.005682/0.2058, allocations: 1.653 MB / 0.7339 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001464/0.206, allocations: 43.67 kB / 0.7339 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.394e-05/0.206, allocations: 4 kB / 0.7339 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.851e-05/0.2061, allocations: 15.92 kB / 0.7339 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.069e-05/0.2061, allocations: 19.92 kB / 0.7339 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.407e-05/0.2061, allocations: 0 / 0.7339 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002832/0.2089, allocations: 1.486 MB / 0.7354 GB, free: 9.633 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.911e-05/0.209, allocations: 3.938 kB / 0.7354 GB, free: 9.629 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.119e-05/0.209, allocations: 11.94 kB / 0.7354 GB, free: 9.617 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001666/0.2107, allocations: 1.107 MB / 0.7365 GB, free: 8.508 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.2107, allocations: 4 kB / 0.7365 GB, free: 8.504 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.235e-06/0.2107, allocations: 0 / 0.7365 GB, free: 8.504 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.2107, allocations: 0 / 0.7365 GB, free: 8.504 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.0006681/0.2113, allocations: 468.1 kB / 0.7369 GB, free: 8.016 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.2114, allocations: 8.031 kB / 0.7369 GB, free: 8.008 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.238e-05/0.2115, allocations: 110 kB / 0.7371 GB, free: 7.891 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.581e-05/0.2115, allocations: 84.17 kB / 0.7371 GB, free: 7.809 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001717/0.2117, allocations: 209.6 kB / 0.7373 GB, free: 7.578 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.56e-05/0.2118, allocations: 154.5 kB / 0.7375 GB, free: 7.426 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.645e-05/0.2119, allocations: 150.6 kB / 0.7376 GB, free: 7.277 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.091e-05/0.2119, allocations: 112.9 kB / 0.7377 GB, free: 7.16 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.803e-05/0.212, allocations: 79.28 kB / 0.7378 GB, free: 7.082 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.067e-05/0.212, allocations: 150.6 kB / 0.738 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.574e-05/0.2121, allocations: 150.6 kB / 0.7381 GB, free: 6.785 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.311e-05/0.2122, allocations: 154.6 kB / 0.7382 GB, free: 6.633 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003347/0.2125, allocations: 437 kB / 0.7387 GB, free: 6.164 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001115/0.2126, allocations: 177.1 kB / 0.7388 GB, free: 5.98 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.605e-05/0.2127, allocations: 80.14 kB / 0.7389 GB, free: 5.898 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.207e-05/0.2127, allocations: 75.28 kB / 0.739 GB, free: 5.824 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.731e-05/0.2128, allocations: 113.8 kB / 0.7391 GB, free: 5.703 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 8.51e-07/0.2128, allocations: 0 / 0.7391 GB, free: 5.703 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 8.045e-05/0.2129, allocations: 29.66 kB / 0.7391 GB, free: 5.668 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.361e-05/0.2129, allocations: 130.7 kB / 0.7392 GB, free: 5.527 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001666/0.2131, allocations: 132.3 kB / 0.7394 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.2131, allocations: 25.7 kB / 0.7394 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.271e-05/0.2132, allocations: 100.1 kB / 0.7395 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.933e-06/0.2132, allocations: 3.938 kB / 0.7395 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.65e-05/0.2132, allocations: 21.66 kB / 0.7395 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.2134, allocations: 322.8 kB / 0.7398 GB, free: 4.902 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.832e-05/0.2134, allocations: 7.984 kB / 0.7398 GB, free: 4.895 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.862e-05/0.2134, allocations: 8 kB / 0.7398 GB, free: 4.887 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.201e-05/0.2135, allocations: 8.859 kB / 0.7398 GB, free: 4.875 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2135, allocations: 3.938 kB / 0.7398 GB, free: 4.871 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001356/0.2136, allocations: 45.7 kB / 0.7399 GB, free: 4.82 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.2136, allocations: 4 kB / 0.7399 GB, free: 4.816 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.38e-05/0.2136, allocations: 7.984 kB / 0.7399 GB, free: 4.809 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.2137, allocations: 0 / 0.7399 GB, free: 4.809 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.21e-07/0.2137, allocations: 4.062 kB / 0.7399 GB, free: 4.805 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/0.2137, allocations: 7.922 kB / 0.7399 GB, free: 4.797 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.838e-05/0.2137, allocations: 11.89 kB / 0.7399 GB, free: 4.785 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.2137, allocations: 0 / 0.7399 GB, free: 4.785 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.0001383/0.2138, allocations: 189.1 kB / 0.7401 GB, free: 4.59 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.468e-05/0.2139, allocations: 108.9 kB / 0.7402 GB, free: 4.477 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.614e-05/0.214, allocations: 112.8 kB / 0.7403 GB, free: 4.355 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.856e-05/0.2141, allocations: 180.2 kB / 0.7405 GB, free: 4.172 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.34e-05/0.2142, allocations: 184.3 kB / 0.7407 GB, free: 3.984 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.832e-05/0.2143, allocations: 180.2 kB / 0.7408 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002849/0.2146, allocations: 388.2 kB / 0.7412 GB, free: 3.371 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.938e-05/0.2146, allocations: 105 kB / 0.7413 GB, free: 3.262 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.655e-05/0.2147, allocations: 104.9 kB / 0.7414 GB, free: 3.152 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001033/0.2148, allocations: 184.3 kB / 0.7416 GB, free: 2.965 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.527e-05/0.2149, allocations: 188.2 kB / 0.7418 GB, free: 2.773 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.376e-05/0.2149, allocations: 176.3 kB / 0.7419 GB, free: 2.594 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.599e-05/0.215, allocations: 184.2 kB / 0.7421 GB, free: 2.406 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001788/0.2152, allocations: 307.8 kB / 0.7424 GB, free: 2.082 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.179e-05/0.2153, allocations: 112.9 kB / 0.7425 GB, free: 1.965 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.926e-05/0.2154, allocations: 176.3 kB / 0.7427 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.893e-05/0.2155, allocations: 109 kB / 0.7428 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.801e-05/0.2156, allocations: 184.2 kB / 0.743 GB, free: 1.484 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-05/0.2156, allocations: 105 kB / 0.7431 GB, free: 1.375 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.615e-05/0.2157, allocations: 100.7 kB / 0.7431 GB, free: 1.277 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.2157, allocations: 0 / 0.7431 GB, free: 1.277 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008154/0.2165, allocations: 302.9 kB / 0.7434 GB, free: 0.9805 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.001495/0.218, allocations: 1.19 MB / 0.7446 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001175/0.2181, allocations: 45.69 kB / 0.7446 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2181, allocations: 0 / 0.7446 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 2.074e-06/0.2181, allocations: 0 / 0.7446 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004522/0.2186, allocations: 463.6 kB / 0.7451 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001597/0.2202, allocations: 1.614 MB / 0.7467 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.805e-05/0.2202, allocations: 67.44 kB / 0.7467 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.617e-05/0.2203, allocations: 3.984 kB / 0.7467 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.328e-05/0.2203, allocations: 19.44 kB / 0.7467 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of SimCode: time 4.01e-07/0.2203, allocations: 0 / 0.7467 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03836/0.2587, allocations: 7.812 MB / 0.7544 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.59, allocations: 11.16 kB / 0.7544 GB, free: 5.828 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.718538352753967] Failed to read output from testmodel.py, exit status != 0: 11.706074530258775 11.970367511 11.756871676 Calling exit ...