Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8278/0.8278, allocations: 143.3 MB / 158.3 MB, free: 5.75 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001555/0.001555, allocations: 185 kB / 191.5 MB, free: 5.738 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.678/1.678, allocations: 223.2 MB / 447.7 MB, free: 4.77 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.001036/0.001036, allocations: 92.33 kB / 0.5187 GB, free: 1.133 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002091/0.002092, allocations: 278.6 kB / 0.6005 GB, free: 48.71 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005341/0.0005344, allocations: 17.59 kB / 0.693 GB, free: 59.52 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2036/0.2041, allocations: 82.8 MB / 0.7738 GB, free: 13.65 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6277/0.8319, allocations: 113.1 MB / 0.8843 GB, free: 33.11 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003181/0.8323, allocations: 114.5 kB / 0.8844 GB, free: 33.11 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01992/0.8522, allocations: 6.299 MB / 0.8905 GB, free: 32.5 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.214e-06/0.8522, allocations: 4 kB / 0.8905 GB, free: 32.49 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.075e-06/0.8523, allocations: 0 / 0.8905 GB, free: 32.49 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004793/0.8527, allocations: 411.3 kB / 0.8909 GB, free: 32.09 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.8528, allocations: 7.75 kB / 0.8909 GB, free: 32.09 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.032e-05/0.8528, allocations: 32.11 kB / 0.891 GB, free: 32.05 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.328e-05/0.8529, allocations: 2.469 kB / 0.891 GB, free: 32.05 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/0.853, allocations: 167.4 kB / 0.8911 GB, free: 31.85 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.853, allocations: 0 / 0.8911 GB, free: 31.85 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.209e-05/0.853, allocations: 6.656 kB / 0.8911 GB, free: 31.85 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001097/0.8531, allocations: 43.25 kB / 0.8912 GB, free: 31.81 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.8532, allocations: 0 / 0.8912 GB, free: 31.81 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.268e-06/0.8532, allocations: 0 / 0.8912 GB, free: 31.81 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.8532, allocations: 2.906 kB / 0.8912 GB, free: 31.81 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.752e-05/0.8532, allocations: 10.94 kB / 0.8912 GB, free: 31.81 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000166/0.8534, allocations: 166.9 kB / 0.8913 GB, free: 31.61 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 8.681e-05/0.8535, allocations: 48.8 kB / 0.8914 GB, free: 31.58 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007637/0.8543, allocations: 0.9844 MB / 0.8924 GB, free: 30.45 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.293e-05/0.8543, allocations: 41.44 kB / 0.8924 GB, free: 30.41 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/0.8543, allocations: 0 / 0.8924 GB, free: 30.41 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4): time 0.0001659/0.8545, allocations: 56.62 kB / 0.8924 GB, free: 30.37 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.918e-05/0.8545, allocations: 51.41 kB / 0.8925 GB, free: 30.31 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.469e-05/0.8546, allocations: 97.58 kB / 0.8926 GB, free: 30.22 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.299e-05/0.8547, allocations: 30.7 kB / 0.8926 GB, free: 30.18 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.768e-05/0.8547, allocations: 84.98 kB / 0.8927 GB, free: 30.1 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.214e-05/0.8547, allocations: 11.95 kB / 0.8927 GB, free: 30.09 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.679e-06/0.8547, allocations: 2.688 kB / 0.8927 GB, free: 30.09 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 6.113e-05/0.8548, allocations: 314.2 kB / 0.893 GB, free: 29.78 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.977e-05/0.8548, allocations: 12.22 kB / 0.893 GB, free: 29.78 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.554e-05/0.8549, allocations: 9.547 kB / 0.893 GB, free: 29.77 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.446e-05/0.8549, allocations: 7.438 kB / 0.893 GB, free: 29.77 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.8549, allocations: 0 / 0.893 GB, free: 29.77 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.921e-05/0.855, allocations: 55.03 kB / 0.8931 GB, free: 29.73 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.855, allocations: 6.719 kB / 0.8931 GB, free: 29.73 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.855, allocations: 1.188 kB / 0.8931 GB, free: 29.73 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.855, allocations: 0 / 0.8931 GB, free: 29.73 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.8552, allocations: 16.44 kB / 0.8931 GB, free: 29.73 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.8552, allocations: 0 / 0.8931 GB, free: 29.73 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.258e-05/0.8552, allocations: 0 / 0.8931 GB, free: 29.73 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-06/0.8552, allocations: 4 kB / 0.8931 GB, free: 29.73 MB / 0.5417 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 (4): * Single equations (assignments): 4 * 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 prepare postOptimizeDAE: time 7.094e-05/0.8553, allocations: 115.9 kB / 0.8932 GB, free: 29.62 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.006e-05/0.8553, allocations: 7.859 kB / 0.8932 GB, free: 29.61 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001386/0.8555, allocations: 62.64 kB / 0.8933 GB, free: 29.57 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.8555, allocations: 1.875 kB / 0.8933 GB, free: 29.57 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.78e-06/0.8555, allocations: 1.125 kB / 0.8933 GB, free: 29.57 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.8555, allocations: 0 / 0.8933 GB, free: 29.57 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001082/0.8556, allocations: 160.8 kB / 0.8935 GB, free: 29.38 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.8556, allocations: 4 kB / 0.8935 GB, free: 29.38 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.325e-05/0.8557, allocations: 11.31 kB / 0.8935 GB, free: 29.38 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.8557, allocations: 0 / 0.8935 GB, free: 29.38 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.8557, allocations: 5.484 kB / 0.8935 GB, free: 29.37 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.8557, allocations: 0 / 0.8935 GB, free: 29.37 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.8557, allocations: 3.938 kB / 0.8935 GB, free: 29.37 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001048/0.8559, allocations: 79.67 kB / 0.8936 GB, free: 29.3 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 2.846e-05/0.8559, allocations: 83.81 kB / 0.8936 GB, free: 29.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.33e-05/0.8559, allocations: 4 kB / 0.8936 GB, free: 29.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.379e-05/0.8559, allocations: 3.953 kB / 0.8936 GB, free: 29.2 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.79e-05/0.856, allocations: 4.984 kB / 0.8936 GB, free: 29.2 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.611e-06/0.856, allocations: 3.938 kB / 0.8937 GB, free: 29.2 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.085e-05/0.856, allocations: 86.84 kB / 0.8937 GB, free: 29.12 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.01e-07/0.856, allocations: 0 / 0.8937 GB, free: 29.12 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002615/0.8563, allocations: 49.08 kB / 0.8938 GB, free: 29.11 MB / 0.5417 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 (4): * Single equations (assignments): 4 * 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.000465/0.8568, allocations: 0.6722 MB / 0.8944 GB, free: 28.49 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 9.187e-05/0.8569, allocations: 19.45 kB / 0.8945 GB, free: 28.49 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.8569, allocations: 0 / 0.8945 GB, free: 28.49 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 2.175e-05/0.8569, allocations: 9.875 kB / 0.8945 GB, free: 28.49 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001904/0.8571, allocations: 16.95 kB / 0.8945 GB, free: 28.49 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004686/0.8576, allocations: 225.3 kB / 0.8947 GB, free: 28.3 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001603/0.8577, allocations: 0.6833 MB / 0.8954 GB, free: 27.61 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.673e-05/0.8578, allocations: 7.922 kB / 0.8954 GB, free: 27.61 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.509e-05/0.8578, allocations: 16.59 kB / 0.8954 GB, free: 27.6 MB / 0.5417 GB Notification: Performance of SimCode: time 2.31e-07/0.8578, allocations: 3.938 kB / 0.8954 GB, free: 27.59 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0154/0.8732, allocations: 1.879 MB / 0.8972 GB, free: 27.43 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001961/0.8735, allocations: 281.9 kB / 0.8975 GB, free: 27.06 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.796/2.669, allocations: 4 kB / 0.8975 GB, free: 27.06 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1)