Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.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.InternalResistancesTwoUTube,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",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.001453/0.001453, allocations: 99.78 kB / 15.05 MB, free: 1.105 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.002192/0.002192, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.422/2.422, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.359/1.359, allocations: 132.2 MB / 423.2 MB, free: 2.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005776/0.0005777, allocations: 12 kB / 0.5034 GB, free: 4.129 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6873/0.6879, allocations: 81.57 MB / 0.583 GB, free: 4.039 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002593/0.6906, allocations: 1.115 MB / 0.5841 GB, free: 3.223 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006847/0.6974, allocations: 2.575 MB / 0.5866 GB, free: 1.469 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001092/0.6976, allocations: 4 kB / 0.5866 GB, free: 1.465 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.435e-05/0.6977, allocations: 5.953 kB / 0.5866 GB, free: 1.461 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001464/0.6978, allocations: 15.86 kB / 0.5867 GB, free: 1.449 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007017/0.7049, allocations: 1.226 MB / 0.5879 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001631/0.7051, allocations: 39.92 kB / 0.5879 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.377e-05/0.7051, allocations: 2.453 kB / 0.5879 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.143e-05/0.7052, allocations: 9.125 kB / 0.5879 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.408e-05/0.7053, allocations: 17.58 kB / 0.5879 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.706e-05/0.7053, allocations: 0.9375 kB / 0.5879 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005133/0.7104, allocations: 1.194 MB / 0.5891 GB, free: 468 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.455e-05/0.7105, allocations: 2.297 kB / 0.5891 GB, free: 468 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.47e-05/0.7106, allocations: 34.73 kB / 0.5891 GB, free: 432 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002768/0.7134, allocations: 0.718 MB / 0.5898 GB, free: 284 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.7134, allocations: 4 kB / 0.5898 GB, free: 280 kB / 430.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.7134, allocations: 0 / 0.5898 GB, free: 280 kB / 430.1 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.7134, allocations: 0 / 0.5898 GB, free: 280 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.001334/0.7148, allocations: 0.5124 MB / 0.5903 GB, free: 15.79 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.216e-05/0.7148, allocations: 9.344 kB / 0.5903 GB, free: 15.79 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.072e-05/0.7149, allocations: 107.4 kB / 0.5904 GB, free: 15.68 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001258/0.7151, allocations: 85.36 kB / 0.5905 GB, free: 15.59 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002659/0.7153, allocations: 252.4 kB / 0.5908 GB, free: 15.31 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.186e-05/0.7155, allocations: 155.2 kB / 0.5909 GB, free: 15.16 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.62e-05/0.7156, allocations: 151.1 kB / 0.5911 GB, free: 15.01 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001003/0.7157, allocations: 106.5 kB / 0.5912 GB, free: 14.9 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.104e-05/0.7157, allocations: 75.28 kB / 0.5912 GB, free: 14.83 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.01e-05/0.7158, allocations: 156.2 kB / 0.5914 GB, free: 14.68 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001107/0.716, allocations: 158.5 kB / 0.5915 GB, free: 14.52 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.52e-05/0.7161, allocations: 151.7 kB / 0.5917 GB, free: 14.37 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004724/0.7166, allocations: 462.8 kB / 0.5921 GB, free: 13.89 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001234/0.7167, allocations: 169.8 kB / 0.5923 GB, free: 13.71 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.362e-05/0.7168, allocations: 75.28 kB / 0.5923 GB, free: 13.64 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.686e-05/0.7168, allocations: 111.7 kB / 0.5925 GB, free: 13.52 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 2.004e-06/0.7169, allocations: 0 / 0.5925 GB, free: 13.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001225/0.717, allocations: 37.45 kB / 0.5925 GB, free: 13.48 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.959e-05/0.7171, allocations: 127.4 kB / 0.5926 GB, free: 13.34 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002275/0.7173, allocations: 141.9 kB / 0.5927 GB, free: 13.23 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.427e-05/0.7174, allocations: 25.7 kB / 0.5928 GB, free: 13.2 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.7175, allocations: 93.11 kB / 0.5929 GB, free: 13.11 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.266e-06/0.7175, allocations: 4 kB / 0.5929 GB, free: 13.1 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.957e-06/0.7175, allocations: 0 / 0.5929 GB, free: 13.1 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.7177, allocations: 318.9 kB / 0.5932 GB, free: 12.79 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.188e-05/0.7178, allocations: 7.469 kB / 0.5932 GB, free: 12.78 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.073e-05/0.7178, allocations: 8.359 kB / 0.5932 GB, free: 12.78 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.151e-05/0.7179, allocations: 8.625 kB / 0.5932 GB, free: 12.77 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.7179, allocations: 0 / 0.5932 GB, free: 12.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002015/0.7181, allocations: 49.62 kB / 0.5932 GB, free: 12.73 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.7182, allocations: 6.188 kB / 0.5932 GB, free: 12.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.184e-05/0.7182, allocations: 7.031 kB / 0.5932 GB, free: 12.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.7182, allocations: 1.922 kB / 0.5932 GB, free: 12.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.734e-06/0.7182, allocations: 0 / 0.5932 GB, free: 12.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.7183, allocations: 0 / 0.5932 GB, free: 12.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.402e-05/0.7183, allocations: 1.672 kB / 0.5933 GB, free: 12.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.721e-05/0.7184, allocations: 5.766 kB / 0.5933 GB, free: 12.73 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001596/0.7185, allocations: 184.8 kB / 0.5934 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000122/0.7187, allocations: 120.3 kB / 0.5935 GB, free: 12.42 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.721e-05/0.7188, allocations: 117.6 kB / 0.5937 GB, free: 12.3 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001042/0.7189, allocations: 182.4 kB / 0.5938 GB, free: 12.12 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001082/0.719, allocations: 176.9 kB / 0.594 GB, free: 11.94 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.128e-05/0.7191, allocations: 178.5 kB / 0.5942 GB, free: 11.76 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004127/0.7195, allocations: 420.3 kB / 0.5946 GB, free: 11.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.205e-05/0.7196, allocations: 107.4 kB / 0.5947 GB, free: 11.19 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.083e-05/0.7197, allocations: 106.5 kB / 0.5948 GB, free: 11.08 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.897e-05/0.7198, allocations: 177.5 kB / 0.5949 GB, free: 10.9 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001223/0.7199, allocations: 178.6 kB / 0.5951 GB, free: 10.72 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001023/0.7201, allocations: 182.2 kB / 0.5953 GB, free: 10.54 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001019/0.7202, allocations: 180.8 kB / 0.5955 GB, free: 10.36 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000243/0.7204, allocations: 315 kB / 0.5958 GB, free: 10.03 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001275/0.7206, allocations: 185.4 kB / 0.5959 GB, free: 9.828 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000129/0.7207, allocations: 186.8 kB / 0.5961 GB, free: 9.641 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001573/0.7209, allocations: 107 kB / 0.5962 GB, free: 9.531 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001147/0.721, allocations: 185.1 kB / 0.5964 GB, free: 9.344 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.427e-05/0.7211, allocations: 107.1 kB / 0.5965 GB, free: 9.234 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000119/0.7212, allocations: 103.4 kB / 0.5966 GB, free: 9.152 MB / 446.1 MB Notification: Performance of sort global known variables: time 5.01e-07/0.7212, allocations: 0 / 0.5966 GB, free: 9.152 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001955/0.7232, allocations: 276.3 kB / 0.5969 GB, free: 9.09 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 (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.002933/0.7262, allocations: 1.134 MB / 0.598 GB, free: 8.176 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001488/0.7263, allocations: 39.14 kB / 0.598 GB, free: 8.141 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.7264, allocations: 0 / 0.598 GB, free: 8.141 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.882e-06/0.7264, allocations: 1.344 kB / 0.598 GB, free: 8.141 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006012/0.727, allocations: 0.5303 MB / 0.5985 GB, free: 7.609 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001629/0.7286, allocations: 0.5586 MB / 0.5991 GB, free: 7.129 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004057/0.7291, allocations: 0.6895 MB / 0.5997 GB, free: 6.43 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.862e-05/0.7291, allocations: 1.828 kB / 0.5997 GB, free: 6.43 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.706e-05/0.7292, allocations: 13.95 kB / 0.5998 GB, free: 6.418 MB / 446.1 MB Notification: Performance of SimCode: time 6.51e-07/0.7292, allocations: 0 / 0.5998 GB, free: 6.418 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04694/0.7761, allocations: 6.763 MB / 0.6064 GB, free: 3.695 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005877/0.7768, allocations: 256.3 kB / 0.6066 GB, free: 3.363 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.955/3.732, allocations: 0 / 0.6066 GB, free: 3.363 MB / 446.1 MB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) Environment - environmentSimulation: