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.001662/0.001662, allocations: 108.3 kB / 16.45 MB, free: 6.504 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.001878/0.001878, allocations: 195.8 kB / 19.41 MB, free: 3.668 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.411/1.411, allocations: 225.6 MB / 247.8 MB, free: 13.92 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.079/1.079, 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.InternalResistancesOneUTube,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002606/0.002606, allocations: 67.42 kB / 0.6652 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2086/0.2112, allocations: 94.55 MB / 0.7576 GB, free: 1.867 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.3723/0.5835, allocations: 3.039 MB / 0.7605 GB, free: 7.777 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002943/0.5865, allocations: 2.138 MB / 0.7626 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003355/0.5868, allocations: 5.938 kB / 0.7626 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001774/0.5886, allocations: 0.5158 MB / 0.7631 GB, free: 6.438 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004216/0.589, allocations: 141.7 kB / 0.7633 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001683/0.5892, allocations: 66.92 kB / 0.7633 GB, free: 6.344 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005245/0.5897, allocations: 436.2 kB / 0.7637 GB, free: 6.227 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002198/0.5899, allocations: 105.7 kB / 0.7638 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002505/0.5902, allocations: 166.2 kB / 0.764 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000225/0.5904, allocations: 179.6 kB / 0.7642 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.67e-05/0.5904, allocations: 35 kB / 0.7642 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 7.034e-05/0.5905, allocations: 33.72 kB / 0.7642 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001142/0.5906, allocations: 95.84 kB / 0.7643 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001845/0.5908, allocations: 221.9 kB / 0.7645 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006991/0.5915, allocations: 0.5494 MB / 0.7651 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.5915, allocations: 0 / 0.7651 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.533e-06/0.5915, allocations: 0 / 0.7651 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.23e-05/0.5915, allocations: 0.7188 kB / 0.7651 GB, free: 5.93 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.00109/0.5926, allocations: 0.7088 MB / 0.7658 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.5927, allocations: 10.28 kB / 0.7658 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.912e-05/0.5927, allocations: 56.53 kB / 0.7658 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.582e-05/0.5928, allocations: 51.16 kB / 0.7659 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005352/0.5933, allocations: 374.7 kB / 0.7662 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.109e-05/0.5933, allocations: 19.75 kB / 0.7663 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.376e-05/0.5934, allocations: 24.16 kB / 0.7663 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003817/0.5938, allocations: 201.3 kB / 0.7665 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.732e-05/0.5938, allocations: 1.25 kB / 0.7665 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.102e-05/0.5938, allocations: 9.531 kB / 0.7665 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.5938, allocations: 5.719 kB / 0.7665 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003509/0.5942, allocations: 167.4 kB / 0.7667 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001103/0.5953, allocations: 0.8731 MB / 0.7675 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002874/0.5956, allocations: 147.5 kB / 0.7677 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002114/0.5958, allocations: 102.9 kB / 0.7677 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.5958, allocations: 2.125 kB / 0.7678 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.183e-05/0.5958, allocations: 36.66 kB / 0.7678 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=18): time 2.504e-06/0.5958, allocations: 0 / 0.7678 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18): time 0.0005877/0.5964, allocations: 262.8 kB / 0.768 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.045e-05/0.5964, allocations: 52.56 kB / 0.7681 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004647/0.5969, allocations: 415 kB / 0.7685 GB, free: 4.055 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.5969, allocations: 30.45 kB / 0.7685 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.597, allocations: 201.7 kB / 0.7687 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.399e-05/0.5971, allocations: 65.98 kB / 0.7688 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.34e-05/0.5971, allocations: 35 kB / 0.7688 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.069e-05/0.5972, allocations: 349.9 kB / 0.7691 GB, free: 3.441 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001424/0.5973, allocations: 54.61 kB / 0.7692 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001279/0.5975, allocations: 54.44 kB / 0.7692 GB, free: 3.41 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002716/0.5977, allocations: 150.1 kB / 0.7694 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.5977, allocations: 0 / 0.7694 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000376/0.5981, allocations: 213.4 kB / 0.7696 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.5981, allocations: 4.688 kB / 0.7696 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.5981, allocations: 0.9062 kB / 0.7696 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.5982, allocations: 0.9688 kB / 0.7696 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002519/0.5984, allocations: 52.22 kB / 0.7696 GB, free: 3.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.5984, allocations: 3.734 kB / 0.7696 GB, free: 3.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001706/0.5986, allocations: 17.8 kB / 0.7697 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/0.5986, allocations: 4.531 kB / 0.7697 GB, free: 3.219 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.00014/0.5987, allocations: 164.7 kB / 0.7698 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.085e-05/0.5988, allocations: 43.91 kB / 0.7699 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.11e-05/0.5989, allocations: 37.66 kB / 0.7699 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.5989, allocations: 4.922 kB / 0.7699 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.5989, allocations: 0.9688 kB / 0.7699 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.5989, allocations: 0 / 0.7699 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003758/0.5993, allocations: 377.7 kB / 0.7703 GB, free: 2.754 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.5993, allocations: 0 / 0.7703 GB, free: 2.754 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002527/0.5995, allocations: 60.28 kB / 0.7703 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.5995, allocations: 4.906 kB / 0.7703 GB, free: 2.738 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.577e-05/0.5995, allocations: 5.844 kB / 0.7703 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.5995, allocations: 1.391 kB / 0.7703 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.5995, allocations: 0 / 0.7703 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005509/0.6001, allocations: 377.4 kB / 0.7707 GB, free: 2.508 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001012/0.6002, allocations: 125.9 kB / 0.7708 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.442e-05/0.6002, allocations: 9.906 kB / 0.7708 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001512/0.6004, allocations: 3.781 kB / 0.7708 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.5e-05/0.6004, allocations: 20.06 kB / 0.7708 GB, free: 2.367 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.488e-06/0.6005, allocations: 3.281 kB / 0.7708 GB, free: 2.367 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003341/0.6008, allocations: 306.2 kB / 0.7711 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.6008, allocations: 0 / 0.7711 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000334/0.6011, allocations: 72.08 kB / 0.7712 GB, free: 2.203 MB / 0.5762 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.0007511/0.6019, allocations: 0.9192 MB / 0.7721 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003491/0.6022, allocations: 135.7 kB / 0.7722 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.6022, allocations: 5.219 kB / 0.7722 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001429/0.6024, allocations: 73.89 kB / 0.7723 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005811/0.6029, allocations: 99.69 kB / 0.7724 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004522/0.6075, allocations: 3.491 MB / 0.7758 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004617/0.6079, allocations: 0.7914 MB / 0.7766 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001885/0.6081, allocations: 35.19 kB / 0.7766 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001762/0.6083, allocations: 113.2 kB / 0.7767 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of SimCode: time 1.133e-06/0.6083, allocations: 4 kB / 0.7767 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04065/0.6489, allocations: 8.011 MB / 0.7846 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.408/9.057, allocations: 17.16 kB / 0.7846 GB, free: 13.61 MB / 0.5919 GB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.811139553785324] Failed to read output from testmodel.py, exit status != 0: 9.133127159904689 9.156450886 8.560070842 Calling exit ...