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.9186/0.9186, allocations: 141.8 MB / 149.3 MB, free: 9.242 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.002291/0.002291, allocations: 179.9 kB / 182.2 MB, free: 9.469 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.488/1.488, allocations: 221.5 MB / 436.4 MB, free: 13.37 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.0008836/0.0008835, allocations: 100.1 kB / 0.5074 GB, free: 10.18 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001761/0.001761, allocations: 279.4 kB / 0.5889 GB, free: 54.7 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.379e-05/2.395e-05, allocations: 4 kB / 0.6767 GB, free: 12.73 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4637/0.4637, allocations: 82.79 MB / 0.7575 GB, free: 31.95 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1646/0.6284, allocations: 112.4 MB / 0.8673 GB, free: 15.44 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002992/0.6287, allocations: 107.9 kB / 0.8674 GB, free: 15.33 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01863/0.6474, allocations: 6.254 MB / 0.8735 GB, free: 9.07 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.744e-06/0.6474, allocations: 3.938 kB / 0.8735 GB, free: 9.066 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.135e-06/0.6475, allocations: 0 / 0.8735 GB, free: 9.066 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.0004786/0.6479, allocations: 394.8 kB / 0.8738 GB, free: 8.637 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/0.648, allocations: 8.031 kB / 0.8738 GB, free: 8.629 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.086e-05/0.6481, allocations: 11.91 kB / 0.8739 GB, free: 8.617 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000152/0.6482, allocations: 159.1 kB / 0.874 GB, free: 8.422 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/0.6482, allocations: 3.953 kB / 0.874 GB, free: 8.418 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.26e-05/0.6483, allocations: 4 kB / 0.874 GB, free: 8.414 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.213e-05/0.6483, allocations: 15.92 kB / 0.874 GB, free: 8.398 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.861e-05/0.6484, allocations: 37.64 kB / 0.8741 GB, free: 8.355 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-06/0.6484, allocations: 0 / 0.8741 GB, free: 8.355 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.6485, allocations: 0 / 0.8741 GB, free: 8.355 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.6485, allocations: 0 / 0.8741 GB, free: 8.355 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001856/0.6487, allocations: 142.2 kB / 0.8742 GB, free: 8.18 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 8.121e-05/0.6488, allocations: 38.64 kB / 0.8742 GB, free: 8.133 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.873e-05/0.6488, allocations: 8.859 kB / 0.8743 GB, free: 8.121 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009269/0.6497, allocations: 0.9896 MB / 0.8752 GB, free: 6.91 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/0.6498, allocations: 34.55 kB / 0.8753 GB, free: 6.867 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=4): time 1.403e-06/0.6498, allocations: 0 / 0.8753 GB, free: 6.867 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4): time 0.0002744/0.6501, allocations: 57.53 kB / 0.8753 GB, free: 6.805 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.044e-05/0.6501, allocations: 51.41 kB / 0.8754 GB, free: 6.742 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.367e-05/0.6502, allocations: 97 kB / 0.8754 GB, free: 6.641 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.6502, allocations: 25.7 kB / 0.8755 GB, free: 6.609 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 4.827e-05/0.6503, allocations: 88.12 kB / 0.8756 GB, free: 6.52 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.102e-05/0.6503, allocations: 15.84 kB / 0.8756 GB, free: 6.504 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.436e-06/0.6503, allocations: 0 / 0.8756 GB, free: 6.504 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.6504, allocations: 310.8 kB / 0.8759 GB, free: 6.191 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.954e-05/0.6505, allocations: 8 kB / 0.8759 GB, free: 6.184 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.457e-05/0.6505, allocations: 4 kB / 0.8759 GB, free: 6.18 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.047e-05/0.6505, allocations: 11.98 kB / 0.8759 GB, free: 6.168 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.6506, allocations: 0 / 0.8759 GB, free: 6.168 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001176/0.6507, allocations: 57.53 kB / 0.8759 GB, free: 6.105 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.6507, allocations: 11.94 kB / 0.876 GB, free: 6.094 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/0.6507, allocations: 3.953 kB / 0.876 GB, free: 6.09 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.6507, allocations: 4 kB / 0.876 GB, free: 6.086 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.6509, allocations: 11.98 kB / 0.876 GB, free: 6.074 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.6509, allocations: 4 kB / 0.876 GB, free: 6.07 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.447e-05/0.6509, allocations: 0 / 0.876 GB, free: 6.07 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.17e-06/0.6509, allocations: 0 / 0.876 GB, free: 6.07 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 7.289e-05/0.651, allocations: 101 kB / 0.8761 GB, free: 5.965 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001061/0.6511, allocations: 53.69 kB / 0.8761 GB, free: 5.906 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.195e-05/0.6511, allocations: 15.84 kB / 0.8761 GB, free: 5.891 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001522/0.6513, allocations: 61.97 kB / 0.8762 GB, free: 5.816 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.6513, allocations: 0 / 0.8762 GB, free: 5.816 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.6513, allocations: 0 / 0.8762 GB, free: 5.816 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.6513, allocations: 3.984 kB / 0.8762 GB, free: 5.812 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001088/0.6514, allocations: 138.2 kB / 0.8763 GB, free: 5.641 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.6514, allocations: 0 / 0.8763 GB, free: 5.641 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.787e-05/0.6515, allocations: 16 kB / 0.8764 GB, free: 5.625 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.6515, allocations: 0 / 0.8764 GB, free: 5.625 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.597e-06/0.6515, allocations: 7.891 kB / 0.8764 GB, free: 5.617 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.6516, allocations: 4 kB / 0.8764 GB, free: 5.613 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.686e-06/0.6516, allocations: 3.984 kB / 0.8764 GB, free: 5.609 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001229/0.6517, allocations: 80.97 kB / 0.8764 GB, free: 5.512 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.982e-05/0.6517, allocations: 77.11 kB / 0.8765 GB, free: 5.418 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.298e-05/0.6518, allocations: 0 / 0.8765 GB, free: 5.418 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.26e-05/0.6518, allocations: 7.953 kB / 0.8765 GB, free: 5.41 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.852e-05/0.6518, allocations: 3.984 kB / 0.8765 GB, free: 5.406 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.007e-06/0.6518, allocations: 336 / 0.8765 GB, free: 5.406 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 5.132e-05/0.6519, allocations: 87.28 kB / 0.8766 GB, free: 5.32 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2e-07/0.6519, allocations: 4 kB / 0.8766 GB, free: 5.316 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002362/0.6521, allocations: 43.88 kB / 0.8767 GB, free: 5.273 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.0005619/0.6527, allocations: 0.671 MB / 0.8773 GB, free: 4.574 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 8.516e-05/0.6528, allocations: 19.94 kB / 0.8773 GB, free: 4.555 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.6528, allocations: 0 / 0.8773 GB, free: 4.555 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 2.082e-05/0.6528, allocations: 12 kB / 0.8773 GB, free: 4.543 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001618/0.653, allocations: 12.62 kB / 0.8774 GB, free: 4.535 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003761/0.6534, allocations: 117.5 kB / 0.8775 GB, free: 4.383 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002669/0.6537, allocations: 0.6884 MB / 0.8781 GB, free: 3.668 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.997e-05/0.6537, allocations: 5.688 kB / 0.8781 GB, free: 3.664 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.749e-05/0.6538, allocations: 15.44 kB / 0.8782 GB, free: 3.648 MB / 0.5417 GB Notification: Performance of SimCode: time 3.61e-07/0.6538, allocations: 0 / 0.8782 GB, free: 3.648 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02194/0.6757, allocations: 1.543 MB / 0.8797 GB, free: 2.152 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002478/0.676, allocations: 247.9 kB / 0.8799 GB, free: 1.859 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.695/2.371, allocations: 3.938 kB / 0.8799 GB, free: 1.855 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)