Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0097/0.0097, allocations: 171.9 kB / 15.12 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7497/0.7497, allocations: 135.2 MB / 151 MB, free: 13.84 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.479/1.479, allocations: 223.2 MB / 406.8 MB, free: 3.238 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 98.67 kB / 489.9 MB, free: 10.95 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003696/0.0003698, allocations: 12 kB / 0.5692 GB, free: 14.04 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4453/0.4457, allocations: 82.31 MB / 0.6496 GB, free: 36.16 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.168/0.6137, allocations: 131.5 MB / 0.778 GB, free: 436 kB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003137/0.6141, allocations: 119.9 kB / 0.7782 GB, free: 316 kB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.0453/0.6594, allocations: 15.1 MB / 0.7929 GB, free: 1.191 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.866e-06/0.6594, allocations: 0 / 0.7929 GB, free: 1.191 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 7.854e-06/0.6595, allocations: 0 / 0.7929 GB, free: 1.191 MB / 0.5573 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.00126/0.6607, allocations: 0.5689 MB / 0.7935 GB, free: 0.5742 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.944e-05/0.6608, allocations: 12.03 kB / 0.7935 GB, free: 0.5625 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.011e-05/0.6609, allocations: 105.8 kB / 0.7936 GB, free: 460 kB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.193e-05/0.661, allocations: 87.12 kB / 0.7937 GB, free: 372 kB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001892/0.6612, allocations: 246.3 kB / 0.7939 GB, free: 84 kB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.3765/1.038, allocations: 154.6 kB / 0.794 GB, free: 132.1 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.752e-05/1.038, allocations: 150.6 kB / 0.7942 GB, free: 131.9 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.208e-05/1.038, allocations: 104.9 kB / 0.7943 GB, free: 131.8 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.016e-05/1.038, allocations: 75.28 kB / 0.7944 GB, free: 131.8 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.422e-05/1.038, allocations: 151.1 kB / 0.7945 GB, free: 131.6 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.894e-05/1.038, allocations: 153.7 kB / 0.7946 GB, free: 131.5 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.753e-05/1.038, allocations: 151.1 kB / 0.7948 GB, free: 131.3 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003232/1.038, allocations: 464.1 kB / 0.7952 GB, free: 130.8 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 6.85e-05/1.038, allocations: 171.9 kB / 0.7954 GB, free: 130.7 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/1.038, allocations: 75.84 kB / 0.7955 GB, free: 130.6 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.677e-05/1.038, allocations: 112.8 kB / 0.7956 GB, free: 130.5 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=0): time 4.408e-06/1.039, allocations: 0 / 0.7956 GB, free: 130.5 MB / 0.5573 GB Notification: Performance of matching and sorting (n=0): time 0.0001005/1.039, allocations: 42.83 kB / 0.7956 GB, free: 130.4 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.351e-05/1.039, allocations: 127.2 kB / 0.7957 GB, free: 130.3 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001525/1.039, allocations: 118.4 kB / 0.7959 GB, free: 130.2 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 8.806e-06/1.039, allocations: 25.7 kB / 0.7959 GB, free: 130.2 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 5.77e-05/1.039, allocations: 91.25 kB / 0.796 GB, free: 130.1 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.765e-06/1.039, allocations: 0 / 0.796 GB, free: 130.1 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.897e-06/1.039, allocations: 4.281 kB / 0.796 GB, free: 130.1 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 7.985e-05/1.039, allocations: 317.8 kB / 0.7963 GB, free: 129.8 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.719e-05/1.039, allocations: 4.047 kB / 0.7963 GB, free: 129.8 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.373e-05/1.039, allocations: 5.594 kB / 0.7963 GB, free: 129.8 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.612e-05/1.039, allocations: 8.453 kB / 0.7963 GB, free: 129.8 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/1.039, allocations: 0 / 0.7963 GB, free: 129.8 MB / 0.5573 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001446/1.039, allocations: 49.23 kB / 0.7963 GB, free: 129.8 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.544e-05/1.039, allocations: 7.266 kB / 0.7963 GB, free: 129.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.371e-05/1.039, allocations: 5.969 kB / 0.7963 GB, free: 129.8 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.529e-05/1.039, allocations: 2.125 kB / 0.7964 GB, free: 129.8 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.505e-06/1.039, allocations: 0.75 kB / 0.7964 GB, free: 129.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/1.039, allocations: 4.609 kB / 0.7964 GB, free: 129.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.891e-05/1.039, allocations: 3.625 kB / 0.7964 GB, free: 129.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.086e-05/1.039, allocations: 0.7188 kB / 0.7964 GB, free: 129.7 MB / 0.5573 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.561e-05/1.04, allocations: 188.3 kB / 0.7965 GB, free: 129.6 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.694e-05/1.04, allocations: 112.7 kB / 0.7966 GB, free: 129.4 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.016e-05/1.04, allocations: 114.7 kB / 0.7968 GB, free: 129.3 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.171e-05/1.04, allocations: 179.4 kB / 0.7969 GB, free: 129.2 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.72e-05/1.04, allocations: 184.3 kB / 0.7971 GB, free: 129 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.493e-05/1.04, allocations: 185.3 kB / 0.7973 GB, free: 128.8 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002248/1.04, allocations: 415 kB / 0.7977 GB, free: 128.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-05/1.04, allocations: 105.9 kB / 0.7978 GB, free: 128.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.754e-05/1.04, allocations: 107.6 kB / 0.7979 GB, free: 128.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.566e-05/1.04, allocations: 184.5 kB / 0.7981 GB, free: 128 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.639e-05/1.04, allocations: 179.3 kB / 0.7982 GB, free: 127.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.851e-05/1.04, allocations: 180.3 kB / 0.7984 GB, free: 127.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.481e-05/1.04, allocations: 185.2 kB / 0.7986 GB, free: 127.4 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000111/1.04, allocations: 310.8 kB / 0.7989 GB, free: 127.1 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.354e-05/1.041, allocations: 187 kB / 0.799 GB, free: 126.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.149e-05/1.041, allocations: 182.4 kB / 0.7992 GB, free: 126.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.569e-05/1.041, allocations: 107.4 kB / 0.7993 GB, free: 126.6 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.198e-05/1.041, allocations: 183.6 kB / 0.7995 GB, free: 126.4 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.398e-05/1.041, allocations: 107.8 kB / 0.7996 GB, free: 126.3 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 7.953e-05/1.041, allocations: 98.42 kB / 0.7997 GB, free: 126.2 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.3e-07/1.041, allocations: 0 / 0.7997 GB, free: 126.2 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001591/1.042, allocations: 316.9 kB / 0.8 GB, free: 126.2 MB / 0.5573 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 (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.001526/1.044, allocations: 1.185 MB / 0.8012 GB, free: 125.4 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001145/1.044, allocations: 37.67 kB / 0.8012 GB, free: 125.4 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/1.044, allocations: 0 / 0.8012 GB, free: 125.4 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 3.397e-06/1.044, allocations: 0.75 kB / 0.8012 GB, free: 125.4 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002689/1.044, allocations: 0.5287 MB / 0.8017 GB, free: 124.9 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007649/1.045, allocations: 0.6025 MB / 0.8023 GB, free: 124.4 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001246/1.045, allocations: 0.686 MB / 0.803 GB, free: 123.7 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 1.515e-05/1.045, allocations: 0 / 0.803 GB, free: 123.7 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.002e-05/1.045, allocations: 16.08 kB / 0.803 GB, free: 123.7 MB / 0.5573 GB Notification: Performance of SimCode: time 2.61e-07/1.045, allocations: 3.875 kB / 0.803 GB, free: 123.7 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0265/1.072, allocations: 6.241 MB / 0.8091 GB, free: 123.3 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002066/1.072, allocations: 248.7 kB / 0.8093 GB, free: 123 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.95/3.022, allocations: 3.375 kB / 0.8093 GB, free: 123 MB / 0.5573 GB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)