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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000905/0.0009048, allocations: 91.53 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009938/0.0009941, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 223.3 MB / 240 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9815/0.9815, allocations: 135.3 MB / 426.4 MB, free: 14.19 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003104/0.0003104, allocations: 8 kB / 0.5071 GB, free: 4.996 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1904/0.1907, allocations: 82.31 MB / 0.5875 GB, free: 2.855 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003036/0.1938, allocations: 2.58 MB / 0.59 GB, free: 264 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00248/0.1963, allocations: 1.952 MB / 0.5919 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001377/0.1965, allocations: 4 kB / 0.5919 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009981/0.1975, allocations: 414.2 kB / 0.5923 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002333/0.1977, allocations: 131.1 kB / 0.5925 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 9.816e-05/0.1978, allocations: 43.95 kB / 0.5925 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004499/0.1983, allocations: 429.8 kB / 0.5929 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002015/0.1985, allocations: 111 kB / 0.593 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001823/0.1987, allocations: 139.4 kB / 0.5931 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001934/0.1989, allocations: 163.3 kB / 0.5933 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.646e-05/0.1989, allocations: 16 kB / 0.5933 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.491e-05/0.199, allocations: 20 kB / 0.5933 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.82e-05/0.1991, allocations: 75.67 kB / 0.5934 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.727e-05/0.1992, allocations: 109.5 kB / 0.5935 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003755/0.1996, allocations: 442.6 kB / 0.5939 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.1996, allocations: 0 / 0.5939 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.512e-06/0.1996, allocations: 0 / 0.5939 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.1996, allocations: 0 / 0.5939 GB, free: 12.23 MB / 0.4981 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.0008712/0.2005, allocations: 0.6539 MB / 0.5946 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.2005, allocations: 11.97 kB / 0.5946 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.817e-05/0.2006, allocations: 54.55 kB / 0.5946 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.508e-05/0.2007, allocations: 39.53 kB / 0.5947 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004323/0.2011, allocations: 365 kB / 0.595 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/0.2011, allocations: 24.44 kB / 0.595 GB, free: 11 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.681e-05/0.2012, allocations: 16 kB / 0.5951 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003844/0.2016, allocations: 207.2 kB / 0.5953 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.2016, allocations: 0 / 0.5953 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.084e-05/0.2016, allocations: 8 kB / 0.5953 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.2016, allocations: 8 kB / 0.5953 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003749/0.202, allocations: 173.6 kB / 0.5954 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001107/0.2031, allocations: 0.8701 MB / 0.5963 GB, free: 9.645 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002913/0.2034, allocations: 166.5 kB / 0.5964 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001967/0.2036, allocations: 115.2 kB / 0.5966 GB, free: 9.359 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.746e-05/0.2036, allocations: 3.953 kB / 0.5966 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.532e-05/0.2037, allocations: 38.56 kB / 0.5966 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.373e-06/0.2037, allocations: 4 kB / 0.5966 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0005531/0.2043, allocations: 267.2 kB / 0.5969 GB, free: 9.039 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.407e-05/0.2043, allocations: 51.41 kB / 0.5969 GB, free: 8.977 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004594/0.2048, allocations: 421.7 kB / 0.5973 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.2048, allocations: 33.7 kB / 0.5973 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001442/0.2049, allocations: 204.2 kB / 0.5975 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.043e-05/0.205, allocations: 63.09 kB / 0.5976 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.077e-06/0.205, allocations: 4 kB / 0.5976 GB, free: 8.246 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.2052, allocations: 346.8 kB / 0.5979 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001393/0.2053, allocations: 59.97 kB / 0.598 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001296/0.2055, allocations: 66.2 kB / 0.598 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000149/0.2056, allocations: 67.94 kB / 0.5981 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.2056, allocations: 0 / 0.5981 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003707/0.206, allocations: 227.1 kB / 0.5983 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.206, allocations: 4 kB / 0.5983 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.206, allocations: 3.938 kB / 0.5983 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.2061, allocations: 7.984 kB / 0.5983 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002496/0.2063, allocations: 55.97 kB / 0.5984 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.2063, allocations: 4 kB / 0.5984 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001498/0.2065, allocations: 27.83 kB / 0.5984 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.132e-05/0.2065, allocations: 8 kB / 0.5984 GB, free: 7.375 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001706/0.2067, allocations: 169.7 kB / 0.5986 GB, free: 7.199 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.685e-05/0.2068, allocations: 35.53 kB / 0.5986 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.67e-05/0.2068, allocations: 39.59 kB / 0.5987 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.2068, allocations: 4 kB / 0.5987 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.2069, allocations: 4 kB / 0.5987 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.2069, allocations: 0 / 0.5987 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004098/0.2073, allocations: 369.4 kB / 0.599 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.2073, allocations: 3.953 kB / 0.599 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002422/0.2075, allocations: 51.97 kB / 0.5991 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.2075, allocations: 0 / 0.5991 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/0.2076, allocations: 4 kB / 0.5991 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.2076, allocations: 4 kB / 0.5991 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.2076, allocations: 7.938 kB / 0.5991 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005735/0.2082, allocations: 392.9 kB / 0.5995 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001091/0.2083, allocations: 124.5 kB / 0.5996 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.534e-05/0.2083, allocations: 7.984 kB / 0.5996 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001543/0.2085, allocations: 15.98 kB / 0.5996 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.064e-05/0.2085, allocations: 7.984 kB / 0.5996 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-06/0.2086, allocations: 4 kB / 0.5996 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003132/0.2089, allocations: 303.1 kB / 0.5999 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2089, allocations: 64 / 0.5999 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002963/0.2092, allocations: 75.84 kB / 0.6 GB, free: 5.691 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008671/0.2101, allocations: 0.9366 MB / 0.6009 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003428/0.2104, allocations: 147.9 kB / 0.601 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.2104, allocations: 4 kB / 0.601 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001621/0.2106, allocations: 87.8 kB / 0.6011 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005763/0.2112, allocations: 93.03 kB / 0.6012 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003256/0.2144, allocations: 2.219 MB / 0.6034 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003732/0.2148, allocations: 0.7914 MB / 0.6042 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001377/0.215, allocations: 38.95 kB / 0.6042 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001619/0.2151, allocations: 115.4 kB / 0.6043 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of SimCode: time 1.222e-06/0.2152, allocations: 0 / 0.6043 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.266/0.4812, allocations: 7.159 MB / 0.6113 GB, free: 47.77 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001521/0.4814, allocations: 253.1 kB / 0.6115 GB, free: 47.47 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.918/2.399, allocations: 0 / 0.6115 GB, free: 47.47 MB / 0.4981 GB (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/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=3600 --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) Environment - environmentSimulation: