Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001547/0.001547, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002907/0.002907, allocations: 186.8 kB / 22.22 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.587/1.587, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:482:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:490:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.156/1.156, allocations: 177.9 MB / 484.2 MB, free: 5.367 MB / 382.1 MB " [Timeout remaining time 178] 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.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002278/0.002278, allocations: 67.14 kB / 0.6741 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6053/0.6076, allocations: 95.17 MB / 0.767 GB, free: 7.926 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002353/0.6099, allocations: 1.451 MB / 0.7684 GB, free: 7.254 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004034/0.614, allocations: 2.935 MB / 0.7713 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.531e-05/0.614, allocations: 0.8125 kB / 0.7713 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.024e-05/0.614, allocations: 3.938 kB / 0.7713 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 7.068e-05/0.6141, allocations: 16.92 kB / 0.7713 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004144/0.6182, allocations: 1.644 MB / 0.7729 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001151/0.6183, allocations: 40.48 kB / 0.7729 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.24e-05/0.6184, allocations: 3.938 kB / 0.773 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.537e-05/0.6184, allocations: 16.47 kB / 0.773 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.516e-05/0.6185, allocations: 23.02 kB / 0.773 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.091e-05/0.6185, allocations: 1.438 kB / 0.773 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003008/0.6215, allocations: 1.741 MB / 0.7747 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.904e-05/0.6215, allocations: 6.109 kB / 0.7747 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.795e-05/0.6215, allocations: 20.94 kB / 0.7747 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002057/0.6236, allocations: 1.131 MB / 0.7758 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.6236, allocations: 0.7812 kB / 0.7758 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.864e-06/0.6236, allocations: 0 / 0.7758 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.163e-06/0.6236, allocations: 0 / 0.7758 GB, free: 3.516 MB / 0.5762 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.000688/0.6243, allocations: 474.5 kB / 0.7763 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.6243, allocations: 8.75 kB / 0.7763 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.711e-05/0.6244, allocations: 82.42 kB / 0.7764 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.39e-05/0.6245, allocations: 197.1 kB / 0.7765 GB, free: 2.812 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.26e-05/0.6245, allocations: 159.3 kB / 0.7767 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.644e-05/0.6245, allocations: 151.8 kB / 0.7768 GB, free: 2.508 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.879e-05/0.6246, allocations: 102.2 kB / 0.7769 GB, free: 2.402 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.695e-05/0.6246, allocations: 75.28 kB / 0.777 GB, free: 2.328 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.761e-05/0.6246, allocations: 160 kB / 0.7772 GB, free: 2.172 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.268e-05/0.6247, allocations: 155.2 kB / 0.7773 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.376e-05/0.6247, allocations: 151.1 kB / 0.7775 GB, free: 1.871 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002028/0.6249, allocations: 438 kB / 0.7779 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 5.351e-05/0.6249, allocations: 174.2 kB / 0.778 GB, free: 1.238 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.729e-05/0.625, allocations: 80.98 kB / 0.7781 GB, free: 1.156 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.664e-05/0.625, allocations: 75.28 kB / 0.7782 GB, free: 1.082 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/0.625, allocations: 106.8 kB / 0.7783 GB, free: 0.9688 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.625, allocations: 0 / 0.7783 GB, free: 0.9688 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 7.822e-05/0.6251, allocations: 37.41 kB / 0.7783 GB, free: 0.9297 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.426e-05/0.6251, allocations: 136.6 kB / 0.7785 GB, free: 0.7852 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/0.6252, allocations: 137.9 kB / 0.7786 GB, free: 0.6719 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.866e-06/0.6253, allocations: 25.7 kB / 0.7786 GB, free: 0.6406 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.758e-05/0.6253, allocations: 92.64 kB / 0.7787 GB, free: 0.5508 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.286e-06/0.6253, allocations: 3.984 kB / 0.7787 GB, free: 0.5469 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.101e-05/0.6253, allocations: 15.97 kB / 0.7787 GB, free: 0.5312 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.766e-05/0.6254, allocations: 322.9 kB / 0.779 GB, free: 216 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.753e-05/0.6254, allocations: 8.188 kB / 0.779 GB, free: 212 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.617e-05/0.6254, allocations: 11.25 kB / 0.7791 GB, free: 204 kB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.754e-05/0.6255, allocations: 19.47 kB / 0.7791 GB, free: 188 kB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.155e-06/0.6255, allocations: 0.5625 kB / 0.7791 GB, free: 188 kB / 0.5762 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001312/0.6256, allocations: 54.86 kB / 0.7791 GB, free: 144 kB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.6256, allocations: 4.906 kB / 0.7791 GB, free: 144 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.25e-05/0.6256, allocations: 3.734 kB / 0.7791 GB, free: 144 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.6257, allocations: 0.5312 kB / 0.7791 GB, free: 144 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.51e-07/0.6257, allocations: 1.062 kB / 0.7791 GB, free: 144 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.6257, allocations: 0.75 kB / 0.7791 GB, free: 144 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.304e-05/0.6257, allocations: 5.047 kB / 0.7791 GB, free: 140 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.428e-06/0.6257, allocations: 6 kB / 0.7791 GB, free: 136 kB / 0.5762 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.000111/0.6258, allocations: 186.9 kB / 0.7793 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.59e-05/0.6259, allocations: 108.9 kB / 0.7794 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.334e-05/0.626, allocations: 116.3 kB / 0.7795 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.754e-05/0.626, allocations: 178.1 kB / 0.7797 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.846e-05/0.6261, allocations: 185.8 kB / 0.7799 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-05/0.6262, allocations: 182.3 kB / 0.7801 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002764/0.6265, allocations: 388.2 kB / 0.7804 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.895e-05/0.6266, allocations: 106.6 kB / 0.7805 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-05/0.6266, allocations: 102.8 kB / 0.7806 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.805e-05/0.6267, allocations: 181.8 kB / 0.7808 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.898e-05/0.6268, allocations: 186.4 kB / 0.781 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.576e-05/0.6269, allocations: 177.8 kB / 0.7811 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.338e-05/0.6269, allocations: 182 kB / 0.7813 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001848/0.6271, allocations: 315.2 kB / 0.7816 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.783e-05/0.6272, allocations: 112.5 kB / 0.7817 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001046/0.6273, allocations: 183 kB / 0.7819 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.6274, allocations: 105.5 kB / 0.782 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.578e-05/0.6275, allocations: 178.4 kB / 0.7822 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.436e-05/0.6275, allocations: 106.3 kB / 0.7823 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 7.421e-05/0.6276, allocations: 102.8 kB / 0.7824 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.6276, allocations: 0 / 0.7824 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009482/0.6286, allocations: 298.3 kB / 0.7827 GB, free: 12.61 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.001115/0.6297, allocations: 0.5277 MB / 0.7832 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001088/0.6298, allocations: 35.25 kB / 0.7832 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.6298, allocations: 64 / 0.7832 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 2.795e-06/0.6298, allocations: 7.688 kB / 0.7832 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004497/0.6302, allocations: 466.3 kB / 0.7837 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003502/0.6306, allocations: 241.9 kB / 0.7839 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003143/0.6309, allocations: 0.6884 MB / 0.7846 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.435e-05/0.6309, allocations: 4.5 kB / 0.7846 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.335e-05/0.6309, allocations: 8.875 kB / 0.7846 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of SimCode: time 3.5e-07/0.6309, allocations: 3.938 kB / 0.7846 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of Templates: time 0.011/0.6419, allocations: 5.645 MB / 0.7901 GB, free: 10.5 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.891328625380993] Failed to read output from testmodel.py, exit status != 0: 0.6513087432831526 0.667607765 0.040660778 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f9ff41c17b0>