Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="IBPSA_latest_IBPSA_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.002318/0.002318, allocations: 183.9 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5295/0.5295, allocations: 91.98 MB / 108.5 MB, free: 13.08 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.56/1.56, allocations: 223.2 MB / 354.3 MB, free: 12.12 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 100.2 kB / 427.4 MB, free: 3.859 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003544/0.0003545, allocations: 12 kB / 0.4984 GB, free: 42.14 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.1581, allocations: 72.32 MB / 0.569 GB, free: 1.758 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.528/0.6862, allocations: 121.8 MB / 0.6879 GB, free: 14.57 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003207/0.6865, allocations: 119.9 kB / 0.688 GB, free: 14.45 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04522/0.7318, allocations: 15.15 MB / 0.7028 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.954e-06/0.7318, allocations: 0 / 0.7028 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.125e-05/0.7318, allocations: 0 / 0.7028 GB, free: 15.29 MB / 0.4948 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.0009469/0.7328, allocations: 0.5763 MB / 0.7034 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.7328, allocations: 8.031 kB / 0.7034 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.014e-05/0.7329, allocations: 105.8 kB / 0.7035 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.534e-05/0.733, allocations: 87.19 kB / 0.7036 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001422/0.7331, allocations: 243.8 kB / 0.7038 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.931e-05/0.7332, allocations: 150.6 kB / 0.7039 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.003e-05/0.7332, allocations: 150.6 kB / 0.7041 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.006e-05/0.7333, allocations: 112.9 kB / 0.7042 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.849e-05/0.7333, allocations: 79.23 kB / 0.7043 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.164e-05/0.7334, allocations: 154.5 kB / 0.7044 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-05/0.7335, allocations: 154.6 kB / 0.7046 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.919e-05/0.7335, allocations: 150.6 kB / 0.7047 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003323/0.7339, allocations: 469.9 kB / 0.7052 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.633e-05/0.734, allocations: 173.1 kB / 0.7053 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.672e-05/0.734, allocations: 75.28 kB / 0.7054 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.209e-05/0.7341, allocations: 105.8 kB / 0.7055 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=0): time 8.41e-07/0.7341, allocations: 4 kB / 0.7055 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0): time 8.428e-05/0.7341, allocations: 33.66 kB / 0.7055 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.097e-05/0.7342, allocations: 126.7 kB / 0.7057 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001323/0.7344, allocations: 126.4 kB / 0.7058 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.7344, allocations: 25.7 kB / 0.7058 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.383e-05/0.7344, allocations: 96.12 kB / 0.7059 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.103e-06/0.7344, allocations: 0 / 0.7059 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.915e-06/0.7345, allocations: 0 / 0.7059 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.7346, allocations: 322.8 kB / 0.7062 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.186e-05/0.7346, allocations: 7.938 kB / 0.7062 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.285e-05/0.7346, allocations: 4 kB / 0.7062 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.461e-05/0.7347, allocations: 4 kB / 0.7062 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.7347, allocations: 0 / 0.7062 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001216/0.7348, allocations: 57.53 kB / 0.7063 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.7348, allocations: 4 kB / 0.7063 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.683e-05/0.7348, allocations: 3.938 kB / 0.7063 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.7349, allocations: 4 kB / 0.7063 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.52e-07/0.7349, allocations: 0 / 0.7063 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/0.7349, allocations: 8.016 kB / 0.7063 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.086e-05/0.7349, allocations: 0 / 0.7063 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.7349, allocations: 0 / 0.7063 GB, free: 11.5 MB / 0.4948 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.0001004/0.735, allocations: 185.1 kB / 0.7065 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.371e-05/0.7351, allocations: 108.8 kB / 0.7066 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.717e-05/0.7352, allocations: 123.6 kB / 0.7067 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.468e-05/0.7352, allocations: 180.2 kB / 0.7069 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-05/0.7353, allocations: 180.3 kB / 0.707 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.274e-05/0.7354, allocations: 184.2 kB / 0.7072 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002355/0.7356, allocations: 417.1 kB / 0.7076 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.02e-05/0.7357, allocations: 105 kB / 0.7077 GB, free: 9.941 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.969e-05/0.7357, allocations: 104.9 kB / 0.7078 GB, free: 9.832 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.395e-05/0.7358, allocations: 184.3 kB / 0.708 GB, free: 9.645 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.642e-05/0.7359, allocations: 176.3 kB / 0.7081 GB, free: 9.465 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-05/0.7359, allocations: 188.2 kB / 0.7083 GB, free: 9.273 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.002e-05/0.736, allocations: 180.3 kB / 0.7085 GB, free: 9.09 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001223/0.7361, allocations: 307.7 kB / 0.7088 GB, free: 8.766 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.97e-05/0.7362, allocations: 190 kB / 0.709 GB, free: 8.555 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.776e-05/0.7363, allocations: 184.2 kB / 0.7091 GB, free: 8.367 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.783e-05/0.7364, allocations: 101 kB / 0.7092 GB, free: 8.262 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.632e-05/0.7364, allocations: 180.2 kB / 0.7094 GB, free: 8.078 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.06e-05/0.7365, allocations: 105 kB / 0.7095 GB, free: 7.969 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.849e-05/0.7365, allocations: 100.5 kB / 0.7096 GB, free: 7.871 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7366, allocations: 0 / 0.7096 GB, free: 7.871 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001029/0.7376, allocations: 323.4 kB / 0.7099 GB, free: 7.555 MB / 0.4948 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.001286/0.7389, allocations: 1.181 MB / 0.7111 GB, free: 6.352 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.835e-05/0.739, allocations: 41.7 kB / 0.7111 GB, free: 6.305 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.739, allocations: 0 / 0.7111 GB, free: 6.305 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.503e-06/0.739, allocations: 0 / 0.7111 GB, free: 6.305 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003387/0.7393, allocations: 0.5302 MB / 0.7116 GB, free: 5.77 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007305/0.7401, allocations: 0.6109 MB / 0.7122 GB, free: 5.105 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002337/0.7403, allocations: 0.6848 MB / 0.7129 GB, free: 4.395 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.601e-05/0.7403, allocations: 3.938 kB / 0.7129 GB, free: 4.391 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.399e-05/0.7404, allocations: 19.44 kB / 0.7129 GB, free: 4.371 MB / 0.4948 GB Notification: Performance of SimCode: time 4.21e-07/0.7404, allocations: 0 / 0.7129 GB, free: 4.371 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01871/0.7591, allocations: 6.232 MB / 0.719 GB, free: 14.38 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002007/0.7593, allocations: 259.3 kB / 0.7193 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.923/2.682, allocations: 3.047 kB / 0.7193 GB, free: 14.04 MB / 0.5105 GB (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)