Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.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.InternalResistancesOneUTube,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",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.001393/0.001394, 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.7313/0.7313, 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.532/1.532, allocations: 221.3 MB / 400.4 MB, free: 5.797 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.0009776/0.0009779, allocations: 90.95 kB / 483.3 MB, free: 5.844 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.977e-05/4.992e-05, allocations: 3.5 kB / 0.5602 GB, free: 87.79 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1619/0.162, allocations: 82.3 MB / 0.6406 GB, free: 7.695 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6181/0.7802, allocations: 131.5 MB / 0.769 GB, free: 6.629 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003081/0.7806, allocations: 121.2 kB / 0.7691 GB, free: 6.598 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.04307/0.8236, allocations: 15.03 MB / 0.7837 GB, free: 9.816 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.352e-06/0.8237, allocations: 0 / 0.7837 GB, free: 9.816 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.043e-06/0.8237, allocations: 4 kB / 0.7838 GB, free: 9.812 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.001012/0.8247, allocations: 0.5501 MB / 0.7843 GB, free: 9.227 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.8248, allocations: 12.03 kB / 0.7843 GB, free: 9.215 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.191e-05/0.8248, allocations: 105.8 kB / 0.7844 GB, free: 9.102 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.457e-05/0.8249, allocations: 83.14 kB / 0.7845 GB, free: 9.02 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001533/0.825, allocations: 250.3 kB / 0.7847 GB, free: 8.734 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.846e-05/0.8251, allocations: 153.8 kB / 0.7849 GB, free: 8.586 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.483e-05/0.8252, allocations: 154.6 kB / 0.785 GB, free: 8.434 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.312e-05/0.8252, allocations: 112.9 kB / 0.7851 GB, free: 8.316 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.86e-05/0.8253, allocations: 75.28 kB / 0.7852 GB, free: 8.242 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.28e-05/0.8253, allocations: 150.6 kB / 0.7853 GB, free: 8.094 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-05/0.8254, allocations: 150.6 kB / 0.7855 GB, free: 7.945 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.436e-05/0.8255, allocations: 158.5 kB / 0.7856 GB, free: 7.789 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003188/0.8258, allocations: 466.6 kB / 0.7861 GB, free: 7.293 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 8.643e-05/0.8259, allocations: 173.1 kB / 0.7862 GB, free: 7.113 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.329e-05/0.8259, allocations: 83.08 kB / 0.7863 GB, free: 7.031 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.566e-05/0.826, allocations: 75.28 kB / 0.7864 GB, free: 6.957 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.534e-05/0.826, allocations: 109.8 kB / 0.7865 GB, free: 6.84 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=0): time 1.462e-06/0.826, allocations: 0 / 0.7865 GB, free: 6.84 MB / 0.5105 GB Notification: Performance of matching and sorting (n=0): time 7.685e-05/0.8261, allocations: 33.61 kB / 0.7865 GB, free: 6.801 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.275e-05/0.8262, allocations: 130.6 kB / 0.7867 GB, free: 6.66 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/0.8263, allocations: 121.1 kB / 0.7868 GB, free: 6.543 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/0.8263, allocations: 25.7 kB / 0.7868 GB, free: 6.512 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.127e-05/0.8264, allocations: 90.12 kB / 0.7869 GB, free: 6.426 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.394e-06/0.8264, allocations: 4 kB / 0.7869 GB, free: 6.422 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.335e-06/0.8264, allocations: 4 kB / 0.7869 GB, free: 6.418 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.8265, allocations: 317.7 kB / 0.7872 GB, free: 6.102 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.366e-05/0.8266, allocations: 4 kB / 0.7872 GB, free: 6.098 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.404e-05/0.8266, allocations: 4 kB / 0.7872 GB, free: 6.094 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.693e-05/0.8266, allocations: 10.55 kB / 0.7872 GB, free: 6.086 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.8266, allocations: 0 / 0.7872 GB, free: 6.086 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001337/0.8268, allocations: 44.67 kB / 0.7872 GB, free: 6.039 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.8268, allocations: 4.938 kB / 0.7873 GB, free: 6.035 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.413e-05/0.8268, allocations: 4 kB / 0.7873 GB, free: 6.031 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.8268, allocations: 4.062 kB / 0.7873 GB, free: 6.027 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.72e-07/0.8268, allocations: 0 / 0.7873 GB, free: 6.027 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.8269, allocations: 0 / 0.7873 GB, free: 6.027 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.425e-05/0.8269, allocations: 15.86 kB / 0.7873 GB, free: 6.012 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.8269, allocations: 0 / 0.7873 GB, free: 6.012 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.652e-05/0.827, allocations: 180.2 kB / 0.7874 GB, free: 5.828 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.599e-05/0.8271, allocations: 108.9 kB / 0.7876 GB, free: 5.715 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.624e-05/0.8271, allocations: 111.6 kB / 0.7877 GB, free: 5.602 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.954e-05/0.8272, allocations: 188.3 kB / 0.7878 GB, free: 5.41 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.17e-05/0.8273, allocations: 184.2 kB / 0.788 GB, free: 5.223 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.837e-05/0.8274, allocations: 180.2 kB / 0.7882 GB, free: 5.039 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002495/0.8276, allocations: 414.5 kB / 0.7886 GB, free: 4.582 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-05/0.8277, allocations: 101 kB / 0.7887 GB, free: 4.477 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.587e-05/0.8277, allocations: 112.2 kB / 0.7888 GB, free: 4.363 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.286e-05/0.8278, allocations: 184.2 kB / 0.789 GB, free: 4.176 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.705e-05/0.8279, allocations: 184.2 kB / 0.7891 GB, free: 3.988 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.352e-05/0.8279, allocations: 176.3 kB / 0.7893 GB, free: 3.809 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-05/0.828, allocations: 176.3 kB / 0.7895 GB, free: 3.629 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001492/0.8281, allocations: 319.1 kB / 0.7898 GB, free: 3.297 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 8.38e-05/0.8282, allocations: 193.9 kB / 0.79 GB, free: 3.082 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.404e-05/0.8283, allocations: 179.5 kB / 0.7901 GB, free: 2.902 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.536e-05/0.8284, allocations: 106 kB / 0.7902 GB, free: 2.793 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.798e-05/0.8285, allocations: 184.2 kB / 0.7904 GB, free: 2.605 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.263e-05/0.8285, allocations: 105 kB / 0.7905 GB, free: 2.496 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 6.126e-05/0.8286, allocations: 95.75 kB / 0.7906 GB, free: 2.41 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.7e-07/0.8286, allocations: 0 / 0.7906 GB, free: 2.41 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001122/0.8297, allocations: 321.8 kB / 0.7909 GB, free: 2.105 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.001887/0.8316, allocations: 1.191 MB / 0.7921 GB, free: 0.8984 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 9.253e-05/0.8317, allocations: 37.2 kB / 0.7921 GB, free: 0.8594 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.8317, allocations: 0 / 0.7921 GB, free: 0.8594 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.104e-06/0.8317, allocations: 0 / 0.7921 GB, free: 0.8594 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003415/0.8321, allocations: 0.5224 MB / 0.7926 GB, free: 340 kB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007637/0.8329, allocations: 341.1 kB / 0.7929 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002394/0.8331, allocations: 0.6848 MB / 0.7936 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.004e-05/0.8331, allocations: 0 / 0.7936 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.023e-05/0.8332, allocations: 18.44 kB / 0.7936 GB, free: 15.24 MB / 0.5261 GB Notification: Performance of SimCode: time 2.4e-07/0.8332, allocations: 0 / 0.7936 GB, free: 15.24 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02032/0.8535, allocations: 6.274 MB / 0.7998 GB, free: 9.199 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002816/0.8538, allocations: 220.7 kB / 0.8 GB, free: 8.973 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.76/2.614, allocations: 0 / 0.8 GB, free: 8.973 MB / 0.5261 GB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)