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.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_dev_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_dev_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.00106/0.00106, allocations: 174.7 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.7162/0.7162, allocations: 133.4 MB / 146.7 MB, free: 10.8 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.514/1.514, allocations: 221.3 MB / 400.4 MB, free: 5.902 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.0008859/0.000886, allocations: 99.02 kB / 483.3 MB, free: 5.895 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.199e-05/4.21e-05, allocations: 3.281 kB / 0.5602 GB, free: 87.79 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1733/0.1733, allocations: 82.3 MB / 0.6406 GB, free: 7.715 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6529/0.8262, allocations: 131.5 MB / 0.769 GB, free: 6.629 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003065/0.8266, allocations: 116.9 kB / 0.7691 GB, free: 6.605 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.04426/0.8709, allocations: 15.03 MB / 0.7837 GB, free: 9.84 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.222e-06/0.8709, allocations: 0 / 0.7837 GB, free: 9.84 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.8709, allocations: 0 / 0.7837 GB, free: 9.84 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.001093/0.872, allocations: 0.56 MB / 0.7843 GB, free: 9.246 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.8721, allocations: 8.031 kB / 0.7843 GB, free: 9.238 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.183e-05/0.8721, allocations: 105.8 kB / 0.7844 GB, free: 9.125 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.863e-05/0.8722, allocations: 87.14 kB / 0.7845 GB, free: 9.039 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001665/0.8724, allocations: 247.4 kB / 0.7847 GB, free: 8.758 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.312e-05/0.8725, allocations: 150.6 kB / 0.7849 GB, free: 8.609 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.584e-05/0.8725, allocations: 158.5 kB / 0.785 GB, free: 8.453 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.303e-05/0.8726, allocations: 104.9 kB / 0.7851 GB, free: 8.344 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.373e-05/0.8727, allocations: 75.28 kB / 0.7852 GB, free: 8.27 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.387e-05/0.8727, allocations: 157.8 kB / 0.7853 GB, free: 8.117 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.679e-05/0.8728, allocations: 154.5 kB / 0.7855 GB, free: 7.965 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.905e-05/0.8729, allocations: 154.5 kB / 0.7856 GB, free: 7.812 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003615/0.8732, allocations: 468.1 kB / 0.7861 GB, free: 7.312 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001155/0.8734, allocations: 172.6 kB / 0.7862 GB, free: 7.137 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.942e-05/0.8734, allocations: 80.14 kB / 0.7863 GB, free: 7.055 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 4.118e-05/0.8735, allocations: 75.28 kB / 0.7864 GB, free: 6.98 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.397e-05/0.8735, allocations: 109.8 kB / 0.7865 GB, free: 6.863 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.8735, allocations: 4 kB / 0.7865 GB, free: 6.859 MB / 0.5105 GB Notification: Performance of matching and sorting (n=0): time 9.136e-05/0.8736, allocations: 29.61 kB / 0.7865 GB, free: 6.824 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.856e-05/0.8737, allocations: 126.7 kB / 0.7866 GB, free: 6.688 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001391/0.8738, allocations: 120 kB / 0.7868 GB, free: 6.57 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.8739, allocations: 25.7 kB / 0.7868 GB, free: 6.539 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.417e-05/0.8739, allocations: 94.81 kB / 0.7869 GB, free: 6.449 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.425e-06/0.8739, allocations: 3.938 kB / 0.7869 GB, free: 6.445 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.845e-06/0.874, allocations: 4 kB / 0.7869 GB, free: 6.441 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.8741, allocations: 314.8 kB / 0.7872 GB, free: 6.125 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.27e-05/0.8741, allocations: 7.562 kB / 0.7872 GB, free: 6.121 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.289e-05/0.8741, allocations: 4 kB / 0.7872 GB, free: 6.117 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.729e-05/0.8742, allocations: 7.984 kB / 0.7872 GB, free: 6.109 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.8742, allocations: 0 / 0.7872 GB, free: 6.109 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001156/0.8743, allocations: 44.61 kB / 0.7872 GB, free: 6.062 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.8743, allocations: 9.719 kB / 0.7873 GB, free: 6.055 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.098e-05/0.8744, allocations: 0 / 0.7873 GB, free: 6.055 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.8744, allocations: 4.062 kB / 0.7873 GB, free: 6.051 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.621e-06/0.8744, allocations: 7.984 kB / 0.7873 GB, free: 6.043 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.8744, allocations: 4 kB / 0.7873 GB, free: 6.039 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.929e-05/0.8744, allocations: 0 / 0.7873 GB, free: 6.039 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.154e-06/0.8744, allocations: 0 / 0.7873 GB, free: 6.039 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.0001105/0.8745, allocations: 180.2 kB / 0.7874 GB, free: 5.855 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.785e-05/0.8746, allocations: 116.3 kB / 0.7876 GB, free: 5.738 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.052e-05/0.8747, allocations: 112.4 kB / 0.7877 GB, free: 5.621 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.531e-05/0.8748, allocations: 188.3 kB / 0.7878 GB, free: 5.43 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.203e-05/0.8749, allocations: 184.2 kB / 0.788 GB, free: 5.242 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.653e-05/0.8749, allocations: 179.6 kB / 0.7882 GB, free: 5.062 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002541/0.8752, allocations: 416.8 kB / 0.7886 GB, free: 4.602 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.654e-05/0.8753, allocations: 101 kB / 0.7887 GB, free: 4.496 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.112e-05/0.8753, allocations: 112.9 kB / 0.7888 GB, free: 4.379 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.144e-05/0.8754, allocations: 187.5 kB / 0.789 GB, free: 4.191 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.254e-05/0.8755, allocations: 176.3 kB / 0.7891 GB, free: 4.012 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.019e-05/0.8756, allocations: 180.2 kB / 0.7893 GB, free: 3.828 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.426e-05/0.8757, allocations: 176.3 kB / 0.7895 GB, free: 3.648 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001776/0.8758, allocations: 323.2 kB / 0.7898 GB, free: 3.312 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 9.432e-05/0.8759, allocations: 185.9 kB / 0.79 GB, free: 3.105 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.621e-05/0.876, allocations: 180.3 kB / 0.7901 GB, free: 2.922 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.974e-05/0.8761, allocations: 104.6 kB / 0.7902 GB, free: 2.816 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.807e-05/0.8762, allocations: 184.2 kB / 0.7904 GB, free: 2.629 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.387e-05/0.8763, allocations: 105 kB / 0.7905 GB, free: 2.52 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 5.873e-05/0.8763, allocations: 98.5 kB / 0.7906 GB, free: 2.43 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8764, allocations: 0 / 0.7906 GB, free: 2.43 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001241/0.8776, allocations: 323.6 kB / 0.7909 GB, free: 2.125 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.00143/0.879, allocations: 1.176 MB / 0.7921 GB, free: 0.9297 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 9.723e-05/0.8792, allocations: 40.83 kB / 0.7921 GB, free: 0.8867 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.8792, allocations: 0 / 0.7921 GB, free: 0.8867 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.973e-06/0.8792, allocations: 0 / 0.7921 GB, free: 0.8867 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003787/0.8796, allocations: 0.5297 MB / 0.7926 GB, free: 364 kB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000564/0.8801, allocations: 337.1 kB / 0.7929 GB, free: 15.99 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002927/0.8804, allocations: 0.6887 MB / 0.7936 GB, free: 15.28 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 1.232e-05/0.8805, allocations: 0 / 0.7936 GB, free: 15.28 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.498e-05/0.8805, allocations: 14.25 kB / 0.7936 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of SimCode: time 3.21e-07/0.8805, allocations: 0 / 0.7936 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02067/0.9012, allocations: 6.304 MB / 0.7998 GB, free: 9.199 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002819/0.9015, allocations: 232.5 kB / 0.8 GB, free: 8.906 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.928/2.83, allocations: 0 / 0.8 GB, free: 8.906 MB / 0.5261 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)