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.ConvectionResistanceCircularPipe.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.ConvectionResistanceCircularPipe,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="IBPSA_latest_IBPSA_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/Complex 4.0.0+maint.om/package.mo): time 0.002101/0.002101, allocations: 181.8 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.5798/0.5798, allocations: 91.98 MB / 108.5 MB, free: 13.11 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.564/1.564, allocations: 223.2 MB / 354.3 MB, free: 12.18 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.001123/0.001123, allocations: 100.2 kB / 427.4 MB, free: 3.895 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003443/0.0003444, allocations: 12 kB / 0.4984 GB, free: 42.18 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1723/0.1727, allocations: 72.3 MB / 0.569 GB, free: 1.816 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5335/0.7062, allocations: 106 MB / 0.6725 GB, free: 14.44 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003352/0.7066, allocations: 116.7 kB / 0.6726 GB, free: 14.33 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01958/0.7262, allocations: 6.348 MB / 0.6788 GB, free: 7.988 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.993e-06/0.7262, allocations: 0 / 0.6788 GB, free: 7.988 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.896e-06/0.7262, allocations: 4 kB / 0.6788 GB, free: 7.984 MB / 474.7 MB 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.0005882/0.7268, allocations: 399.6 kB / 0.6792 GB, free: 7.547 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.226e-05/0.7269, allocations: 8.031 kB / 0.6792 GB, free: 7.539 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.666e-05/0.7269, allocations: 38.52 kB / 0.6792 GB, free: 7.492 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.061e-05/0.727, allocations: 11.89 kB / 0.6792 GB, free: 7.48 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001404/0.7271, allocations: 163 kB / 0.6794 GB, free: 7.281 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.7272, allocations: 8 kB / 0.6794 GB, free: 7.273 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.048e-05/0.7272, allocations: 0 / 0.6794 GB, free: 7.273 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000115/0.7273, allocations: 45.62 kB / 0.6794 GB, free: 7.223 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.7273, allocations: 0 / 0.6794 GB, free: 7.223 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.7273, allocations: 0 / 0.6794 GB, free: 7.223 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.373e-06/0.7273, allocations: 3.953 kB / 0.6794 GB, free: 7.219 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.194e-05/0.7274, allocations: 11.98 kB / 0.6795 GB, free: 7.207 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002072/0.7276, allocations: 165.7 kB / 0.6796 GB, free: 6.996 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001003/0.7277, allocations: 42.55 kB / 0.6796 GB, free: 6.945 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009902/0.7287, allocations: 0.9779 MB / 0.6806 GB, free: 5.746 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/0.7288, allocations: 34.56 kB / 0.6806 GB, free: 5.703 MB / 474.7 MB Notification: Performance of pre-optimization done (n=4): time 1.453e-06/0.7288, allocations: 0 / 0.6806 GB, free: 5.703 MB / 474.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001935/0.729, allocations: 57.59 kB / 0.6807 GB, free: 5.641 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.853e-05/0.729, allocations: 55.41 kB / 0.6807 GB, free: 5.574 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.421e-05/0.7291, allocations: 100.9 kB / 0.6808 GB, free: 5.469 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.7291, allocations: 25.7 kB / 0.6809 GB, free: 5.438 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.419e-05/0.7292, allocations: 84.14 kB / 0.6809 GB, free: 5.352 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.994e-05/0.7292, allocations: 11.89 kB / 0.681 GB, free: 5.34 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.67e-06/0.7292, allocations: 4 kB / 0.681 GB, free: 5.336 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.7294, allocations: 318.8 kB / 0.6813 GB, free: 5.016 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.255e-05/0.7294, allocations: 7.938 kB / 0.6813 GB, free: 5.008 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.175e-05/0.7295, allocations: 8 kB / 0.6813 GB, free: 5 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.493e-05/0.7295, allocations: 7.938 kB / 0.6813 GB, free: 4.992 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.7295, allocations: 0 / 0.6813 GB, free: 4.992 MB / 474.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.279e-05/0.7296, allocations: 53.59 kB / 0.6813 GB, free: 4.934 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.7296, allocations: 8 kB / 0.6813 GB, free: 4.926 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.7296, allocations: 0 / 0.6813 GB, free: 4.926 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.7296, allocations: 0 / 0.6813 GB, free: 4.926 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/0.7298, allocations: 19.98 kB / 0.6814 GB, free: 4.906 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.7298, allocations: 4.547 kB / 0.6814 GB, free: 4.902 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.463e-05/0.7298, allocations: 0 / 0.6814 GB, free: 4.902 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/0.7298, allocations: 7.953 kB / 0.6814 GB, free: 4.895 MB / 474.7 MB 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 0.0001008/0.7299, allocations: 117.7 kB / 0.6815 GB, free: 4.77 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.398e-06/0.73, allocations: 3.938 kB / 0.6815 GB, free: 4.766 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000144/0.7301, allocations: 61.58 kB / 0.6816 GB, free: 4.695 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.7301, allocations: 4 kB / 0.6816 GB, free: 4.691 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.7301, allocations: 0 / 0.6816 GB, free: 4.691 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.7301, allocations: 4 kB / 0.6816 GB, free: 4.688 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001407/0.7303, allocations: 165.5 kB / 0.6817 GB, free: 4.477 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.7303, allocations: 0 / 0.6817 GB, free: 4.477 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.271e-05/0.7304, allocations: 15.98 kB / 0.6817 GB, free: 4.461 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.7304, allocations: 0 / 0.6817 GB, free: 4.461 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.186e-06/0.7304, allocations: 0 / 0.6817 GB, free: 4.461 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.7304, allocations: 0 / 0.6817 GB, free: 4.461 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.7304, allocations: 0 / 0.6817 GB, free: 4.461 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001386/0.7306, allocations: 85.39 kB / 0.6818 GB, free: 4.359 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.125e-05/0.7306, allocations: 89.05 kB / 0.6819 GB, free: 4.254 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.7306, allocations: 0 / 0.6819 GB, free: 4.254 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.539e-05/0.7307, allocations: 4 kB / 0.6819 GB, free: 4.25 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.932e-05/0.7307, allocations: 3.984 kB / 0.6819 GB, free: 4.246 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.7307, allocations: 4 kB / 0.6819 GB, free: 4.242 MB / 474.7 MB Notification: Performance of sorting global known variables: time 4.256e-05/0.7308, allocations: 83.58 kB / 0.682 GB, free: 4.16 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7308, allocations: 0 / 0.682 GB, free: 4.16 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002697/0.731, allocations: 51.92 kB / 0.682 GB, free: 4.109 MB / 474.7 MB 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.0006024/0.7317, allocations: 0.6747 MB / 0.6827 GB, free: 3.406 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 9.692e-05/0.7318, allocations: 27.92 kB / 0.6827 GB, free: 3.379 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.7318, allocations: 0 / 0.6827 GB, free: 3.379 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 2.055e-05/0.7318, allocations: 8 kB / 0.6827 GB, free: 3.371 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001737/0.732, allocations: 4.859 kB / 0.6827 GB, free: 3.367 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005038/0.7325, allocations: 228.5 kB / 0.683 GB, free: 3.102 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000302/0.7328, allocations: 0.6809 MB / 0.6836 GB, free: 2.395 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 4.382e-05/0.7329, allocations: 8.859 kB / 0.6836 GB, free: 2.387 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.929e-05/0.7329, allocations: 22.19 kB / 0.6837 GB, free: 2.371 MB / 474.7 MB Notification: Performance of SimCode: time 2.91e-07/0.7329, allocations: 0 / 0.6837 GB, free: 2.371 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01453/0.7474, allocations: 1.867 MB / 0.6855 GB, free: 0.7422 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000249/0.7477, allocations: 261.6 kB / 0.6857 GB, free: 400 kB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.69/2.438, allocations: 0 / 0.6857 GB, free: 400 kB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1)