Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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.001473/0.001473, 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.001885/0.001885, allocations: 191.1 kB / 22.23 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.521/1.521, 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.126/1.126, allocations: 177.9 MB / 484.2 MB, free: 5.359 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.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002104/0.002104, allocations: 67.12 kB / 0.674 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5253/0.5274, allocations: 95.16 MB / 0.767 GB, free: 8.473 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004176/0.5316, allocations: 3.071 MB / 0.77 GB, free: 6.355 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002527/0.5341, allocations: 2.159 MB / 0.7721 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002368/0.5343, allocations: 5.875 kB / 0.7721 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001488/0.5358, allocations: 0.514 MB / 0.7726 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003148/0.5361, allocations: 142.5 kB / 0.7727 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001456/0.5363, allocations: 55.52 kB / 0.7728 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004166/0.5367, allocations: 447.2 kB / 0.7732 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002045/0.5369, allocations: 110.6 kB / 0.7733 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002065/0.5371, allocations: 167.7 kB / 0.7735 GB, free: 4.055 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002001/0.5373, allocations: 180 kB / 0.7736 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.531e-05/0.5374, allocations: 34.34 kB / 0.7737 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 7.606e-05/0.5374, allocations: 35.22 kB / 0.7737 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000101/0.5375, allocations: 96.14 kB / 0.7738 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001775/0.5377, allocations: 218.5 kB / 0.774 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004997/0.5382, allocations: 0.5492 MB / 0.7745 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.5382, allocations: 0.9375 kB / 0.7745 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.343e-06/0.5382, allocations: 0 / 0.7745 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.815e-06/0.5382, allocations: 0 / 0.7745 GB, free: 3.57 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001008/0.5392, allocations: 0.6335 MB / 0.7751 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.5393, allocations: 9.594 kB / 0.7752 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.066e-05/0.5394, allocations: 51.31 kB / 0.7752 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004886/0.5399, allocations: 316 kB / 0.7755 GB, free: 2.812 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.962e-05/0.5399, allocations: 17.75 kB / 0.7755 GB, free: 2.805 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.683e-05/0.5399, allocations: 21.88 kB / 0.7755 GB, free: 2.797 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004335/0.5404, allocations: 204.7 kB / 0.7757 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.5404, allocations: 0 / 0.7757 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.128e-05/0.5404, allocations: 9.938 kB / 0.7758 GB, free: 2.688 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.5404, allocations: 5 kB / 0.7758 GB, free: 2.688 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004129/0.5408, allocations: 165 kB / 0.7759 GB, free: 2.637 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001185/0.542, allocations: 0.8349 MB / 0.7767 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000311/0.5423, allocations: 149.2 kB / 0.7769 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002277/0.5425, allocations: 99.81 kB / 0.777 GB, free: 1.945 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.84e-05/0.5426, allocations: 1.281 kB / 0.777 GB, free: 1.945 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.937e-05/0.5426, allocations: 40.34 kB / 0.777 GB, free: 1.898 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=18): time 1.483e-06/0.5426, allocations: 0.5 kB / 0.777 GB, free: 1.898 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18): time 0.0006743/0.5432, allocations: 258.9 kB / 0.7773 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.812e-05/0.5433, allocations: 57.88 kB / 0.7773 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004978/0.5438, allocations: 416.3 kB / 0.7777 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.5438, allocations: 26.86 kB / 0.7777 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.5439, allocations: 211.4 kB / 0.7779 GB, free: 1.305 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.282e-05/0.5439, allocations: 64.23 kB / 0.778 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.619e-05/0.544, allocations: 31.34 kB / 0.778 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.043e-05/0.5441, allocations: 346.6 kB / 0.7784 GB, free: 0.9023 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001516/0.5442, allocations: 61.58 kB / 0.7784 GB, free: 0.8789 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001403/0.5444, allocations: 56.81 kB / 0.7785 GB, free: 0.8633 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002859/0.5447, allocations: 135 kB / 0.7786 GB, free: 0.8047 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.5447, allocations: 3.609 kB / 0.7786 GB, free: 0.8047 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003654/0.545, allocations: 217 kB / 0.7788 GB, free: 0.6914 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.545, allocations: 7.406 kB / 0.7788 GB, free: 0.6914 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.5451, allocations: 0.7969 kB / 0.7788 GB, free: 0.6914 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.5451, allocations: 0 / 0.7788 GB, free: 0.6914 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002575/0.5453, allocations: 50.25 kB / 0.7789 GB, free: 0.6914 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.5453, allocations: 1.969 kB / 0.7789 GB, free: 0.6914 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001702/0.5455, allocations: 24.39 kB / 0.7789 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.247e-05/0.5455, allocations: 5.344 kB / 0.7789 GB, free: 0.6758 MB / 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 (20): * Single equations (assignments): 20 * 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.0001344/0.5456, allocations: 166.1 kB / 0.7791 GB, free: 0.5273 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.168e-05/0.5457, allocations: 41.59 kB / 0.7791 GB, free: 0.5039 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.202e-05/0.5458, allocations: 40.62 kB / 0.7791 GB, free: 492 kB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.5458, allocations: 1.688 kB / 0.7791 GB, free: 492 kB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.5458, allocations: 0.6562 kB / 0.7791 GB, free: 492 kB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.5458, allocations: 2.281 kB / 0.7791 GB, free: 492 kB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003761/0.5462, allocations: 345.6 kB / 0.7795 GB, free: 248 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.5462, allocations: 0.9375 kB / 0.7795 GB, free: 248 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002567/0.5464, allocations: 58.17 kB / 0.7795 GB, free: 240 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.5464, allocations: 5.188 kB / 0.7795 GB, free: 236 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.497e-05/0.5465, allocations: 7.188 kB / 0.7795 GB, free: 232 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.5465, allocations: 0 / 0.7795 GB, free: 232 kB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.5465, allocations: 0 / 0.7795 GB, free: 232 kB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005609/0.547, allocations: 377.5 kB / 0.7799 GB, free: 0 / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001159/0.5471, allocations: 48.7 kB / 0.7799 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.648e-05/0.5472, allocations: 4.062 kB / 0.7799 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001759/0.5474, allocations: 13.59 kB / 0.78 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.704e-05/0.5474, allocations: 10.94 kB / 0.78 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.23e-05/0.5474, allocations: 7.797 kB / 0.78 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003534/0.5478, allocations: 301.1 kB / 0.7803 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.5478, allocations: 0 / 0.7803 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003187/0.5481, allocations: 70.36 kB / 0.7803 GB, free: 15.79 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.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 (18): * Single equations (assignments): 18 * 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.0001393/0.5482, allocations: 108.6 kB / 0.7804 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003845/0.5486, allocations: 141.9 kB / 0.7806 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.5486, allocations: 0 / 0.7806 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001743/0.5488, allocations: 75.03 kB / 0.7806 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005605/0.5494, allocations: 94.28 kB / 0.7807 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00129/0.5506, allocations: 0.7633 MB / 0.7815 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000455/0.5511, allocations: 0.8004 MB / 0.7823 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001289/0.5512, allocations: 35.95 kB / 0.7823 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.147e-05/0.5513, allocations: 25.8 kB / 0.7823 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of SimCode: time 5e-07/0.5513, allocations: 0 / 0.7823 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of Templates: time 0.009082/0.5604, allocations: 4.118 MB / 0.7863 GB, free: 14.08 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.260004807263613] Failed to read output from testmodel.py, exit status != 0: 0.5687352297827601 0.5839799920000001 0.042504957 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f5220a917b0>