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.MultipoleThermalResistances_OneUTube.conf.json 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/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 100.8 kB / 16.27 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 186.3 kB / 17.2 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.272/1.272, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7152/0.7152, allocations: 122.8 MB / 413.9 MB, free: 15.95 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 63.91 kB / 0.4912 GB, free: 7.301 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3227/0.3241, allocations: 77.92 MB / 0.5673 GB, free: 32.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube): time 0.002329/0.3265, allocations: 1.361 MB / 0.5687 GB, free: 31.74 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002349/0.3288, allocations: 1.785 MB / 0.5704 GB, free: 30.53 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.545e-05/0.3289, allocations: 1.062 kB / 0.5704 GB, free: 30.53 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 7.764e-05/0.329, allocations: 15.53 kB / 0.5704 GB, free: 30.52 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001346/0.3291, allocations: 28.12 kB / 0.5705 GB, free: 30.5 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002541/0.3317, allocations: 1.13 MB / 0.5716 GB, free: 29.93 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.618e-05/0.3318, allocations: 51.61 kB / 0.5716 GB, free: 29.91 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.903e-05/0.3318, allocations: 4.562 kB / 0.5716 GB, free: 29.91 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.608e-05/0.3319, allocations: 22.25 kB / 0.5716 GB, free: 29.9 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.992e-05/0.332, allocations: 27.16 kB / 0.5717 GB, free: 29.89 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.382e-05/0.332, allocations: 1.688 kB / 0.5717 GB, free: 29.89 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001348/0.3334, allocations: 0.8498 MB / 0.5725 GB, free: 29.59 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.72e-05/0.3335, allocations: 30.16 kB / 0.5725 GB, free: 29.58 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.765e-05/0.3335, allocations: 30.09 kB / 0.5725 GB, free: 29.56 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001288/0.3348, allocations: 0.7934 MB / 0.5733 GB, free: 29.36 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3348, allocations: 0 / 0.5733 GB, free: 29.36 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.285e-06/0.3348, allocations: 0 / 0.5733 GB, free: 29.36 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.3348, allocations: 1.562 kB / 0.5733 GB, free: 29.36 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006377/0.3355, allocations: 484.1 kB / 0.5738 GB, free: 28.9 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.3355, allocations: 12.84 kB / 0.5738 GB, free: 28.9 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.777e-05/0.3356, allocations: 32.83 kB / 0.5738 GB, free: 28.86 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.152e-05/0.3356, allocations: 13.09 kB / 0.5738 GB, free: 28.85 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.3357, allocations: 186.8 kB / 0.574 GB, free: 28.64 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.3357, allocations: 6.25 kB / 0.574 GB, free: 28.64 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.442e-06/0.3358, allocations: 0 / 0.574 GB, free: 28.64 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.658e-05/0.3359, allocations: 55.67 kB / 0.5741 GB, free: 28.6 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.3359, allocations: 0 / 0.5741 GB, free: 28.6 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.123e-06/0.3359, allocations: 4 kB / 0.5741 GB, free: 28.6 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.3359, allocations: 1.062 kB / 0.5741 GB, free: 28.6 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.829e-05/0.3359, allocations: 26.95 kB / 0.5741 GB, free: 28.59 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001569/0.3361, allocations: 186.5 kB / 0.5743 GB, free: 28.4 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.876e-05/0.3362, allocations: 53.05 kB / 0.5743 GB, free: 28.36 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.609e-05/0.3362, allocations: 32.47 kB / 0.5744 GB, free: 28.35 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.443e-05/0.3363, allocations: 3.125 kB / 0.5744 GB, free: 28.35 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.997e-05/0.3363, allocations: 31.59 kB / 0.5744 GB, free: 28.31 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.303e-06/0.3363, allocations: 0 / 0.5744 GB, free: 28.31 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002431/0.3365, allocations: 120 kB / 0.5745 GB, free: 28.26 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.16e-05/0.3366, allocations: 59.06 kB / 0.5746 GB, free: 28.2 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001606/0.3368, allocations: 156.1 kB / 0.5747 GB, free: 28.07 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.087e-06/0.3368, allocations: 25.7 kB / 0.5747 GB, free: 28.04 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.748e-05/0.3368, allocations: 98.95 kB / 0.5748 GB, free: 27.95 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.279e-05/0.3369, allocations: 25.31 kB / 0.5749 GB, free: 27.93 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-05/0.3369, allocations: 15.98 kB / 0.5749 GB, free: 27.91 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.042e-05/0.337, allocations: 338.6 kB / 0.5752 GB, free: 27.58 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.099e-05/0.337, allocations: 22.88 kB / 0.5752 GB, free: 27.58 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.99e-05/0.3371, allocations: 24.25 kB / 0.5752 GB, free: 27.58 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001039/0.3372, allocations: 61.61 kB / 0.5753 GB, free: 27.57 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.3372, allocations: 2.344 kB / 0.5753 GB, free: 27.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001459/0.3374, allocations: 97.69 kB / 0.5754 GB, free: 27.52 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.3374, allocations: 8.094 kB / 0.5754 GB, free: 27.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.531e-05/0.3374, allocations: 1.25 kB / 0.5754 GB, free: 27.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.3374, allocations: 1.984 kB / 0.5754 GB, free: 27.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.162e-06/0.3374, allocations: 0 / 0.5754 GB, free: 27.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.3374, allocations: 0 / 0.5754 GB, free: 27.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.197e-05/0.3375, allocations: 5.734 kB / 0.5754 GB, free: 27.51 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.3375, allocations: 1.688 kB / 0.5754 GB, free: 27.51 MB / 446.1 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.848e-05/0.3376, allocations: 126 kB / 0.5755 GB, free: 27.39 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.297e-05/0.3376, allocations: 8.344 kB / 0.5755 GB, free: 27.39 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000184/0.3378, allocations: 105.8 kB / 0.5756 GB, free: 27.34 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.3378, allocations: 1.75 kB / 0.5756 GB, free: 27.34 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.3378, allocations: 2.234 kB / 0.5757 GB, free: 27.34 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.883e-06/0.3378, allocations: 0 / 0.5757 GB, free: 27.34 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001442/0.338, allocations: 195 kB / 0.5758 GB, free: 27.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.338, allocations: 1.312 kB / 0.5758 GB, free: 27.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.385e-06/0.338, allocations: 3.844 kB / 0.5758 GB, free: 27.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.338, allocations: 4.547 kB / 0.5758 GB, free: 27.14 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.351e-06/0.338, allocations: 1.156 kB / 0.5758 GB, free: 27.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.338, allocations: 0 / 0.5758 GB, free: 27.14 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.338, allocations: 0.7969 kB / 0.5758 GB, free: 27.14 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001381/0.3382, allocations: 126.1 kB / 0.576 GB, free: 27.05 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.197e-05/0.3382, allocations: 85.66 kB / 0.5761 GB, free: 26.95 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.3382, allocations: 1.922 kB / 0.5761 GB, free: 26.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.485e-05/0.3383, allocations: 6.281 kB / 0.5761 GB, free: 26.95 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.447e-05/0.3383, allocations: 1.641 kB / 0.5761 GB, free: 26.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.3383, allocations: 1.125 kB / 0.5761 GB, free: 26.95 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.331e-05/0.3384, allocations: 122.6 kB / 0.5762 GB, free: 26.86 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3384, allocations: 0 / 0.5762 GB, free: 26.86 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007962/0.3392, allocations: 209.9 kB / 0.5764 GB, free: 26.82 MB / 446.1 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009747/0.3402, allocations: 0.8887 MB / 0.5772 GB, free: 26.14 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001676/0.3404, allocations: 93.34 kB / 0.5773 GB, free: 26.11 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3404, allocations: 0 / 0.5773 GB, free: 26.11 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.19e-05/0.3404, allocations: 69.31 kB / 0.5774 GB, free: 26.07 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002494/0.3407, allocations: 13.92 kB / 0.5774 GB, free: 26.06 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001448/0.3421, allocations: 1.599 MB / 0.579 GB, free: 24.82 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001732/0.3423, allocations: 0.7104 MB / 0.5797 GB, free: 24.12 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.277e-05/0.3424, allocations: 2.031 kB / 0.5797 GB, free: 24.12 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.827e-05/0.3424, allocations: 22.78 kB / 0.5797 GB, free: 24.1 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3424, allocations: 3.938 kB / 0.5797 GB, free: 24.09 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02543/0.3678, allocations: 5.945 MB / 0.5855 GB, free: 21.62 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.279/7.647, allocations: 14 kB / 0.5855 GB, free: 21.61 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe 2>&1)