Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,fileNamePrefix="BuildingSystems_BuildingSystems_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006838/0.006838, allocations: 99.91 kB / 15.73 MB, free: 6.492 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.001328/0.001328, allocations: 201.5 kB / 16.68 MB, free: 6.375 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.365/1.365, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002434/0.002434, allocations: 274.2 kB / 290.8 MB, free: 1.93 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9919/0.9919, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002639/0.002639, allocations: 99.84 kB / 0.681 GB, free: 15.91 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1583/0.1609, allocations: 86.97 MB / 0.766 GB, free: 8.859 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.002542/0.1635, allocations: 1.365 MB / 0.7673 GB, free: 7.484 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003009/0.1666, allocations: 1.793 MB / 0.7691 GB, free: 5.68 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.472e-05/0.1666, allocations: 0 / 0.7691 GB, free: 5.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 8.36e-05/0.1667, allocations: 11.92 kB / 0.7691 GB, free: 5.668 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001575/0.1669, allocations: 43.81 kB / 0.7691 GB, free: 5.625 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002684/0.1696, allocations: 1.135 MB / 0.7702 GB, free: 4.508 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001105/0.1697, allocations: 55.72 kB / 0.7703 GB, free: 4.453 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.274e-05/0.1697, allocations: 0 / 0.7703 GB, free: 4.453 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.769e-05/0.1698, allocations: 31.91 kB / 0.7703 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.593e-05/0.1699, allocations: 31.84 kB / 0.7703 GB, free: 4.391 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.273e-05/0.1699, allocations: 4 kB / 0.7703 GB, free: 4.387 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001214/0.1711, allocations: 0.8813 MB / 0.7712 GB, free: 3.504 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.396e-05/0.1712, allocations: 67.81 kB / 0.7713 GB, free: 3.438 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.545e-05/0.1713, allocations: 75.34 kB / 0.7713 GB, free: 3.363 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001038/0.1724, allocations: 0.8766 MB / 0.7722 GB, free: 2.484 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.1724, allocations: 0 / 0.7722 GB, free: 2.484 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1724, allocations: 0 / 0.7722 GB, free: 2.484 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.1724, allocations: 3.938 kB / 0.7722 GB, free: 2.48 MB / 0.5606 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.0007176/0.1731, allocations: 0.6062 MB / 0.7728 GB, free: 1.824 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.1731, allocations: 8.031 kB / 0.7728 GB, free: 1.816 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.906e-05/0.1732, allocations: 42.75 kB / 0.7728 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.013e-05/0.1732, allocations: 24.75 kB / 0.7729 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002119/0.1735, allocations: 230.9 kB / 0.7731 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.965e-06/0.1735, allocations: 384 / 0.7731 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.001e-05/0.1735, allocations: 384 / 0.7731 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001546/0.1736, allocations: 109.6 kB / 0.7732 GB, free: 1.367 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.272e-06/0.1737, allocations: 0 / 0.7732 GB, free: 1.367 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.342e-06/0.1737, allocations: 4 kB / 0.7732 GB, free: 1.363 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.187e-06/0.1737, allocations: 0 / 0.7732 GB, free: 1.363 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.306e-05/0.1738, allocations: 79.89 kB / 0.7733 GB, free: 1.285 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000288/0.1741, allocations: 277.9 kB / 0.7735 GB, free: 0.9648 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001251/0.1742, allocations: 118.5 kB / 0.7736 GB, free: 0.8398 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000107/0.1743, allocations: 104.9 kB / 0.7737 GB, free: 0.7344 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.393e-05/0.1743, allocations: 3.938 kB / 0.7738 GB, free: 0.7305 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/0.1744, allocations: 42.56 kB / 0.7738 GB, free: 0.6797 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=32): time 1.002e-06/0.1744, allocations: 0 / 0.7738 GB, free: 0.6797 MB / 0.5606 GB Notification: Performance of matching and sorting (n=32): time 0.0004064/0.1748, allocations: 339.7 kB / 0.7741 GB, free: 352 kB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.178e-05/0.1748, allocations: 51.41 kB / 0.7742 GB, free: 288 kB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000257/0.1751, allocations: 253 kB / 0.7744 GB, free: 28 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.2982/0.4733, allocations: 25.7 kB / 0.7744 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.257e-05/0.4734, allocations: 127.7 kB / 0.7746 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001099/0.4735, allocations: 104.3 kB / 0.7747 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.038e-05/0.4736, allocations: 30.25 kB / 0.7747 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.236e-05/0.4737, allocations: 341.2 kB / 0.775 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001179/0.4738, allocations: 76.55 kB / 0.7751 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001156/0.4739, allocations: 73.78 kB / 0.7751 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002708/0.4742, allocations: 202.2 kB / 0.7753 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.4742, allocations: 1.094 kB / 0.7753 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0003268/0.4745, allocations: 228.2 kB / 0.7756 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.4746, allocations: 5.812 kB / 0.7756 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.748e-05/0.4746, allocations: 5.281 kB / 0.7756 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/0.4746, allocations: 0.75 kB / 0.7756 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.153e-06/0.4746, allocations: 5.094 kB / 0.7756 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.4746, allocations: 1.719 kB / 0.7756 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.049e-05/0.4747, allocations: 11.33 kB / 0.7756 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.204e-06/0.4747, allocations: 3.281 kB / 0.7756 GB, free: 14.36 MB / 0.5606 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 () * 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 0.0001093/0.4748, allocations: 158.8 kB / 0.7757 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.335e-05/0.4749, allocations: 25.3 kB / 0.7758 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002864/0.4751, allocations: 252.5 kB / 0.776 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.249e-06/0.4752, allocations: 5.625 kB / 0.776 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.4752, allocations: 1.828 kB / 0.776 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.4752, allocations: 1.547 kB / 0.776 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001773/0.4754, allocations: 280.9 kB / 0.7763 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.4754, allocations: 1.75 kB / 0.7763 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.31e-07/0.4754, allocations: 4.625 kB / 0.7763 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.4754, allocations: 1.703 kB / 0.7763 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.49e-06/0.4754, allocations: 1.375 kB / 0.7763 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.4754, allocations: 4.719 kB / 0.7763 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4754, allocations: 2.719 kB / 0.7763 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002297/0.4756, allocations: 266 kB / 0.7766 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.834e-05/0.4757, allocations: 104.1 kB / 0.7767 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.039e-05/0.4757, allocations: 1.625 kB / 0.7767 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.043e-05/0.4758, allocations: 9.5 kB / 0.7767 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.108e-05/0.4758, allocations: 4.938 kB / 0.7767 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.4758, allocations: 1.688 kB / 0.7767 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001525/0.4759, allocations: 188.8 kB / 0.7769 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4759, allocations: 2.062 kB / 0.7769 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007112/0.4767, allocations: 214.3 kB / 0.7771 GB, free: 13.7 MB / 0.5606 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 () * 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.001037/0.4777, allocations: 1.032 MB / 0.7781 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002961/0.478, allocations: 263.2 kB / 0.7783 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.478, allocations: 0 / 0.7783 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001459/0.4782, allocations: 181.3 kB / 0.7785 GB, free: 13 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002779/0.4785, allocations: 23.27 kB / 0.7785 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002283/0.4808, allocations: 2.575 MB / 0.781 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002179/0.481, allocations: 0.7677 MB / 0.7818 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.913e-05/0.481, allocations: 2.953 kB / 0.7818 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.164e-05/0.4811, allocations: 55.95 kB / 0.7818 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of SimCode: time 6.01e-07/0.4811, allocations: 7.031 kB / 0.7818 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02969/0.5108, allocations: 7.738 MB / 0.7894 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.07/10.58, allocations: 8.406 kB / 0.7894 GB, free: 10.08 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe 2>&1)