Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0014/0.0014, allocations: 109.1 kB / 18.19 MB, free: 3.973 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00144/0.00144, allocations: 192.4 kB / 21.34 MB, free: 0.8359 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.304/1.304, allocations: 225.6 MB / 249.9 MB, free: 3.203 MB / 190.1 MB [Timeout remaining time 89] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7929/0.7929, allocations: 137.4 MB / 442.4 MB, free: 14.25 MB / 350.1 MB [Timeout remaining time 89] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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: translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001796/0.001796, allocations: 71.88 kB / 0.6138 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3185/0.3203, allocations: 85.52 MB / 0.6973 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005052/0.3253, allocations: 4.154 MB / 0.7014 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003315/0.3286, allocations: 2.421 MB / 0.7037 GB, free: 9.676 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002278/0.3289, allocations: 10.88 kB / 0.7038 GB, free: 9.676 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001411/0.3303, allocations: 0.5418 MB / 0.7043 GB, free: 9.316 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0004413/0.3307, allocations: 260.4 kB / 0.7045 GB, free: 9.094 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002375/0.3309, allocations: 138.8 kB / 0.7047 GB, free: 8.969 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0007095/0.3317, allocations: 0.8098 MB / 0.7055 GB, free: 8.477 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003333/0.332, allocations: 229.4 kB / 0.7057 GB, free: 8.32 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003226/0.3323, allocations: 293.6 kB / 0.706 GB, free: 8.113 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000366/0.3327, allocations: 330.6 kB / 0.7063 GB, free: 7.789 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.442e-05/0.3328, allocations: 76 kB / 0.7063 GB, free: 7.715 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001096/0.3329, allocations: 72 kB / 0.7064 GB, free: 7.645 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001638/0.333, allocations: 179.4 kB / 0.7066 GB, free: 7.469 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003361/0.3334, allocations: 386.2 kB / 0.707 GB, free: 7.09 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0009199/0.3343, allocations: 0.9962 MB / 0.7079 GB, free: 6.09 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.3343, allocations: 0 / 0.7079 GB, free: 6.09 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3343, allocations: 0 / 0.7079 GB, free: 6.09 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.945e-06/0.3343, allocations: 0 / 0.7079 GB, free: 6.09 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001359/0.3357, allocations: 0.9652 MB / 0.7089 GB, free: 5.074 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.222e-05/0.3357, allocations: 9.703 kB / 0.7089 GB, free: 5.066 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000107/0.3358, allocations: 84.41 kB / 0.709 GB, free: 4.984 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006289/0.3364, allocations: 466 kB / 0.7094 GB, free: 4.488 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.822e-05/0.3365, allocations: 33.38 kB / 0.7094 GB, free: 4.457 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.388e-05/0.3365, allocations: 51.94 kB / 0.7095 GB, free: 4.406 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007189/0.3373, allocations: 426.5 kB / 0.7099 GB, free: 3.984 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/0.3373, allocations: 3.938 kB / 0.7099 GB, free: 3.98 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.778e-05/0.3373, allocations: 20 kB / 0.7099 GB, free: 3.961 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.339e-05/0.3373, allocations: 19.94 kB / 0.7099 GB, free: 3.941 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006653/0.338, allocations: 363.8 kB / 0.7103 GB, free: 3.586 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001943/0.3399, allocations: 1.52 MB / 0.7118 GB, free: 1.996 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005034/0.3404, allocations: 319.9 kB / 0.7121 GB, free: 1.672 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004495/0.3409, allocations: 300.5 kB / 0.7124 GB, free: 1.375 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.006e-05/0.3409, allocations: 7.938 kB / 0.7124 GB, free: 1.367 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.123e-05/0.3409, allocations: 30.56 kB / 0.7124 GB, free: 1.328 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=42): time 1.372e-06/0.3409, allocations: 0 / 0.7124 GB, free: 1.328 MB / 0.5137 GB Notification: Performance of matching and sorting (n=42): time 0.0009163/0.3418, allocations: 0.4934 MB / 0.7129 GB, free: 0.8281 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.822e-05/0.3419, allocations: 55.41 kB / 0.7129 GB, free: 0.7617 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005425/0.3424, allocations: 489.9 kB / 0.7134 GB, free: 276 kB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.732e-05/0.3424, allocations: 33.7 kB / 0.7134 GB, free: 236 kB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002006/0.3426, allocations: 272.9 kB / 0.7137 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001219/0.3428, allocations: 154.7 kB / 0.7138 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.01e-05/0.3429, allocations: 58.08 kB / 0.7139 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.343, allocations: 362.8 kB / 0.7142 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002374/0.3433, allocations: 128.6 kB / 0.7144 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002296/0.3435, allocations: 129.2 kB / 0.7145 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005073/0.344, allocations: 290.2 kB / 0.7148 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.344, allocations: 7.734 kB / 0.7148 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006211/0.3446, allocations: 396.8 kB / 0.7151 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.3446, allocations: 8 kB / 0.7152 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.157e-06/0.3446, allocations: 0 / 0.7152 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.3447, allocations: 0 / 0.7152 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004771/0.3451, allocations: 123.9 kB / 0.7153 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.3451, allocations: 11.92 kB / 0.7153 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001918/0.3453, allocations: 31.73 kB / 0.7153 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.985e-05/0.3454, allocations: 12 kB / 0.7153 GB, free: 14.26 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 (46): * Single equations (assignments): 46 * 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 prepare postOptimizeDAE: time 0.0002039/0.3456, allocations: 201.7 kB / 0.7155 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.836e-05/0.3456, allocations: 63.66 kB / 0.7156 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000112/0.3457, allocations: 57.09 kB / 0.7156 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.3458, allocations: 4 kB / 0.7156 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.3458, allocations: 0 / 0.7156 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.3458, allocations: 0 / 0.7156 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006319/0.3464, allocations: 0.5868 MB / 0.7162 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3464, allocations: 3.938 kB / 0.7162 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004842/0.3469, allocations: 127.9 kB / 0.7163 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.3469, allocations: 4 kB / 0.7163 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.641e-05/0.3469, allocations: 11.98 kB / 0.7163 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.3469, allocations: 4 kB / 0.7164 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3469, allocations: 0 / 0.7164 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009543/0.3479, allocations: 0.6559 MB / 0.717 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001251/0.348, allocations: 140.7 kB / 0.7171 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.31e-05/0.348, allocations: 8 kB / 0.7171 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001979/0.3482, allocations: 12 kB / 0.7171 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.38e-05/0.3483, allocations: 27.95 kB / 0.7172 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.595e-05/0.3483, allocations: 8 kB / 0.7172 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003764/0.3487, allocations: 351.1 kB / 0.7175 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.3487, allocations: 0 / 0.7175 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000382/0.3491, allocations: 143.7 kB / 0.7177 GB, free: 11.78 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.T) * 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 (42): * Single equations (assignments): 42 * 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.0001351/0.3492, allocations: 119.2 kB / 0.7178 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005554/0.3498, allocations: 307.8 kB / 0.7181 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3498, allocations: 0 / 0.7181 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002725/0.3501, allocations: 163.8 kB / 0.7182 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005853/0.3506, allocations: 139 kB / 0.7183 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001841/0.3525, allocations: 1.234 MB / 0.7196 GB, free: 9.793 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004799/0.353, allocations: 0.8743 MB / 0.7204 GB, free: 8.895 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001111/0.3531, allocations: 39.44 kB / 0.7204 GB, free: 8.855 MB / 0.5294 GB Notification: Performance of SimCode: time 2.91e-07/0.3531, allocations: 0 / 0.7204 GB, free: 8.855 MB / 0.5294 GB Notification: Performance of Templates: time 0.009488/0.3626, allocations: 6.924 MB / 0.7272 GB, free: 1.984 MB / 0.5294 GB [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 480]