Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.00131/0.00131, allocations: 106.5 kB / 19.69 MB, free: 2.277 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.001442/0.001442, allocations: 214.1 kB / 23 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.491/1.491, 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/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9198/0.9198, allocations: 134 MB / 447.2 MB, free: 10.22 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") [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.001995/0.001995, allocations: 66.03 kB / 0.6199 GB, free: 6.711 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2187/0.2207, allocations: 85.9 MB / 0.7037 GB, free: 0.8789 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002879/0.2236, allocations: 1.468 MB / 0.7052 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005018/0.2286, allocations: 2.988 MB / 0.7081 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.444e-05/0.2287, allocations: 0 / 0.7081 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.826e-05/0.2287, allocations: 3.938 kB / 0.7081 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.117e-05/0.2288, allocations: 23.78 kB / 0.7081 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004414/0.2332, allocations: 1.691 MB / 0.7098 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001083/0.2333, allocations: 47.67 kB / 0.7098 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.922e-05/0.2333, allocations: 7.984 kB / 0.7098 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.447e-05/0.2334, allocations: 11.94 kB / 0.7098 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 2.914e-05/0.2334, allocations: 11.94 kB / 0.7098 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.167e-05/0.2334, allocations: 4 kB / 0.7098 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002648/0.2361, allocations: 1.763 MB / 0.7116 GB, free: 8.852 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.541e-05/0.2361, allocations: 3.938 kB / 0.7116 GB, free: 8.848 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.058e-05/0.2361, allocations: 19.88 kB / 0.7116 GB, free: 8.828 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001619/0.2377, allocations: 1.13 MB / 0.7127 GB, free: 7.695 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.2377, allocations: 3.938 kB / 0.7127 GB, free: 7.691 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.164e-06/0.2378, allocations: 0 / 0.7127 GB, free: 7.691 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.193e-05/0.2378, allocations: 0 / 0.7127 GB, free: 7.691 MB / 0.5294 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.0007228/0.2385, allocations: 472.1 kB / 0.7132 GB, free: 7.199 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/0.2385, allocations: 12.03 kB / 0.7132 GB, free: 7.188 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.055e-05/0.2386, allocations: 88.14 kB / 0.7132 GB, free: 7.102 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001905/0.2388, allocations: 197.7 kB / 0.7134 GB, free: 6.883 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.076e-05/0.2389, allocations: 154.7 kB / 0.7136 GB, free: 6.73 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.215e-05/0.239, allocations: 150.6 kB / 0.7137 GB, free: 6.582 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.503e-05/0.2391, allocations: 105 kB / 0.7138 GB, free: 6.473 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.456e-05/0.2391, allocations: 79.28 kB / 0.7139 GB, free: 6.395 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.335e-05/0.2392, allocations: 150.6 kB / 0.714 GB, free: 6.246 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.379e-05/0.2392, allocations: 154.5 kB / 0.7142 GB, free: 6.094 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.94e-05/0.2393, allocations: 158.5 kB / 0.7143 GB, free: 5.938 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000339/0.2397, allocations: 437 kB / 0.7148 GB, free: 5.469 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001054/0.2398, allocations: 169.1 kB / 0.7149 GB, free: 5.293 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.498e-05/0.2398, allocations: 80.14 kB / 0.715 GB, free: 5.211 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.94e-05/0.2399, allocations: 75.28 kB / 0.7151 GB, free: 5.137 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.173e-05/0.2399, allocations: 113.8 kB / 0.7152 GB, free: 5.016 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.2399, allocations: 4 kB / 0.7152 GB, free: 5.012 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 8.485e-05/0.24, allocations: 37.66 kB / 0.7152 GB, free: 4.969 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.831e-05/0.2401, allocations: 126.7 kB / 0.7153 GB, free: 4.832 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001632/0.2403, allocations: 131.9 kB / 0.7155 GB, free: 4.695 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.2403, allocations: 25.7 kB / 0.7155 GB, free: 4.664 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.976e-05/0.2403, allocations: 100 kB / 0.7156 GB, free: 4.562 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.555e-06/0.2403, allocations: 0 / 0.7156 GB, free: 4.562 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.054e-05/0.2404, allocations: 21.77 kB / 0.7156 GB, free: 4.535 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.2405, allocations: 318.8 kB / 0.7159 GB, free: 4.215 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.83e-05/0.2406, allocations: 11.98 kB / 0.7159 GB, free: 4.203 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.715e-05/0.2406, allocations: 4 kB / 0.7159 GB, free: 4.199 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.46e-05/0.2406, allocations: 20.73 kB / 0.7159 GB, free: 4.176 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2406, allocations: 0 / 0.7159 GB, free: 4.176 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001368/0.2408, allocations: 45.7 kB / 0.716 GB, free: 4.125 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.2408, allocations: 4 kB / 0.716 GB, free: 4.121 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.947e-05/0.2408, allocations: 4 kB / 0.716 GB, free: 4.117 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.2408, allocations: 3.984 kB / 0.716 GB, free: 4.113 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.493e-06/0.2408, allocations: 4.125 kB / 0.716 GB, free: 4.109 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.2408, allocations: 8 kB / 0.716 GB, free: 4.102 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.298e-05/0.2408, allocations: 3.953 kB / 0.716 GB, free: 4.098 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.2408, allocations: 0 / 0.716 GB, free: 4.098 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 (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.0001301/0.241, allocations: 189.1 kB / 0.7162 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.97e-05/0.2411, allocations: 108.9 kB / 0.7163 GB, free: 3.789 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.785e-05/0.2411, allocations: 116.8 kB / 0.7164 GB, free: 3.668 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.362e-05/0.2412, allocations: 184.2 kB / 0.7166 GB, free: 3.48 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.936e-05/0.2413, allocations: 176.3 kB / 0.7168 GB, free: 3.301 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.286e-05/0.2414, allocations: 180.3 kB / 0.7169 GB, free: 3.117 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002759/0.2416, allocations: 388.2 kB / 0.7173 GB, free: 2.688 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.176e-05/0.2417, allocations: 109 kB / 0.7174 GB, free: 2.574 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.475e-05/0.2417, allocations: 112.9 kB / 0.7175 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.644e-05/0.2418, allocations: 176.3 kB / 0.7177 GB, free: 2.277 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001071/0.2419, allocations: 176.3 kB / 0.7178 GB, free: 2.098 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.903e-05/0.242, allocations: 184.2 kB / 0.718 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.79e-05/0.2421, allocations: 180.3 kB / 0.7182 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001786/0.2423, allocations: 311.7 kB / 0.7185 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.673e-05/0.2423, allocations: 112.9 kB / 0.7186 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000103/0.2424, allocations: 184.2 kB / 0.7188 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.67e-05/0.2425, allocations: 105 kB / 0.7189 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.288e-05/0.2426, allocations: 184.2 kB / 0.719 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.745e-05/0.2427, allocations: 105 kB / 0.7191 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.945e-05/0.2427, allocations: 101.5 kB / 0.7192 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.2427, allocations: 0 / 0.7192 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008289/0.2436, allocations: 295 kB / 0.7195 GB, free: 308 kB / 0.5294 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.001098/0.2447, allocations: 0.551 MB / 0.7201 GB, free: 15.74 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000116/0.2448, allocations: 33.7 kB / 0.7201 GB, free: 15.7 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.2448, allocations: 7.875 kB / 0.7201 GB, free: 15.69 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.854e-06/0.2448, allocations: 352 / 0.7201 GB, free: 15.69 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004475/0.2452, allocations: 467.6 kB / 0.7205 GB, free: 15.23 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004022/0.2456, allocations: 266.5 kB / 0.7208 GB, free: 14.94 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003499/0.246, allocations: 0.6883 MB / 0.7215 GB, free: 14.22 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.528e-05/0.246, allocations: 11.42 kB / 0.7215 GB, free: 14.21 MB / 0.545 GB Notification: Performance of SimCode: time 3.21e-07/0.246, allocations: 0 / 0.7215 GB, free: 14.21 MB / 0.545 GB Notification: Performance of Templates: time 0.008811/0.2548, allocations: 4.898 MB / 0.7263 GB, free: 9.32 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.884567027911544] Failed to read output from testmodel.py, exit status != 0: 0.26303085102699697 0.27810672899999994 0.037263874 Calling exit ...