Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.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.InternalResistancesOneUTubeNegative,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",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.00169/0.00169, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7489/0.7489, allocations: 133.4 MB / 146.7 MB, free: 10.78 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.52/1.52, allocations: 221.3 MB / 400.4 MB, free: 5.859 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00095/0.0009501, allocations: 86.89 kB / 483.3 MB, free: 5.875 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.819e-05/3.822e-05, allocations: 3.094 kB / 0.5602 GB, free: 87.81 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2207/0.2207, allocations: 82.31 MB / 0.6406 GB, free: 7.645 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7197/0.9405, allocations: 131.5 MB / 0.769 GB, free: 6.438 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002714/0.9408, allocations: 128.2 kB / 0.7691 GB, free: 6.406 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.04205/0.9828, allocations: 15.02 MB / 0.7837 GB, free: 9.707 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.042e-06/0.9829, allocations: 0 / 0.7837 GB, free: 9.707 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.9829, allocations: 4 kB / 0.7838 GB, free: 9.703 MB / 0.5105 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.0009702/0.9839, allocations: 0.5482 MB / 0.7843 GB, free: 9.121 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/0.9839, allocations: 12.03 kB / 0.7843 GB, free: 9.109 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.582e-05/0.984, allocations: 105.8 kB / 0.7844 GB, free: 8.996 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.085e-05/0.9841, allocations: 87.14 kB / 0.7845 GB, free: 8.91 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001931/0.9843, allocations: 251.4 kB / 0.7847 GB, free: 8.625 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.293e-05/0.9843, allocations: 150.6 kB / 0.7849 GB, free: 8.477 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.933e-05/0.9844, allocations: 150.6 kB / 0.785 GB, free: 8.328 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.605e-05/0.9845, allocations: 105 kB / 0.7851 GB, free: 8.219 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.802e-05/0.9845, allocations: 79.22 kB / 0.7852 GB, free: 8.141 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.995e-05/0.9846, allocations: 157.7 kB / 0.7853 GB, free: 7.988 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.2e-05/0.9847, allocations: 154.5 kB / 0.7855 GB, free: 7.836 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.959e-05/0.9848, allocations: 158.5 kB / 0.7856 GB, free: 7.68 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003235/0.9851, allocations: 462.1 kB / 0.7861 GB, free: 7.188 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 7.869e-05/0.9852, allocations: 173.1 kB / 0.7862 GB, free: 7.008 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.158e-05/0.9852, allocations: 84.08 kB / 0.7863 GB, free: 6.922 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.535e-05/0.9853, allocations: 75.28 kB / 0.7864 GB, free: 6.848 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.947e-05/0.9853, allocations: 105.8 kB / 0.7865 GB, free: 6.734 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.9853, allocations: 0 / 0.7865 GB, free: 6.734 MB / 0.5105 GB Notification: Performance of matching and sorting (n=0): time 7.593e-05/0.9854, allocations: 36.55 kB / 0.7865 GB, free: 6.695 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.503e-05/0.9855, allocations: 130.7 kB / 0.7867 GB, free: 6.555 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001397/0.9856, allocations: 119.2 kB / 0.7868 GB, free: 6.438 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.9856, allocations: 25.7 kB / 0.7868 GB, free: 6.406 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.664e-05/0.9857, allocations: 87.44 kB / 0.7869 GB, free: 6.32 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.863e-06/0.9857, allocations: 4 kB / 0.7869 GB, free: 6.316 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.254e-06/0.9857, allocations: 0 / 0.7869 GB, free: 6.316 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.9859, allocations: 317.8 kB / 0.7872 GB, free: 6 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.262e-05/0.9859, allocations: 11.44 kB / 0.7872 GB, free: 5.992 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.258e-05/0.9859, allocations: 8 kB / 0.7872 GB, free: 5.984 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.525e-05/0.986, allocations: 7.984 kB / 0.7872 GB, free: 5.977 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.986, allocations: 0 / 0.7872 GB, free: 5.977 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001128/0.9861, allocations: 44.92 kB / 0.7873 GB, free: 5.93 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.9861, allocations: 9.188 kB / 0.7873 GB, free: 5.922 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.931e-05/0.9861, allocations: 4 kB / 0.7873 GB, free: 5.918 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.9861, allocations: 0 / 0.7873 GB, free: 5.918 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.72e-07/0.9862, allocations: 0 / 0.7873 GB, free: 5.918 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.9862, allocations: 0 / 0.7873 GB, free: 5.918 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.463e-05/0.9862, allocations: 11.98 kB / 0.7873 GB, free: 5.906 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.054e-06/0.9862, allocations: 4.062 kB / 0.7873 GB, free: 5.902 MB / 0.5105 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 () * 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 0.0001097/0.9863, allocations: 182.1 kB / 0.7875 GB, free: 5.719 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.14e-05/0.9864, allocations: 112.8 kB / 0.7876 GB, free: 5.602 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.603e-05/0.9865, allocations: 112.2 kB / 0.7877 GB, free: 5.488 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.026e-05/0.9865, allocations: 184.3 kB / 0.7878 GB, free: 5.301 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.209e-05/0.9866, allocations: 188.2 kB / 0.788 GB, free: 5.109 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.457e-05/0.9867, allocations: 176.3 kB / 0.7882 GB, free: 4.93 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002484/0.9869, allocations: 419.5 kB / 0.7886 GB, free: 4.469 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.409e-05/0.987, allocations: 101 kB / 0.7887 GB, free: 4.363 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.973e-05/0.987, allocations: 108.9 kB / 0.7888 GB, free: 4.25 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.314e-05/0.9871, allocations: 184.2 kB / 0.789 GB, free: 4.066 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.834e-05/0.9872, allocations: 184.3 kB / 0.7891 GB, free: 3.879 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.869e-05/0.9873, allocations: 180.2 kB / 0.7893 GB, free: 3.695 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.976e-05/0.9873, allocations: 176.3 kB / 0.7895 GB, free: 3.516 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001489/0.9875, allocations: 315.2 kB / 0.7898 GB, free: 3.188 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 8.533e-05/0.9876, allocations: 190 kB / 0.79 GB, free: 2.977 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.882e-05/0.9877, allocations: 180.2 kB / 0.7901 GB, free: 2.793 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.53e-05/0.9877, allocations: 106 kB / 0.7902 GB, free: 2.684 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.714e-05/0.9878, allocations: 187.2 kB / 0.7904 GB, free: 2.496 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.199e-05/0.9878, allocations: 101 kB / 0.7905 GB, free: 2.391 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.786e-05/0.9879, allocations: 92 kB / 0.7906 GB, free: 2.305 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.3e-07/0.9879, allocations: 0 / 0.7906 GB, free: 2.305 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001001/0.9889, allocations: 327.8 kB / 0.7909 GB, free: 1.996 MB / 0.5105 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 () * 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.001326/0.9902, allocations: 1.178 MB / 0.7921 GB, free: 0.8008 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001096/0.9904, allocations: 40.77 kB / 0.7921 GB, free: 0.7578 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.9904, allocations: 0 / 0.7921 GB, free: 0.7578 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.753e-06/0.9904, allocations: 4.062 kB / 0.7921 GB, free: 0.7539 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003295/0.9907, allocations: 0.5254 MB / 0.7926 GB, free: 232 kB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005422/0.9913, allocations: 336.4 kB / 0.7929 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002788/0.9916, allocations: 0.6848 MB / 0.7936 GB, free: 15.15 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 1.478e-05/0.9916, allocations: 8 kB / 0.7936 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.762e-05/0.9916, allocations: 13.44 kB / 0.7936 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of SimCode: time 2.5e-07/0.9916, allocations: 0 / 0.7936 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01871/1.01, allocations: 6.294 MB / 0.7998 GB, free: 9.082 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001797/1.011, allocations: 226.3 kB / 0.8 GB, free: 8.859 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.812/2.823, allocations: 64 / 0.8 GB, free: 8.859 MB / 0.5261 GB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)