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_TwoUTube.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.MultipoleThermalResistances_TwoUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube",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.00102/0.00102, allocations: 179.1 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4661/0.4661, allocations: 90.81 MB / 104.5 MB, free: 9.789 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.311/1.311, allocations: 221.3 MB / 348.3 MB, free: 436 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009654/0.0009654, allocations: 98.25 kB / 421.2 MB, free: 5.465 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 4.47e-05/4.486e-05, allocations: 4 kB / 0.4898 GB, free: 5.191 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3892/0.3893, allocations: 72.3 MB / 0.5604 GB, free: 40.43 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1406/0.5299, allocations: 113.8 MB / 0.6716 GB, free: 6.418 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003496/0.5303, allocations: 113.2 kB / 0.6717 GB, free: 6.309 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02431/0.5547, allocations: 8.483 MB / 0.68 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.483e-06/0.5547, allocations: 0 / 0.68 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.811e-05/0.5547, allocations: 4 kB / 0.68 GB, free: 13.82 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0007842/0.5555, allocations: 0.5677 MB / 0.6805 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/0.5556, allocations: 8.031 kB / 0.6805 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.458e-05/0.5556, allocations: 42.55 kB / 0.6806 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.406e-05/0.5557, allocations: 19.72 kB / 0.6806 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002572/0.5559, allocations: 225.6 kB / 0.6808 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-06/0.556, allocations: 4 kB / 0.6808 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.397e-06/0.556, allocations: 0 / 0.6808 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001679/0.5561, allocations: 110.7 kB / 0.6809 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.5562, allocations: 0 / 0.6809 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.5562, allocations: 3.953 kB / 0.6809 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.5562, allocations: 4 kB / 0.6809 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.745e-05/0.5563, allocations: 79.89 kB / 0.681 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002885/0.5566, allocations: 273.8 kB / 0.6812 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001274/0.5567, allocations: 126.5 kB / 0.6814 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.5568, allocations: 108.9 kB / 0.6815 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.796e-05/0.5569, allocations: 4 kB / 0.6815 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/0.5569, allocations: 30.56 kB / 0.6815 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=32): time 1.172e-06/0.5569, allocations: 0 / 0.6815 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of matching and sorting (n=32): time 0.000313/0.5572, allocations: 231.2 kB / 0.6817 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.9e-05/0.5573, allocations: 51.41 kB / 0.6818 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002217/0.5575, allocations: 233 kB / 0.682 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.458e-05/0.5575, allocations: 29.73 kB / 0.682 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.281e-05/0.5576, allocations: 124.7 kB / 0.6821 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.297e-05/0.5577, allocations: 110.4 kB / 0.6822 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-06/0.5577, allocations: 0 / 0.6822 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.5578, allocations: 338.8 kB / 0.6826 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.687e-05/0.5579, allocations: 75.97 kB / 0.6826 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.867e-05/0.558, allocations: 75.95 kB / 0.6827 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001063/0.5581, allocations: 100.2 kB / 0.6828 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.5581, allocations: 0 / 0.6828 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002472/0.5584, allocations: 237.2 kB / 0.683 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.5584, allocations: 4.938 kB / 0.683 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/0.5584, allocations: 4 kB / 0.683 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.5584, allocations: 0 / 0.683 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.92e-07/0.5585, allocations: 3.656 kB / 0.683 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.5585, allocations: 3.953 kB / 0.6831 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.922e-05/0.5585, allocations: 11.84 kB / 0.6831 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.332e-05/0.5585, allocations: 8 kB / 0.6831 GB, free: 10.41 MB / 0.4948 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 6.798e-05/0.5586, allocations: 105 kB / 0.6832 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.36e-05/0.5587, allocations: 27.69 kB / 0.6832 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005304/0.5592, allocations: 0.5652 MB / 0.6837 GB, free: 9.609 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.426e-05/0.5593, allocations: 180.2 kB / 0.6839 GB, free: 9.426 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.972e-05/0.5593, allocations: 180.3 kB / 0.6841 GB, free: 9.242 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.091e-05/0.5594, allocations: 192.2 kB / 0.6843 GB, free: 9.047 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000392/0.5598, allocations: 0.5397 MB / 0.6848 GB, free: 8.449 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.924e-05/0.5599, allocations: 101 kB / 0.6849 GB, free: 8.344 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.06e-05/0.5599, allocations: 112.9 kB / 0.685 GB, free: 8.227 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.347e-05/0.56, allocations: 176.3 kB / 0.6852 GB, free: 8.047 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.564e-05/0.5601, allocations: 180.2 kB / 0.6853 GB, free: 7.863 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.776e-05/0.5601, allocations: 184.2 kB / 0.6855 GB, free: 7.676 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.161e-05/0.5602, allocations: 180.3 kB / 0.6857 GB, free: 7.492 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001929/0.5604, allocations: 327.4 kB / 0.686 GB, free: 7.148 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003982/0.5608, allocations: 365.4 kB / 0.6864 GB, free: 6.766 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001306/0.5609, allocations: 188.2 kB / 0.6865 GB, free: 6.574 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001433/0.5611, allocations: 101 kB / 0.6866 GB, free: 6.469 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.399e-05/0.5612, allocations: 188.2 kB / 0.6868 GB, free: 6.277 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.842e-05/0.5612, allocations: 101 kB / 0.6869 GB, free: 6.172 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001243/0.5625, allocations: 1.127 MB / 0.688 GB, free: 5.043 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.4e-07/0.5625, allocations: 0 / 0.688 GB, free: 5.043 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0008978/0.5634, allocations: 299.7 kB / 0.6883 GB, free: 4.75 MB / 0.4948 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 (0): * Single equations (assignments): 0 * 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.001385/0.5648, allocations: 1.107 MB / 0.6894 GB, free: 3.613 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002407/0.565, allocations: 181.6 kB / 0.6895 GB, free: 3.43 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.565, allocations: 0 / 0.6895 GB, free: 3.43 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.985e-06/0.565, allocations: 0 / 0.6895 GB, free: 3.43 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004125/0.5655, allocations: 0.537 MB / 0.6901 GB, free: 2.891 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008987/0.5664, allocations: 0.5307 MB / 0.6906 GB, free: 2.32 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003548/0.5667, allocations: 0.7604 MB / 0.6913 GB, free: 1.535 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.882e-05/0.5668, allocations: 8 kB / 0.6913 GB, free: 1.527 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.002e-05/0.5668, allocations: 59.41 kB / 0.6914 GB, free: 1.469 MB / 0.4948 GB Notification: Performance of SimCode: time 6.71e-07/0.5668, allocations: 0 / 0.6914 GB, free: 1.469 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02349/0.5903, allocations: 7.393 MB / 0.6986 GB, free: 10.32 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002759/0.5907, allocations: 233.3 kB / 0.6988 GB, free: 10.01 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.998/2.589, allocations: 5.375 kB / 0.6988 GB, free: 10 MB / 0.5105 GB (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe 2>&1)