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.7156/0.7156, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009307/0.0009306, allocations: 183 kB / 187.3 MB, free: 11.88 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.249/1.249, allocations: 221.3 MB / 441.4 MB, free: 4.617 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.0008438/0.0008439, allocations: 95.53 kB / 0.5124 GB, free: 24.15 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001658/0.001658, allocations: 275.2 kB / 0.5939 GB, free: 7.965 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.554e-05/3.557e-05, allocations: 11.98 kB / 0.6836 GB, free: 12.08 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3672/0.3673, allocations: 82.75 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1071/0.4744, allocations: 113 MB / 0.8748 GB, free: 11.49 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002469/0.4747, allocations: 109.7 kB / 0.8749 GB, free: 11.39 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01694/0.4916, allocations: 6.278 MB / 0.881 GB, free: 5.125 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.393e-06/0.4917, allocations: 0 / 0.881 GB, free: 5.125 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.4917, allocations: 0 / 0.881 GB, free: 5.125 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.0003576/0.492, allocations: 386.3 kB / 0.8814 GB, free: 4.703 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.4921, allocations: 8.031 kB / 0.8814 GB, free: 4.695 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.825e-05/0.4921, allocations: 38.55 kB / 0.8814 GB, free: 4.648 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.25e-05/0.4922, allocations: 7.906 kB / 0.8815 GB, free: 4.641 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001161/0.4923, allocations: 171 kB / 0.8816 GB, free: 4.434 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.4923, allocations: 4 kB / 0.8816 GB, free: 4.43 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.223e-05/0.4923, allocations: 4 kB / 0.8816 GB, free: 4.426 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.707e-05/0.4924, allocations: 41.69 kB / 0.8817 GB, free: 4.379 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.4925, allocations: 0 / 0.8817 GB, free: 4.379 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.4925, allocations: 0 / 0.8817 GB, free: 4.379 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.4925, allocations: 0 / 0.8817 GB, free: 4.379 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.49e-05/0.4925, allocations: 12 kB / 0.8817 GB, free: 4.367 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001539/0.4927, allocations: 161.7 kB / 0.8818 GB, free: 4.16 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 7.786e-05/0.4928, allocations: 46.5 kB / 0.8819 GB, free: 4.105 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.042e-05/0.4928, allocations: 16.89 kB / 0.8819 GB, free: 4.086 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007455/0.4936, allocations: 0.9857 MB / 0.8829 GB, free: 2.879 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.197e-05/0.4936, allocations: 30.56 kB / 0.8829 GB, free: 2.84 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.4936, allocations: 0 / 0.8829 GB, free: 2.84 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4): time 0.000131/0.4937, allocations: 53.59 kB / 0.8829 GB, free: 2.781 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.765e-05/0.4938, allocations: 51.41 kB / 0.883 GB, free: 2.719 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.15e-05/0.4938, allocations: 102.3 kB / 0.8831 GB, free: 2.613 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.424e-05/0.4939, allocations: 29.7 kB / 0.8831 GB, free: 2.578 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 2.951e-05/0.4939, allocations: 84.14 kB / 0.8832 GB, free: 2.492 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.621e-05/0.4939, allocations: 15.83 kB / 0.8832 GB, free: 2.477 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.765e-06/0.4939, allocations: 3.938 kB / 0.8832 GB, free: 2.473 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.16e-05/0.494, allocations: 310.8 kB / 0.8835 GB, free: 2.16 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.812e-05/0.4941, allocations: 12 kB / 0.8835 GB, free: 2.148 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.385e-05/0.4941, allocations: 4 kB / 0.8835 GB, free: 2.145 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.241e-05/0.4941, allocations: 4 kB / 0.8835 GB, free: 2.141 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.4941, allocations: 3.938 kB / 0.8835 GB, free: 2.137 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.773e-05/0.4942, allocations: 61.55 kB / 0.8836 GB, free: 2.07 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.4942, allocations: 4 kB / 0.8836 GB, free: 2.066 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.4942, allocations: 0 / 0.8836 GB, free: 2.066 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.4942, allocations: 0 / 0.8836 GB, free: 2.066 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.631e-05/0.4943, allocations: 15.98 kB / 0.8836 GB, free: 2.051 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.248e-06/0.4944, allocations: 7.938 kB / 0.8836 GB, free: 2.043 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.111e-05/0.4944, allocations: 0 / 0.8836 GB, free: 2.043 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-06/0.4944, allocations: 0 / 0.8836 GB, free: 2.043 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 () * 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 5.045e-05/0.4944, allocations: 105 kB / 0.8837 GB, free: 1.934 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.728e-06/0.4945, allocations: 12.14 kB / 0.8837 GB, free: 1.922 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001199/0.4946, allocations: 67.66 kB / 0.8838 GB, free: 1.852 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.4946, allocations: 0 / 0.8838 GB, free: 1.852 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.4946, allocations: 0 / 0.8838 GB, free: 1.852 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-06/0.4946, allocations: 0 / 0.8838 GB, free: 1.852 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.096e-05/0.4947, allocations: 161.6 kB / 0.8839 GB, free: 1.645 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.4947, allocations: 0 / 0.8839 GB, free: 1.645 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.288e-05/0.4948, allocations: 15.98 kB / 0.884 GB, free: 1.629 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.4948, allocations: 0 / 0.884 GB, free: 1.629 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/0.4948, allocations: 11.89 kB / 0.884 GB, free: 1.617 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.041e-06/0.4948, allocations: 4 kB / 0.884 GB, free: 1.613 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.4948, allocations: 0 / 0.884 GB, free: 1.613 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.028e-05/0.4949, allocations: 73.12 kB / 0.884 GB, free: 1.523 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 2.947e-05/0.495, allocations: 77.11 kB / 0.8841 GB, free: 1.43 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.467e-05/0.495, allocations: 4 kB / 0.8841 GB, free: 1.426 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.207e-05/0.495, allocations: 3.953 kB / 0.8841 GB, free: 1.422 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.334e-05/0.495, allocations: 3.984 kB / 0.8841 GB, free: 1.418 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-06/0.495, allocations: 0 / 0.8841 GB, free: 1.418 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.929e-05/0.4951, allocations: 93.08 kB / 0.8842 GB, free: 1.328 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4951, allocations: 0 / 0.8842 GB, free: 1.328 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001969/0.4953, allocations: 47.88 kB / 0.8843 GB, free: 1.281 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 () * 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.0004342/0.4957, allocations: 0.6747 MB / 0.8849 GB, free: 0.5742 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 7.964e-05/0.4958, allocations: 24 kB / 0.8849 GB, free: 0.5508 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.4958, allocations: 0 / 0.8849 GB, free: 0.5508 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.979e-05/0.4958, allocations: 11.94 kB / 0.885 GB, free: 0.5391 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000136/0.496, allocations: 11.95 kB / 0.885 GB, free: 0.5273 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002955/0.4963, allocations: 134.3 kB / 0.8851 GB, free: 368 kB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002078/0.4965, allocations: 0.6848 MB / 0.8858 GB, free: 15.65 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 3.156e-05/0.4966, allocations: 4 kB / 0.8858 GB, free: 15.64 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.079e-05/0.4966, allocations: 15.44 kB / 0.8858 GB, free: 15.63 MB / 0.5573 GB Notification: Performance of SimCode: time 2.2e-07/0.4966, allocations: 0 / 0.8858 GB, free: 15.63 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0117/0.5083, allocations: 1.897 MB / 0.8876 GB, free: 13.95 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001838/0.5085, allocations: 244.3 kB / 0.8879 GB, free: 13.62 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.433/1.942, allocations: 3.75 kB / 0.8879 GB, free: 13.62 MB / 0.5573 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)