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.InternalResistancesTwoUTube.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.InternalResistancesTwoUTube,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",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.009185/0.009185, allocations: 169 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8277/0.8277, allocations: 135.2 MB / 151 MB, free: 13.83 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.647/1.647, allocations: 223.2 MB / 406.8 MB, free: 3.215 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.0009032/0.0009031, allocations: 94.02 kB / 489.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000417/0.0004169, allocations: 8 kB / 0.5692 GB, free: 14.02 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.452/0.4525, allocations: 82.31 MB / 0.6496 GB, free: 36.13 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1785/0.631, allocations: 132.3 MB / 0.7788 GB, free: 15.66 MB / 0.5573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003059/0.6314, allocations: 126.1 kB / 0.7789 GB, free: 15.54 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 0.04628/0.6777, allocations: 15.42 MB / 0.7939 GB, free: 92 kB / 0.5573 GB Notification: Performance of FrontEnd: time 3.146e-06/0.6777, allocations: 0 / 0.7939 GB, free: 92 kB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.006e-05/0.6778, allocations: 0 / 0.7939 GB, free: 92 kB / 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.4095/1.087, allocations: 0.5543 MB / 0.7945 GB, free: 132 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.469e-05/1.087, allocations: 8.812 kB / 0.7945 GB, free: 132 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.766e-05/1.087, allocations: 111.5 kB / 0.7946 GB, free: 131.9 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.785e-05/1.087, allocations: 86.11 kB / 0.7947 GB, free: 131.8 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001206/1.088, allocations: 246.4 kB / 0.7949 GB, free: 131.5 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.245e-05/1.088, allocations: 155.3 kB / 0.7951 GB, free: 131.4 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.393e-05/1.088, allocations: 152.9 kB / 0.7952 GB, free: 131.2 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.455e-05/1.088, allocations: 101 kB / 0.7953 GB, free: 131.1 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.143e-05/1.088, allocations: 78.67 kB / 0.7954 GB, free: 131 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.441e-05/1.088, allocations: 154.9 kB / 0.7955 GB, free: 130.9 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.781e-05/1.088, allocations: 155.2 kB / 0.7957 GB, free: 130.7 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.044e-05/1.088, allocations: 154 kB / 0.7958 GB, free: 130.6 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002414/1.088, allocations: 471.8 kB / 0.7963 GB, free: 130.1 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 5.944e-05/1.088, allocations: 171.1 kB / 0.7964 GB, free: 129.9 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.626e-05/1.088, allocations: 76.06 kB / 0.7965 GB, free: 129.9 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/1.088, allocations: 111.5 kB / 0.7966 GB, free: 129.8 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/1.088, allocations: 0 / 0.7966 GB, free: 129.8 MB / 0.5573 GB Notification: Performance of matching and sorting (n=0): time 7.098e-05/1.088, allocations: 35.02 kB / 0.7967 GB, free: 129.7 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.9e-05/1.088, allocations: 128.7 kB / 0.7968 GB, free: 129.6 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/1.089, allocations: 121.4 kB / 0.7969 GB, free: 129.5 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 9.708e-06/1.089, allocations: 25.7 kB / 0.7969 GB, free: 129.5 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 4.468e-05/1.089, allocations: 92.38 kB / 0.797 GB, free: 129.4 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.415e-06/1.089, allocations: 0 / 0.797 GB, free: 129.4 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.746e-06/1.089, allocations: 4.469 kB / 0.797 GB, free: 129.4 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 6.984e-05/1.089, allocations: 321 kB / 0.7973 GB, free: 129.1 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.734e-05/1.089, allocations: 5.609 kB / 0.7973 GB, free: 129.1 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.949e-05/1.089, allocations: 5.797 kB / 0.7973 GB, free: 129.1 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.027e-05/1.089, allocations: 8.5 kB / 0.7973 GB, free: 129.1 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/1.089, allocations: 1.75 kB / 0.7973 GB, free: 129.1 MB / 0.5573 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001377/1.089, allocations: 49.95 kB / 0.7974 GB, free: 129 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/1.089, allocations: 5.938 kB / 0.7974 GB, free: 129 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.37e-05/1.089, allocations: 7.281 kB / 0.7974 GB, free: 129 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/1.089, allocations: 1.922 kB / 0.7974 GB, free: 129 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.513e-06/1.089, allocations: 1.312 kB / 0.7974 GB, free: 129 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/1.089, allocations: 0.9375 kB / 0.7974 GB, free: 129 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.413e-05/1.089, allocations: 3.969 kB / 0.7974 GB, free: 129 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/1.089, allocations: 0.7188 kB / 0.7974 GB, free: 129 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 7.378e-05/1.089, allocations: 190 kB / 0.7976 GB, free: 128.8 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.245e-05/1.089, allocations: 109.4 kB / 0.7977 GB, free: 128.7 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.036e-05/1.089, allocations: 117.3 kB / 0.7978 GB, free: 128.6 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.508e-05/1.089, allocations: 185.4 kB / 0.798 GB, free: 128.4 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.471e-05/1.089, allocations: 179.4 kB / 0.7981 GB, free: 128.2 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.69e-05/1.089, allocations: 179 kB / 0.7983 GB, free: 128.1 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000186/1.09, allocations: 418 kB / 0.7987 GB, free: 127.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.061e-05/1.09, allocations: 107.4 kB / 0.7988 GB, free: 127.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.553e-05/1.09, allocations: 110.8 kB / 0.7989 GB, free: 127.4 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.052e-05/1.09, allocations: 183 kB / 0.7991 GB, free: 127.2 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.07e-05/1.09, allocations: 181 kB / 0.7993 GB, free: 127.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.669e-05/1.09, allocations: 178.5 kB / 0.7994 GB, free: 126.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.163e-05/1.09, allocations: 180.8 kB / 0.7996 GB, free: 126.7 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.396e-05/1.09, allocations: 316.7 kB / 0.7999 GB, free: 126.4 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 7.366e-05/1.09, allocations: 186.5 kB / 0.8001 GB, free: 126.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.658e-05/1.09, allocations: 186.6 kB / 0.8003 GB, free: 126 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.483e-05/1.09, allocations: 107 kB / 0.8004 GB, free: 125.9 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.442e-05/1.09, allocations: 179.9 kB / 0.8005 GB, free: 125.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.169e-05/1.09, allocations: 109.6 kB / 0.8007 GB, free: 125.6 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 6.607e-05/1.09, allocations: 99.7 kB / 0.8007 GB, free: 125.5 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.1e-07/1.09, allocations: 0.6562 kB / 0.8007 GB, free: 125.5 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001452/1.092, allocations: 324.9 kB / 0.8011 GB, free: 125.5 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.00153/1.093, allocations: 1.187 MB / 0.8022 GB, free: 124.6 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001087/1.093, allocations: 44.58 kB / 0.8023 GB, free: 124.5 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/1.093, allocations: 0 / 0.8023 GB, free: 124.5 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 2.034e-06/1.093, allocations: 0.5625 kB / 0.8023 GB, free: 124.5 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000268/1.094, allocations: 0.5263 MB / 0.8028 GB, free: 124 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007867/1.094, allocations: 0.6048 MB / 0.8034 GB, free: 123.5 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001293/1.095, allocations: 0.6865 MB / 0.804 GB, free: 122.8 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 1.346e-05/1.095, allocations: 0.8125 kB / 0.804 GB, free: 122.8 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.22e-05/1.095, allocations: 16.52 kB / 0.8041 GB, free: 122.8 MB / 0.5573 GB Notification: Performance of SimCode: time 2.21e-07/1.095, allocations: 0 / 0.8041 GB, free: 122.8 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03419/1.129, allocations: 6.399 MB / 0.8103 GB, free: 122.4 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002987/1.129, allocations: 249.6 kB / 0.8105 GB, free: 122.1 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.214/3.343, allocations: 3.609 kB / 0.8105 GB, free: 122.1 MB / 0.5573 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)