Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001647/0.001647, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001958/0.001958, allocations: 211.1 kB / 23.01 MB, free: 4.57 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.481/1.481, allocations: 230.6 MB / 256.8 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002614/0.002614, allocations: 280.8 kB / 313.5 MB, free: 2.801 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.25/1.25, allocations: 180.6 MB / 0.5377 GB, free: 12.98 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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: translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002834/0.002834, allocations: 104.3 kB / 0.7409 GB, free: 28.43 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2029/0.2058, allocations: 95.38 MB / 0.834 GB, free: 8.125 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002807/0.2086, allocations: 1.46 MB / 0.8355 GB, free: 6.652 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004687/0.2133, allocations: 2.952 MB / 0.8383 GB, free: 3.684 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.603e-05/0.2133, allocations: 0 / 0.8383 GB, free: 3.684 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.512e-05/0.2133, allocations: 7.922 kB / 0.8383 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 7.641e-05/0.2134, allocations: 11.88 kB / 0.8384 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004033/0.2174, allocations: 1.699 MB / 0.84 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.925e-05/0.2175, allocations: 43.73 kB / 0.8401 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.446e-05/0.2176, allocations: 4 kB / 0.8401 GB, free: 1.938 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.873e-05/0.2176, allocations: 15.92 kB / 0.8401 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.476e-05/0.2177, allocations: 23.86 kB / 0.8401 GB, free: 1.898 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.04e-05/0.2177, allocations: 0 / 0.8401 GB, free: 1.898 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002472/0.2201, allocations: 1.716 MB / 0.8418 GB, free: 184 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.296e-05/0.2202, allocations: 0 / 0.8418 GB, free: 184 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.622e-05/0.2202, allocations: 23.86 kB / 0.8418 GB, free: 160 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001505/0.2217, allocations: 1.118 MB / 0.8429 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.2217, allocations: 0 / 0.8429 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.512e-06/0.2217, allocations: 0 / 0.8429 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.2217, allocations: 0 / 0.8429 GB, free: 15.04 MB / 0.5919 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.0006316/0.2223, allocations: 476 kB / 0.8433 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.2224, allocations: 8.625 kB / 0.8434 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.846e-05/0.2225, allocations: 88.17 kB / 0.8434 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001602/0.2226, allocations: 189.8 kB / 0.8436 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.758e-05/0.2227, allocations: 154.9 kB / 0.8438 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.685e-05/0.2228, allocations: 154.9 kB / 0.8439 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.092e-05/0.2228, allocations: 105.1 kB / 0.844 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.782e-05/0.2229, allocations: 75.28 kB / 0.8441 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.173e-05/0.223, allocations: 158.6 kB / 0.8442 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.986e-05/0.223, allocations: 154.5 kB / 0.8444 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.402e-05/0.2231, allocations: 150.6 kB / 0.8445 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003298/0.2234, allocations: 436.9 kB / 0.8449 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 9.731e-05/0.2235, allocations: 173.1 kB / 0.8451 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.154e-05/0.2236, allocations: 84.14 kB / 0.8452 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.6e-05/0.2236, allocations: 75.28 kB / 0.8453 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.937e-05/0.2237, allocations: 109.8 kB / 0.8454 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.2237, allocations: 0 / 0.8454 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 8.552e-05/0.2237, allocations: 37.59 kB / 0.8454 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.008e-05/0.2238, allocations: 134.7 kB / 0.8455 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001521/0.224, allocations: 127.7 kB / 0.8457 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.224, allocations: 25.7 kB / 0.8457 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 6.139e-05/0.2241, allocations: 96.12 kB / 0.8458 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.505e-06/0.2241, allocations: 0 / 0.8458 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.416e-05/0.2241, allocations: 13.72 kB / 0.8458 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.2242, allocations: 318.9 kB / 0.8461 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.31e-05/0.2243, allocations: 8 kB / 0.8461 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.816e-05/0.2243, allocations: 7.984 kB / 0.8461 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.861e-05/0.2243, allocations: 16.89 kB / 0.8461 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.2243, allocations: 0 / 0.8461 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001338/0.2245, allocations: 57.53 kB / 0.8462 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.2245, allocations: 4 kB / 0.8462 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.06e-05/0.2245, allocations: 7.984 kB / 0.8462 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.2245, allocations: 0 / 0.8462 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.41e-07/0.2245, allocations: 3.938 kB / 0.8462 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.2245, allocations: 0 / 0.8462 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.95e-05/0.2245, allocations: 8.016 kB / 0.8462 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-06/0.2245, allocations: 0 / 0.8462 GB, free: 11.45 MB / 0.5919 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.0001107/0.2246, allocations: 185.8 kB / 0.8464 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.679e-05/0.2247, allocations: 108.9 kB / 0.8465 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.282e-05/0.2248, allocations: 116.5 kB / 0.8466 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-05/0.2249, allocations: 184.3 kB / 0.8468 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.802e-05/0.2249, allocations: 188.2 kB / 0.8469 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.235e-05/0.225, allocations: 180.2 kB / 0.8471 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002494/0.2253, allocations: 380.3 kB / 0.8475 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.673e-05/0.2253, allocations: 116.8 kB / 0.8476 GB, free: 9.918 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.387e-05/0.2254, allocations: 101 kB / 0.8477 GB, free: 9.812 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.134e-05/0.2254, allocations: 180.2 kB / 0.8479 GB, free: 9.629 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-05/0.2255, allocations: 184.3 kB / 0.848 GB, free: 9.441 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.784e-05/0.2256, allocations: 176.3 kB / 0.8482 GB, free: 9.262 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.588e-05/0.2257, allocations: 180.2 kB / 0.8484 GB, free: 9.078 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001585/0.2258, allocations: 311.7 kB / 0.8487 GB, free: 8.75 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.961e-05/0.2259, allocations: 120.9 kB / 0.8488 GB, free: 8.625 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/0.226, allocations: 180.2 kB / 0.849 GB, free: 8.441 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.373e-05/0.2261, allocations: 108.9 kB / 0.8491 GB, free: 8.328 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.146e-05/0.2262, allocations: 180.3 kB / 0.8492 GB, free: 8.145 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.803e-05/0.2262, allocations: 104.9 kB / 0.8493 GB, free: 8.035 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 6.92e-05/0.2263, allocations: 97.3 kB / 0.8494 GB, free: 7.941 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.2263, allocations: 4 kB / 0.8494 GB, free: 7.938 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006991/0.227, allocations: 291 kB / 0.8497 GB, free: 7.652 MB / 0.5919 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.001026/0.228, allocations: 0.5323 MB / 0.8502 GB, free: 7.109 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001095/0.2281, allocations: 37.69 kB / 0.8503 GB, free: 7.066 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.2281, allocations: 4 kB / 0.8503 GB, free: 7.062 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.583e-06/0.2281, allocations: 4.406 kB / 0.8503 GB, free: 7.059 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004284/0.2285, allocations: 463.6 kB / 0.8507 GB, free: 6.602 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003626/0.2289, allocations: 258.5 kB / 0.851 GB, free: 6.312 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003058/0.2292, allocations: 0.6846 MB / 0.8516 GB, free: 5.602 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.421e-05/0.2292, allocations: 7.438 kB / 0.8516 GB, free: 5.594 MB / 0.5919 GB Notification: Performance of SimCode: time 3.01e-07/0.2292, allocations: 0 / 0.8516 GB, free: 5.594 MB / 0.5919 GB Notification: Performance of Templates: time 0.008177/0.2374, allocations: 4.818 MB / 0.8563 GB, free: 0.7891 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.83643431100063] Failed to read output from testmodel.py, exit status != 0: 0.24527522013522685 0.26026775899999993 0.035685724 Calling exit ...