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.001024/0.001025, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001059/0.001059, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.343/1.343, allocations: 223.2 MB / 240 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7337/0.7337, allocations: 132.3 MB / 423.4 MB, free: 2.016 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000302/0.0003022, allocations: 12.2 kB / 0.5035 GB, free: 4.051 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4003/0.4006, allocations: 81.58 MB / 0.5832 GB, free: 4.004 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.001384/0.4021, allocations: 1.139 MB / 0.5843 GB, free: 3.168 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003518/0.4056, allocations: 2.648 MB / 0.5869 GB, free: 1.352 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.669e-05/0.4057, allocations: 1 kB / 0.5869 GB, free: 1.352 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.027e-05/0.4057, allocations: 5.484 kB / 0.5869 GB, free: 1.348 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.898e-05/0.4058, allocations: 11.95 kB / 0.5869 GB, free: 1.34 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003202/0.409, allocations: 1.243 MB / 0.5881 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.255e-05/0.409, allocations: 44.5 kB / 0.5882 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.903e-05/0.4091, allocations: 2.578 kB / 0.5882 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.902e-05/0.4091, allocations: 12.09 kB / 0.5882 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.331e-05/0.4092, allocations: 17.38 kB / 0.5882 GB, free: 0.668 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.022e-05/0.4092, allocations: 2.281 kB / 0.5882 GB, free: 0.668 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002259/0.4115, allocations: 1.244 MB / 0.5894 GB, free: 332 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.448e-05/0.4115, allocations: 14.3 kB / 0.5894 GB, free: 320 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.671e-05/0.4115, allocations: 33.64 kB / 0.5895 GB, free: 284 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001102/0.4126, allocations: 0.6939 MB / 0.5902 GB, free: 148 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.4126, allocations: 0.7031 kB / 0.5902 GB, free: 148 kB / 430.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4126, allocations: 0.9688 kB / 0.5902 GB, free: 148 kB / 430.1 MB Notification: Performance of Transformations before backend: time 7.594e-06/0.4127, allocations: 0 / 0.5902 GB, free: 148 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.0006019/0.4133, allocations: 0.5118 MB / 0.5907 GB, free: 15.66 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.4133, allocations: 9.625 kB / 0.5907 GB, free: 15.66 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.512e-05/0.4134, allocations: 105.8 kB / 0.5908 GB, free: 15.55 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.188e-05/0.4134, allocations: 91.03 kB / 0.5909 GB, free: 15.46 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001474/0.4136, allocations: 251.6 kB / 0.5911 GB, free: 15.18 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.95e-05/0.4136, allocations: 151.3 kB / 0.5912 GB, free: 15.03 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.888e-05/0.4137, allocations: 159.8 kB / 0.5914 GB, free: 14.88 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.544e-05/0.4138, allocations: 102.3 kB / 0.5915 GB, free: 14.77 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.808e-05/0.4138, allocations: 75.94 kB / 0.5916 GB, free: 14.7 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.393e-05/0.4139, allocations: 154.6 kB / 0.5917 GB, free: 14.54 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.462e-05/0.4139, allocations: 154.5 kB / 0.5919 GB, free: 14.39 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.239e-05/0.414, allocations: 155.7 kB / 0.592 GB, free: 14.24 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002779/0.4142, allocations: 462.8 kB / 0.5924 GB, free: 13.75 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.786e-05/0.4143, allocations: 173.7 kB / 0.5926 GB, free: 13.57 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.149e-05/0.4143, allocations: 81.52 kB / 0.5927 GB, free: 13.49 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.323e-05/0.4144, allocations: 75.8 kB / 0.5928 GB, free: 13.42 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.957e-05/0.4144, allocations: 112 kB / 0.5929 GB, free: 13.3 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 8.12e-07/0.4144, allocations: 0 / 0.5929 GB, free: 13.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 8.287e-05/0.4145, allocations: 40.62 kB / 0.5929 GB, free: 13.26 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.939e-05/0.4146, allocations: 130.7 kB / 0.593 GB, free: 13.12 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001324/0.4147, allocations: 130.3 kB / 0.5932 GB, free: 13.01 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.314e-05/0.4147, allocations: 29.7 kB / 0.5932 GB, free: 12.98 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.412e-05/0.4148, allocations: 89.3 kB / 0.5933 GB, free: 12.89 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.793e-06/0.4148, allocations: 0 / 0.5933 GB, free: 12.89 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.706e-06/0.4148, allocations: 0.9375 kB / 0.5933 GB, free: 12.89 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.886e-05/0.4149, allocations: 322.6 kB / 0.5936 GB, free: 12.57 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.139e-05/0.4149, allocations: 3.5 kB / 0.5936 GB, free: 12.57 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.747e-05/0.415, allocations: 11.45 kB / 0.5936 GB, free: 12.56 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.515e-05/0.415, allocations: 5.125 kB / 0.5936 GB, free: 12.56 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.415, allocations: 0 / 0.5936 GB, free: 12.56 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001214/0.4151, allocations: 50.84 kB / 0.5936 GB, free: 12.52 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.4151, allocations: 5.062 kB / 0.5936 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.872e-05/0.4152, allocations: 7.266 kB / 0.5937 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.4152, allocations: 8.844 kB / 0.5937 GB, free: 12.51 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.082e-06/0.4152, allocations: 0 / 0.5937 GB, free: 12.51 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.4152, allocations: 5.531 kB / 0.5937 GB, free: 12.51 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.077e-05/0.4152, allocations: 0.75 kB / 0.5937 GB, free: 12.51 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-06/0.4152, allocations: 5.438 kB / 0.5937 GB, free: 12.5 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 8.423e-05/0.4153, allocations: 191.9 kB / 0.5939 GB, free: 12.31 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.602e-05/0.4154, allocations: 108.4 kB / 0.594 GB, free: 12.2 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.344e-05/0.4154, allocations: 117.3 kB / 0.5941 GB, free: 12.08 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-05/0.4155, allocations: 178.1 kB / 0.5942 GB, free: 11.9 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.634e-05/0.4156, allocations: 177.7 kB / 0.5944 GB, free: 11.72 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.369e-05/0.4156, allocations: 190 kB / 0.5946 GB, free: 11.53 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002081/0.4158, allocations: 412.9 kB / 0.595 GB, free: 11.08 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.614e-05/0.4159, allocations: 106.8 kB / 0.5951 GB, free: 10.97 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.588e-05/0.4159, allocations: 106.4 kB / 0.5952 GB, free: 10.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.96e-05/0.416, allocations: 178.3 kB / 0.5954 GB, free: 10.68 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.729e-05/0.416, allocations: 190.3 kB / 0.5955 GB, free: 10.49 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.126e-05/0.4161, allocations: 177.5 kB / 0.5957 GB, free: 10.31 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.522e-05/0.4162, allocations: 181.4 kB / 0.5959 GB, free: 10.13 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001143/0.4163, allocations: 310.8 kB / 0.5962 GB, free: 9.809 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.485e-05/0.4164, allocations: 198.5 kB / 0.5964 GB, free: 9.594 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.912e-05/0.4164, allocations: 177.7 kB / 0.5965 GB, free: 9.414 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.871e-05/0.4165, allocations: 106.5 kB / 0.5966 GB, free: 9.305 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.037e-05/0.4166, allocations: 178.5 kB / 0.5968 GB, free: 9.125 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.824e-05/0.4166, allocations: 101.7 kB / 0.5969 GB, free: 9.02 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.433e-05/0.4167, allocations: 100.9 kB / 0.597 GB, free: 8.938 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4167, allocations: 4.875 kB / 0.597 GB, free: 8.934 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009967/0.4177, allocations: 280.9 kB / 0.5973 GB, free: 8.867 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.001232/0.4189, allocations: 1.13 MB / 0.5984 GB, free: 7.961 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.54e-05/0.419, allocations: 43 kB / 0.5984 GB, free: 7.922 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.4191, allocations: 0 / 0.5984 GB, free: 7.922 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.156e-06/0.4191, allocations: 8.938 kB / 0.5984 GB, free: 7.914 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003965/0.4195, allocations: 0.5249 MB / 0.5989 GB, free: 7.391 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009409/0.4204, allocations: 0.6952 MB / 0.5996 GB, free: 6.863 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002259/0.4207, allocations: 0.6824 MB / 0.6003 GB, free: 6.168 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.566e-05/0.4207, allocations: 1.125 kB / 0.6003 GB, free: 6.168 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.459e-05/0.4207, allocations: 14.03 kB / 0.6003 GB, free: 6.156 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4207, allocations: 4.656 kB / 0.6003 GB, free: 6.152 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01979/0.4405, allocations: 6.839 MB / 0.607 GB, free: 3.383 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002/0.4408, allocations: 271.1 kB / 0.6072 GB, free: 3.023 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.948/2.388, allocations: 4 kB / 0.6072 GB, free: 3.02 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/linux/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) Environment - environmentSimulation: