Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.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.InternalResistancesTwoUTubeNegative,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",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.001214/0.001213, allocations: 175 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.7331/0.7331, 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.666/1.666, allocations: 221.3 MB / 400.4 MB, free: 5.758 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.0009512/0.0009513, allocations: 90.14 kB / 483.3 MB, free: 5.801 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.006e-05/4.009e-05, allocations: 7.219 kB / 0.5602 GB, free: 87.75 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1905/0.1906, allocations: 82.31 MB / 0.6406 GB, free: 7.66 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6758/0.8664, allocations: 132.2 MB / 0.7697 GB, free: 6.125 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002716/0.8668, allocations: 115.7 kB / 0.7698 GB, free: 6.051 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.04746/0.9142, allocations: 15.35 MB / 0.7848 GB, free: 8.648 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.763e-06/0.9143, allocations: 0 / 0.7848 GB, free: 8.648 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.059e-05/0.9143, allocations: 0 / 0.7848 GB, free: 8.648 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.001243/0.9155, allocations: 0.5561 MB / 0.7853 GB, free: 8.055 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.161e-05/0.9156, allocations: 12.02 kB / 0.7853 GB, free: 8.043 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.868e-05/0.9157, allocations: 113.3 kB / 0.7854 GB, free: 7.926 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.971e-05/0.9158, allocations: 87.14 kB / 0.7855 GB, free: 7.84 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001942/0.916, allocations: 243.1 kB / 0.7857 GB, free: 7.562 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.938e-05/0.9161, allocations: 150.6 kB / 0.7859 GB, free: 7.414 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.113e-05/0.9161, allocations: 154.6 kB / 0.786 GB, free: 7.262 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.649e-05/0.9162, allocations: 101 kB / 0.7861 GB, free: 7.156 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.552e-05/0.9163, allocations: 83.27 kB / 0.7862 GB, free: 7.074 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.359e-05/0.9163, allocations: 150.6 kB / 0.7864 GB, free: 6.926 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.014e-05/0.9164, allocations: 150.6 kB / 0.7865 GB, free: 6.777 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.171e-05/0.9165, allocations: 161.8 kB / 0.7867 GB, free: 6.621 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003499/0.9169, allocations: 472.2 kB / 0.7871 GB, free: 6.117 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 9e-05/0.917, allocations: 169.1 kB / 0.7873 GB, free: 5.941 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.297e-05/0.917, allocations: 83.08 kB / 0.7873 GB, free: 5.859 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.704e-05/0.9171, allocations: 79.27 kB / 0.7874 GB, free: 5.781 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.36e-05/0.9171, allocations: 105.8 kB / 0.7875 GB, free: 5.668 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=0): time 1.272e-06/0.9171, allocations: 0 / 0.7875 GB, free: 5.668 MB / 0.5105 GB Notification: Performance of matching and sorting (n=0): time 8.515e-05/0.9172, allocations: 41.55 kB / 0.7876 GB, free: 5.621 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.015e-05/0.9173, allocations: 126.7 kB / 0.7877 GB, free: 5.484 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000135/0.9174, allocations: 122.7 kB / 0.7878 GB, free: 5.363 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.9174, allocations: 25.7 kB / 0.7878 GB, free: 5.332 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.437e-05/0.9175, allocations: 95.06 kB / 0.7879 GB, free: 5.242 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.928e-06/0.9175, allocations: 0 / 0.7879 GB, free: 5.242 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.705e-06/0.9175, allocations: 0 / 0.7879 GB, free: 5.242 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.9177, allocations: 318.7 kB / 0.7882 GB, free: 4.926 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.81e-05/0.9177, allocations: 11.94 kB / 0.7882 GB, free: 4.914 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.883e-05/0.9177, allocations: 7.562 kB / 0.7882 GB, free: 4.91 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.847e-05/0.9178, allocations: 4 kB / 0.7882 GB, free: 4.906 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.9178, allocations: 0 / 0.7882 GB, free: 4.906 MB / 0.5105 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001394/0.9179, allocations: 56.75 kB / 0.7883 GB, free: 4.852 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.9179, allocations: 5.406 kB / 0.7883 GB, free: 4.848 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.139e-05/0.918, allocations: 4 kB / 0.7883 GB, free: 4.844 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.918, allocations: 0 / 0.7883 GB, free: 4.844 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.194e-06/0.918, allocations: 0 / 0.7883 GB, free: 4.844 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.605e-06/0.918, allocations: 0 / 0.7883 GB, free: 4.844 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.795e-05/0.9181, allocations: 7.969 kB / 0.7883 GB, free: 4.836 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.9181, allocations: 4 kB / 0.7883 GB, free: 4.832 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 9.746e-05/0.9182, allocations: 180.2 kB / 0.7885 GB, free: 4.648 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.842e-05/0.9183, allocations: 108.9 kB / 0.7886 GB, free: 4.535 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.919e-05/0.9183, allocations: 116.3 kB / 0.7887 GB, free: 4.418 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.796e-05/0.9184, allocations: 183.5 kB / 0.7889 GB, free: 4.234 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.794e-05/0.9185, allocations: 192.3 kB / 0.7891 GB, free: 4.039 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.689e-05/0.9186, allocations: 176.3 kB / 0.7892 GB, free: 3.859 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002837/0.9189, allocations: 421 kB / 0.7896 GB, free: 3.398 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.599e-05/0.919, allocations: 104.9 kB / 0.7897 GB, free: 3.289 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.501e-05/0.919, allocations: 101 kB / 0.7898 GB, free: 3.184 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.405e-05/0.9191, allocations: 188.1 kB / 0.79 GB, free: 2.992 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001127/0.9192, allocations: 180.3 kB / 0.7902 GB, free: 2.809 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.666e-05/0.9193, allocations: 180.2 kB / 0.7904 GB, free: 2.625 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.9e-05/0.9194, allocations: 180.2 kB / 0.7905 GB, free: 2.441 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001987/0.9196, allocations: 307.5 kB / 0.7908 GB, free: 2.121 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000122/0.9198, allocations: 194 kB / 0.791 GB, free: 1.906 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.581e-05/0.9199, allocations: 179.2 kB / 0.7912 GB, free: 1.727 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.92, allocations: 109.9 kB / 0.7913 GB, free: 1.613 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.393e-05/0.9201, allocations: 176.3 kB / 0.7914 GB, free: 1.434 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-05/0.9201, allocations: 108.9 kB / 0.7915 GB, free: 1.32 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 7.775e-05/0.9202, allocations: 103.3 kB / 0.7916 GB, free: 1.227 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9202, allocations: 4 kB / 0.7917 GB, free: 1.223 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001279/0.9215, allocations: 322.2 kB / 0.792 GB, free: 0.918 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.002222/0.9237, allocations: 1.191 MB / 0.7931 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001336/0.9239, allocations: 37.14 kB / 0.7932 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.9239, allocations: 4.062 kB / 0.7932 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 3.567e-06/0.9239, allocations: 0 / 0.7932 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004106/0.9243, allocations: 0.5255 MB / 0.7937 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009911/0.9253, allocations: 345.3 kB / 0.794 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000313/0.9257, allocations: 0.6926 MB / 0.7947 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.172e-05/0.9257, allocations: 4 kB / 0.7947 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.299e-05/0.9257, allocations: 14.69 kB / 0.7947 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of SimCode: time 6.01e-07/0.9257, allocations: 0 / 0.7947 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0228/0.9485, allocations: 6.447 MB / 0.801 GB, free: 7.828 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002242/0.9488, allocations: 227.8 kB / 0.8012 GB, free: 7.543 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.798/2.747, allocations: 2.578 kB / 0.8012 GB, free: 7.543 MB / 0.5261 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)