Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",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.001356/0.001356, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.352/1.352, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9479/0.9479, allocations: 135.1 MB / 425.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 64.22 kB / 0.5055 GB, free: 5.156 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1613/0.1627, allocations: 80.93 MB / 0.5845 GB, free: 4.379 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002643/0.1654, allocations: 1.415 MB / 0.5859 GB, free: 2.945 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004298/0.1698, allocations: 2.819 MB / 0.5887 GB, free: 120 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.37e-05/0.1698, allocations: 4 kB / 0.5887 GB, free: 116 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.586e-05/0.1699, allocations: 3.984 kB / 0.5887 GB, free: 112 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.826e-05/0.17, allocations: 15.86 kB / 0.5887 GB, free: 96 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004005/0.174, allocations: 1.548 MB / 0.5902 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.862e-05/0.1741, allocations: 51.66 kB / 0.5903 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.414e-05/0.1741, allocations: 3.938 kB / 0.5903 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.849e-05/0.1741, allocations: 11.94 kB / 0.5903 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.734e-05/0.1742, allocations: 15.92 kB / 0.5903 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.768e-06/0.1742, allocations: 0 / 0.5903 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002132/0.1763, allocations: 1.42 MB / 0.5917 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.767e-05/0.1764, allocations: 15.92 kB / 0.5917 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.064e-05/0.1764, allocations: 15.88 kB / 0.5917 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001646/0.178, allocations: 1.064 MB / 0.5927 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.1781, allocations: 0 / 0.5927 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.523e-06/0.1781, allocations: 0 / 0.5927 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.571e-06/0.1781, allocations: 3.938 kB / 0.5927 GB, free: 11.96 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0006838/0.1788, allocations: 0.5107 MB / 0.5932 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.1788, allocations: 12.73 kB / 0.5933 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.153e-05/0.1789, allocations: 110 kB / 0.5934 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.974e-05/0.179, allocations: 88.12 kB / 0.5934 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001361/0.1791, allocations: 247.5 kB / 0.5937 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.427e-05/0.1792, allocations: 158.7 kB / 0.5938 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.763e-05/0.1792, allocations: 150.6 kB / 0.594 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.775e-05/0.1793, allocations: 105 kB / 0.5941 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.659e-05/0.1793, allocations: 75.28 kB / 0.5941 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.675e-05/0.1794, allocations: 154.6 kB / 0.5943 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.256e-05/0.1794, allocations: 150.6 kB / 0.5944 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.827e-05/0.1795, allocations: 158.5 kB / 0.5946 GB, free: 9.965 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003275/0.1798, allocations: 465.9 kB / 0.595 GB, free: 9.461 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.281e-05/0.1799, allocations: 177.1 kB / 0.5952 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.091e-05/0.1799, allocations: 80.14 kB / 0.5953 GB, free: 9.195 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.774e-05/0.18, allocations: 79.28 kB / 0.5954 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.402e-05/0.18, allocations: 105.8 kB / 0.5955 GB, free: 9.004 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 1.202e-06/0.18, allocations: 3.938 kB / 0.5955 GB, free: 9 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 7.767e-05/0.1801, allocations: 37.66 kB / 0.5955 GB, free: 8.957 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.602e-05/0.1802, allocations: 130.7 kB / 0.5956 GB, free: 8.816 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001283/0.1803, allocations: 128.3 kB / 0.5957 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/0.1803, allocations: 25.7 kB / 0.5958 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.858e-05/0.1804, allocations: 96.12 kB / 0.5959 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.294e-06/0.1804, allocations: 0 / 0.5959 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.791e-05/0.1804, allocations: 13.72 kB / 0.5959 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.93e-05/0.1805, allocations: 318.8 kB / 0.5962 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.157e-05/0.1806, allocations: 0 / 0.5962 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.704e-05/0.1806, allocations: 15.98 kB / 0.5962 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.937e-05/0.1806, allocations: 16.73 kB / 0.5962 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1806, allocations: 3.938 kB / 0.5962 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001194/0.1808, allocations: 49.61 kB / 0.5963 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.1808, allocations: 4 kB / 0.5963 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.323e-05/0.1808, allocations: 7.984 kB / 0.5963 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.1808, allocations: 0 / 0.5963 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.82e-07/0.1808, allocations: 0 / 0.5963 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.1808, allocations: 0 / 0.5963 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.275e-05/0.1809, allocations: 3.938 kB / 0.5963 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-06/0.1809, allocations: 8.062 kB / 0.5963 GB, free: 8.098 MB / 0.4981 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 8.84e-05/0.181, allocations: 188.3 kB / 0.5965 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.981e-05/0.181, allocations: 112.8 kB / 0.5966 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.892e-05/0.1811, allocations: 112.8 kB / 0.5967 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.629e-05/0.1812, allocations: 188.2 kB / 0.5969 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.504e-05/0.1812, allocations: 184.2 kB / 0.597 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.248e-05/0.1813, allocations: 176.3 kB / 0.5972 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002164/0.1815, allocations: 421.1 kB / 0.5976 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.331e-05/0.1815, allocations: 105 kB / 0.5977 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.576e-05/0.1816, allocations: 101 kB / 0.5978 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.805e-05/0.1816, allocations: 180.2 kB / 0.598 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-05/0.1817, allocations: 188.3 kB / 0.5982 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.404e-05/0.1818, allocations: 180.2 kB / 0.5983 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.287e-05/0.1819, allocations: 180.3 kB / 0.5985 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001476/0.182, allocations: 311.7 kB / 0.5988 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.055e-05/0.1821, allocations: 190 kB / 0.599 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.393e-05/0.1822, allocations: 188.2 kB / 0.5992 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.694e-05/0.1823, allocations: 101 kB / 0.5992 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.016e-05/0.1824, allocations: 184.2 kB / 0.5994 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-05/0.1824, allocations: 101 kB / 0.5995 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.233e-05/0.1825, allocations: 96.98 kB / 0.5996 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1825, allocations: 0 / 0.5996 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008133/0.1833, allocations: 279.8 kB / 0.5999 GB, free: 4.188 MB / 0.4981 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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.00154/0.1848, allocations: 1.161 MB / 0.601 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001044/0.185, allocations: 41.69 kB / 0.6011 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.185, allocations: 0 / 0.6011 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.395e-06/0.185, allocations: 0 / 0.6011 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003976/0.1854, allocations: 463.7 kB / 0.6015 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001402/0.1868, allocations: 1.581 MB / 0.603 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002355/0.187, allocations: 0.6807 MB / 0.6037 GB, free: 136 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.565e-05/0.1871, allocations: 0 / 0.6037 GB, free: 136 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.167e-05/0.1871, allocations: 19.42 kB / 0.6037 GB, free: 116 kB / 0.4981 GB Notification: Performance of SimCode: time 6.02e-07/0.1871, allocations: 0 / 0.6037 GB, free: 116 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2383/0.4254, allocations: 6.833 MB / 0.6104 GB, free: 51.91 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.942/10.37, allocations: 16.14 kB / 0.6104 GB, free: 51.91 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)