Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.InternalResistancesTwoUTubeNegative,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",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.001525/0.001525, allocations: 108 kB / 15.6 MB, free: 132 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.001716/0.001716, allocations: 194.3 kB / 16.53 MB, free: 6.391 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.342/1.342, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6944/0.6944, allocations: 132.2 MB / 422.6 MB, free: 1.781 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 68.78 kB / 0.5019 GB, free: 3.695 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3412/0.3425, allocations: 80.2 MB / 0.5803 GB, free: 4.582 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002263/0.3448, allocations: 1.427 MB / 0.5816 GB, free: 3.578 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00349/0.3483, allocations: 2.872 MB / 0.5845 GB, free: 1.609 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.145e-05/0.3483, allocations: 0 / 0.5845 GB, free: 1.609 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.074e-05/0.3484, allocations: 10.14 kB / 0.5845 GB, free: 1.602 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.216e-05/0.3484, allocations: 24.06 kB / 0.5845 GB, free: 1.582 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003302/0.3517, allocations: 1.574 MB / 0.586 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.714e-05/0.3518, allocations: 44.53 kB / 0.5861 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.041e-05/0.3519, allocations: 3.766 kB / 0.5861 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.616e-05/0.3519, allocations: 16.7 kB / 0.5861 GB, free: 0.793 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.719e-05/0.3519, allocations: 13.5 kB / 0.5861 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.558e-06/0.3519, allocations: 1.125 kB / 0.5861 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002067/0.354, allocations: 1.456 MB / 0.5875 GB, free: 332 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.52e-05/0.354, allocations: 9.969 kB / 0.5875 GB, free: 324 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.89e-05/0.3541, allocations: 16.2 kB / 0.5875 GB, free: 316 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001484/0.3556, allocations: 1.096 MB / 0.5886 GB, free: 20 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.3556, allocations: 1.531 kB / 0.5886 GB, free: 20 kB / 430.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.3556, allocations: 0 / 0.5886 GB, free: 20 kB / 430.1 MB Notification: Performance of Transformations before backend: time 4.518e-06/0.3556, allocations: 0 / 0.5886 GB, free: 20 kB / 430.1 MB 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.0005861/0.3562, allocations: 0.5179 MB / 0.5891 GB, free: 15.53 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.3562, allocations: 10.03 kB / 0.5891 GB, free: 15.53 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.759e-05/0.3563, allocations: 110.6 kB / 0.5892 GB, free: 15.41 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.916e-05/0.3563, allocations: 83.19 kB / 0.5893 GB, free: 15.34 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001342/0.3565, allocations: 256.2 kB / 0.5896 GB, free: 15.05 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.914e-05/0.3565, allocations: 154.7 kB / 0.5897 GB, free: 14.9 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.013e-05/0.3566, allocations: 159.5 kB / 0.5899 GB, free: 14.75 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.022e-05/0.3567, allocations: 102.4 kB / 0.59 GB, free: 14.64 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.237e-05/0.3567, allocations: 79.28 kB / 0.59 GB, free: 14.56 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.149e-05/0.3567, allocations: 152 kB / 0.5902 GB, free: 14.41 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.09e-05/0.3568, allocations: 151.3 kB / 0.5903 GB, free: 14.27 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.795e-05/0.3568, allocations: 150.6 kB / 0.5905 GB, free: 14.12 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002557/0.3571, allocations: 462.1 kB / 0.5909 GB, free: 13.63 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.708e-05/0.3572, allocations: 178 kB / 0.5911 GB, free: 13.45 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.54e-05/0.3572, allocations: 80.67 kB / 0.5912 GB, free: 13.37 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.341e-05/0.3572, allocations: 76.62 kB / 0.5912 GB, free: 13.29 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/0.3573, allocations: 110.7 kB / 0.5913 GB, free: 13.18 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.3573, allocations: 0 / 0.5913 GB, free: 13.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 6.799e-05/0.3573, allocations: 41.72 kB / 0.5914 GB, free: 13.13 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.946e-05/0.3574, allocations: 131.1 kB / 0.5915 GB, free: 12.99 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001246/0.3575, allocations: 133.1 kB / 0.5916 GB, free: 12.88 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.108e-05/0.3575, allocations: 25.7 kB / 0.5916 GB, free: 12.85 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.449e-05/0.3576, allocations: 88.36 kB / 0.5917 GB, free: 12.77 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.714e-06/0.3576, allocations: 0 / 0.5917 GB, free: 12.77 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.292e-05/0.3576, allocations: 20.19 kB / 0.5918 GB, free: 12.75 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.571e-05/0.3577, allocations: 319.5 kB / 0.5921 GB, free: 12.43 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.253e-05/0.3578, allocations: 10.78 kB / 0.5921 GB, free: 12.42 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.603e-05/0.3578, allocations: 4.328 kB / 0.5921 GB, free: 12.42 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.779e-05/0.3578, allocations: 19.33 kB / 0.5921 GB, free: 12.41 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.3578, allocations: 1.25 kB / 0.5921 GB, free: 12.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001196/0.3579, allocations: 53.48 kB / 0.5921 GB, free: 12.36 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.358, allocations: 4.906 kB / 0.5921 GB, free: 12.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.901e-05/0.358, allocations: 3.766 kB / 0.5922 GB, free: 12.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.358, allocations: 0.6562 kB / 0.5922 GB, free: 12.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.575e-06/0.358, allocations: 4.625 kB / 0.5922 GB, free: 12.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/0.358, allocations: 5.266 kB / 0.5922 GB, free: 12.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.122e-05/0.3581, allocations: 4.875 kB / 0.5922 GB, free: 12.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.3581, allocations: 1.031 kB / 0.5922 GB, free: 12.35 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.89e-05/0.3581, allocations: 188.4 kB / 0.5923 GB, free: 12.16 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.679e-05/0.3582, allocations: 112.7 kB / 0.5925 GB, free: 12.05 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.061e-05/0.3583, allocations: 113.1 kB / 0.5926 GB, free: 11.93 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.624e-05/0.3583, allocations: 182 kB / 0.5927 GB, free: 11.75 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-05/0.3584, allocations: 186.5 kB / 0.5929 GB, free: 11.56 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-05/0.3584, allocations: 181.4 kB / 0.5931 GB, free: 11.38 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001862/0.3586, allocations: 417.6 kB / 0.5935 GB, free: 10.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.113e-05/0.3586, allocations: 105.6 kB / 0.5936 GB, free: 10.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.669e-05/0.3587, allocations: 102.7 kB / 0.5937 GB, free: 10.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.848e-05/0.3587, allocations: 186 kB / 0.5939 GB, free: 10.52 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.631e-05/0.3588, allocations: 178.2 kB / 0.594 GB, free: 10.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.614e-05/0.3588, allocations: 182.2 kB / 0.5942 GB, free: 10.16 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.432e-05/0.3589, allocations: 182.4 kB / 0.5944 GB, free: 9.977 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001086/0.359, allocations: 315 kB / 0.5947 GB, free: 9.652 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.172e-05/0.3591, allocations: 189 kB / 0.5949 GB, free: 9.445 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.772e-05/0.3591, allocations: 177.1 kB / 0.595 GB, free: 9.266 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.38e-05/0.3592, allocations: 107.5 kB / 0.5951 GB, free: 9.156 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.253e-05/0.3593, allocations: 181.9 kB / 0.5953 GB, free: 8.973 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.94e-05/0.3593, allocations: 106.6 kB / 0.5954 GB, free: 8.863 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.452e-05/0.3594, allocations: 107.8 kB / 0.5955 GB, free: 8.777 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3594, allocations: 0 / 0.5955 GB, free: 8.777 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007389/0.3601, allocations: 273.9 kB / 0.5958 GB, free: 8.719 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 (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.001229/0.3613, allocations: 1.177 MB / 0.5969 GB, free: 7.793 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.32e-05/0.3615, allocations: 44.19 kB / 0.597 GB, free: 7.754 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3615, allocations: 0 / 0.597 GB, free: 7.754 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.807e-06/0.3615, allocations: 5.672 kB / 0.597 GB, free: 7.75 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003599/0.3618, allocations: 468.9 kB / 0.5974 GB, free: 7.293 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001237/0.3631, allocations: 1.592 MB / 0.599 GB, free: 5.855 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001893/0.3633, allocations: 0.683 MB / 0.5996 GB, free: 5.16 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.186e-05/0.3633, allocations: 4.562 kB / 0.5996 GB, free: 5.156 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.2e-05/0.3633, allocations: 14.86 kB / 0.5997 GB, free: 5.145 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3633, allocations: 0 / 0.5997 GB, free: 5.145 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.165/1.528, allocations: 7.046 MB / 0.6065 GB, free: 1.945 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.444/10.97, allocations: 14.61 kB / 0.6065 GB, free: 1.934 MB / 446.1 MB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)