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.008789/0.008789, allocations: 171.1 kB / 15.11 MB, free: 6.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8367/0.8367, allocations: 135.2 MB / 151 MB, free: 13.82 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.475/1.475, 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.0009628/0.0009631, allocations: 97.48 kB / 489.9 MB, free: 10.95 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004616/0.0004621, allocations: 12 kB / 0.5692 GB, free: 14.05 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4917/0.4922, allocations: 82.31 MB / 0.6496 GB, free: 36.18 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1925/0.6848, allocations: 131.5 MB / 0.778 GB, free: 456 kB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003861/0.6853, allocations: 127.9 kB / 0.7782 GB, free: 328 kB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.0474/0.7327, allocations: 15.1 MB / 0.7929 GB, free: 1.203 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.943e-06/0.7328, allocations: 0 / 0.7929 GB, free: 1.203 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.7328, allocations: 0 / 0.7929 GB, free: 1.203 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.001253/0.734, allocations: 0.5651 MB / 0.7935 GB, free: 0.5898 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.917e-05/0.7341, allocations: 12.03 kB / 0.7935 GB, free: 0.5781 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.579e-05/0.7342, allocations: 105.8 kB / 0.7936 GB, free: 476 kB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.409e-05/0.7342, allocations: 87.14 kB / 0.7937 GB, free: 388 kB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001751/0.7344, allocations: 238.4 kB / 0.7939 GB, free: 108 kB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.5257/1.26, allocations: 155.1 kB / 0.794 GB, free: 132.1 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.336e-05/1.26, allocations: 154.5 kB / 0.7942 GB, free: 132 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.724e-05/1.26, allocations: 102.7 kB / 0.7943 GB, free: 131.9 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.175e-05/1.26, allocations: 75.84 kB / 0.7944 GB, free: 131.8 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.175e-05/1.26, allocations: 151.2 kB / 0.7945 GB, free: 131.6 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.585e-05/1.26, allocations: 154.3 kB / 0.7946 GB, free: 131.5 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.668e-05/1.26, allocations: 153.6 kB / 0.7948 GB, free: 131.3 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003325/1.261, allocations: 463.8 kB / 0.7952 GB, free: 130.9 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 7.119e-05/1.261, allocations: 172.9 kB / 0.7954 GB, free: 130.7 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.654e-05/1.261, allocations: 75.91 kB / 0.7955 GB, free: 130.6 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.92e-05/1.261, allocations: 110.6 kB / 0.7956 GB, free: 130.5 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=0): time 1.913e-06/1.261, allocations: 4.594 kB / 0.7956 GB, free: 130.5 MB / 0.5573 GB Notification: Performance of matching and sorting (n=0): time 0.0001125/1.261, allocations: 35.98 kB / 0.7956 GB, free: 130.5 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.263e-05/1.261, allocations: 128.3 kB / 0.7957 GB, free: 130.3 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001982/1.261, allocations: 122.3 kB / 0.7959 GB, free: 130.2 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/1.261, allocations: 25.7 kB / 0.7959 GB, free: 130.2 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 7.766e-05/1.261, allocations: 90.59 kB / 0.796 GB, free: 130.1 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.336e-06/1.261, allocations: 0 / 0.796 GB, free: 130.1 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.47e-06/1.261, allocations: 0.75 kB / 0.796 GB, free: 130.1 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001274/1.262, allocations: 323.1 kB / 0.7963 GB, free: 129.8 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.75e-05/1.262, allocations: 4.422 kB / 0.7963 GB, free: 129.8 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.596e-05/1.262, allocations: 4.828 kB / 0.7963 GB, free: 129.8 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.438e-05/1.262, allocations: 5.672 kB / 0.7963 GB, free: 129.8 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/1.262, allocations: 0.9062 kB / 0.7963 GB, free: 129.8 MB / 0.5573 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001874/1.262, allocations: 52.53 kB / 0.7963 GB, free: 129.8 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.621e-05/1.262, allocations: 6.031 kB / 0.7963 GB, free: 129.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.849e-05/1.262, allocations: 2.594 kB / 0.7963 GB, free: 129.8 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/1.262, allocations: 3.562 kB / 0.7964 GB, free: 129.8 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.996e-06/1.262, allocations: 1.453 kB / 0.7964 GB, free: 129.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/1.262, allocations: 3.953 kB / 0.7964 GB, free: 129.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.677e-05/1.262, allocations: 2.844 kB / 0.7964 GB, free: 129.8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.383e-05/1.262, allocations: 4.656 kB / 0.7964 GB, free: 129.8 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 0.0001072/1.262, allocations: 183.2 kB / 0.7965 GB, free: 129.6 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.618e-05/1.262, allocations: 110.3 kB / 0.7966 GB, free: 129.5 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.588e-05/1.262, allocations: 119.2 kB / 0.7968 GB, free: 129.4 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.28e-05/1.262, allocations: 180 kB / 0.7969 GB, free: 129.2 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.853e-05/1.263, allocations: 181 kB / 0.7971 GB, free: 129 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.369e-05/1.263, allocations: 188.3 kB / 0.7973 GB, free: 128.8 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003175/1.263, allocations: 410.7 kB / 0.7977 GB, free: 128.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-05/1.263, allocations: 108.3 kB / 0.7978 GB, free: 128.3 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.45e-05/1.263, allocations: 107.9 kB / 0.7979 GB, free: 128.2 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.472e-05/1.263, allocations: 183.1 kB / 0.7981 GB, free: 128 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.793e-05/1.263, allocations: 183.3 kB / 0.7982 GB, free: 127.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.774e-05/1.263, allocations: 179.1 kB / 0.7984 GB, free: 127.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.81e-05/1.263, allocations: 185.4 kB / 0.7986 GB, free: 127.4 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001147/1.263, allocations: 316.4 kB / 0.7989 GB, free: 127.1 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.352e-05/1.263, allocations: 185.1 kB / 0.7991 GB, free: 126.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.613e-05/1.263, allocations: 182.7 kB / 0.7992 GB, free: 126.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.893e-05/1.264, allocations: 103.1 kB / 0.7993 GB, free: 126.6 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.395e-05/1.264, allocations: 182.1 kB / 0.7995 GB, free: 126.5 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.603e-05/1.264, allocations: 103.7 kB / 0.7996 GB, free: 126.4 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 9.571e-05/1.264, allocations: 102.4 kB / 0.7997 GB, free: 126.3 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.3e-07/1.264, allocations: 0 / 0.7997 GB, free: 126.3 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001865/1.266, allocations: 315 kB / 0.8 GB, free: 126.3 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.001903/1.268, allocations: 1.193 MB / 0.8012 GB, free: 125.4 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001244/1.268, allocations: 38.05 kB / 0.8012 GB, free: 125.4 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/1.268, allocations: 0 / 0.8012 GB, free: 125.4 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 3.406e-06/1.268, allocations: 0.875 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.0003408/1.268, allocations: 0.5281 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.0009464/1.269, allocations: 0.5994 MB / 0.8023 GB, free: 124.4 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001961/1.269, allocations: 0.6898 MB / 0.803 GB, free: 123.7 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 1.592e-05/1.269, allocations: 0 / 0.803 GB, free: 123.7 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.194e-05/1.269, allocations: 15.77 kB / 0.803 GB, free: 123.7 MB / 0.5573 GB Notification: Performance of SimCode: time 2.5e-07/1.269, allocations: 0 / 0.803 GB, free: 123.7 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02979/1.299, allocations: 6.253 MB / 0.8091 GB, free: 123.3 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002254/1.299, allocations: 259.3 kB / 0.8093 GB, free: 123 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.019/3.319, allocations: 5.5 kB / 0.8093 GB, free: 123 MB / 0.5573 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)