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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001695/0.001695, allocations: 110.6 kB / 16.46 MB, free: 6.035 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.002028/0.002028, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.379/1.379, allocations: 225.6 MB / 247.8 MB, free: 13.93 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/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.044/1.044, allocations: 175.8 MB / 478.5 MB, free: 8.457 MB / 382.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-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: "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001931, allocations: 73.42 kB / 0.6652 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1859/0.1878, allocations: 94.54 MB / 0.7576 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.3845/0.5723, allocations: 4.139 MB / 0.7616 GB, free: 7.082 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003922/0.5763, allocations: 2.42 MB / 0.764 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005823/0.5768, allocations: 11.94 kB / 0.764 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002445/0.5793, allocations: 0.5536 MB / 0.7645 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001129/0.5804, allocations: 243.8 kB / 0.7648 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004254/0.5808, allocations: 134.4 kB / 0.7649 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001226/0.5821, allocations: 0.8119 MB / 0.7657 GB, free: 5.176 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004155/0.5825, allocations: 239.8 kB / 0.7659 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005106/0.583, allocations: 292.8 kB / 0.7662 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004218/0.5834, allocations: 328.8 kB / 0.7665 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001176/0.5835, allocations: 73.72 kB / 0.7666 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001346/0.5837, allocations: 75.41 kB / 0.7667 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.00017/0.5838, allocations: 177.2 kB / 0.7668 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003262/0.5842, allocations: 380.7 kB / 0.7672 GB, free: 4.812 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0009374/0.5851, allocations: 0.9973 MB / 0.7682 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.5851, allocations: 1.812 kB / 0.7682 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.853e-06/0.5851, allocations: 0 / 0.7682 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.731e-05/0.5851, allocations: 4 kB / 0.7682 GB, free: 4.453 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001469/0.5866, allocations: 0.9663 MB / 0.7691 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/0.5866, allocations: 9.062 kB / 0.7691 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.425e-05/0.5867, allocations: 87.48 kB / 0.7692 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001273/0.5869, allocations: 83.38 kB / 0.7693 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006648/0.5875, allocations: 459.5 kB / 0.7697 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.885e-05/0.5876, allocations: 36.97 kB / 0.7698 GB, free: 3.25 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.23e-05/0.5876, allocations: 55.09 kB / 0.7698 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007013/0.5883, allocations: 427 kB / 0.7702 GB, free: 3.043 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.046e-05/0.5884, allocations: 0 / 0.7702 GB, free: 3.043 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.567e-05/0.5884, allocations: 21.77 kB / 0.7702 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.415e-05/0.5884, allocations: 12.22 kB / 0.7702 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000667/0.5891, allocations: 361.5 kB / 0.7706 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002264/0.5913, allocations: 1.531 MB / 0.7721 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005263/0.5919, allocations: 318.6 kB / 0.7724 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004622/0.5923, allocations: 293 kB / 0.7727 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.661e-05/0.5924, allocations: 9.297 kB / 0.7727 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.5924, allocations: 33.22 kB / 0.7727 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=42): time 2.344e-06/0.5924, allocations: 0 / 0.7727 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of matching and sorting (n=42): time 0.0008836/0.5933, allocations: 0.493 MB / 0.7732 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.427e-05/0.5933, allocations: 57.06 kB / 0.7732 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005163/0.5938, allocations: 489.4 kB / 0.7737 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.18e-05/0.5938, allocations: 29.7 kB / 0.7737 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000146/0.594, allocations: 276.3 kB / 0.774 GB, free: 0.9219 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.815e-05/0.5941, allocations: 156.4 kB / 0.7741 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.403e-05/0.5941, allocations: 55.38 kB / 0.7742 GB, free: 0.7578 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.102e-05/0.5942, allocations: 364.4 kB / 0.7746 GB, free: 432 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002335/0.5945, allocations: 119.5 kB / 0.7747 GB, free: 388 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002244/0.5947, allocations: 129.7 kB / 0.7748 GB, free: 340 kB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004508/0.5951, allocations: 295.1 kB / 0.7751 GB, free: 196 kB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.5952, allocations: 6.812 kB / 0.7751 GB, free: 192 kB / 0.5762 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000623/0.5958, allocations: 394.7 kB / 0.7755 GB, free: 4 kB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.5958, allocations: 5.344 kB / 0.7755 GB, free: 4 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.5958, allocations: 0 / 0.7755 GB, free: 4 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.5958, allocations: 8.141 kB / 0.7755 GB, free: 0 / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005225/0.5963, allocations: 124.2 kB / 0.7756 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.679e-06/0.5963, allocations: 3.562 kB / 0.7756 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003096/0.5967, allocations: 38.84 kB / 0.7756 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.956e-05/0.5967, allocations: 12.22 kB / 0.7756 GB, free: 15.96 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 (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.0002696/0.5969, allocations: 201 kB / 0.7758 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.898e-05/0.597, allocations: 52.56 kB / 0.7759 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001277/0.5972, allocations: 68.89 kB / 0.7759 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.5972, allocations: 4.734 kB / 0.7759 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.14e-05/0.5972, allocations: 1.25 kB / 0.7759 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/0.5972, allocations: 2.016 kB / 0.776 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008575/0.598, allocations: 0.5776 MB / 0.7765 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.5981, allocations: 0.9375 kB / 0.7765 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005126/0.5986, allocations: 126.9 kB / 0.7766 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.5986, allocations: 1.078 kB / 0.7766 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.608e-05/0.5986, allocations: 7.438 kB / 0.7766 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.5986, allocations: 4.703 kB / 0.7766 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.5986, allocations: 0 / 0.7766 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001037/0.5996, allocations: 0.6567 MB / 0.7773 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001713/0.5998, allocations: 131.3 kB / 0.7774 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.484e-05/0.5999, allocations: 16.02 kB / 0.7774 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002116/0.6001, allocations: 16.92 kB / 0.7774 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.547e-05/0.6002, allocations: 22.16 kB / 0.7775 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.817e-05/0.6002, allocations: 10.84 kB / 0.7775 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.00043/0.6006, allocations: 352.8 kB / 0.7778 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8.1e-08/0.6006, allocations: 0 / 0.7778 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004688/0.6011, allocations: 149.9 kB / 0.778 GB, free: 14.62 MB / 0.5919 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.00152/0.6026, allocations: 1.219 MB / 0.7791 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0006828/0.6033, allocations: 298.6 kB / 0.7794 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.6033, allocations: 0 / 0.7794 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003037/0.6036, allocations: 169 kB / 0.7796 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008696/0.6045, allocations: 122.4 kB / 0.7797 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008973/0.6134, allocations: 4.857 MB / 0.7845 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007488/0.6142, allocations: 0.8685 MB / 0.7853 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003666/0.6145, allocations: 57.52 kB / 0.7854 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003664/0.6149, allocations: 195.4 kB / 0.7855 GB, free: 9.953 MB / 0.5919 GB Notification: Performance of SimCode: time 2.053e-06/0.6149, allocations: 0.5 kB / 0.7855 GB, free: 9.953 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05164/0.6666, allocations: 11.5 MB / 0.7968 GB, free: 7.352 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.701/9.367, allocations: 13.67 kB / 0.7968 GB, free: 7.344 MB / 0.5919 GB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.153265233151615] Failed to read output from testmodel.py, exit status != 0: 9.443681292235851 9.466768143 8.877196063 Calling exit ...