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.001172/0.001172, allocations: 104 kB / 15.6 MB, free: 148 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.001149/0.001149, allocations: 192.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.336/1.336, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7985/0.7985, allocations: 132.2 MB / 422.6 MB, free: 1.762 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 68.61 kB / 0.5019 GB, free: 3.703 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4101/0.4114, allocations: 80.19 MB / 0.5802 GB, free: 4.609 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002586/0.414, allocations: 1.434 MB / 0.5816 GB, free: 3.598 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003858/0.4179, allocations: 2.87 MB / 0.5845 GB, free: 1.629 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.263e-05/0.4179, allocations: 1.875 kB / 0.5845 GB, free: 1.629 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.833e-05/0.4179, allocations: 9.516 kB / 0.5845 GB, free: 1.621 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.312e-05/0.418, allocations: 19.92 kB / 0.5845 GB, free: 1.605 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00361/0.4216, allocations: 1.566 MB / 0.586 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.863e-05/0.4217, allocations: 49.42 kB / 0.5861 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.065e-05/0.4218, allocations: 3.422 kB / 0.5861 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.603e-05/0.4218, allocations: 21.34 kB / 0.5861 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.639e-05/0.4218, allocations: 13.09 kB / 0.5861 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.608e-06/0.4218, allocations: 5 kB / 0.5861 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002242/0.4241, allocations: 1.456 MB / 0.5875 GB, free: 352 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.793e-05/0.4241, allocations: 10.64 kB / 0.5875 GB, free: 344 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.411e-05/0.4241, allocations: 16.88 kB / 0.5875 GB, free: 336 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001734/0.4259, allocations: 1.095 MB / 0.5886 GB, free: 40 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.4259, allocations: 0.5156 kB / 0.5886 GB, free: 40 kB / 430.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.4259, allocations: 0.5938 kB / 0.5886 GB, free: 40 kB / 430.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.4259, allocations: 0 / 0.5886 GB, free: 40 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.000652/0.4266, allocations: 0.5179 MB / 0.5891 GB, free: 15.55 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.4266, allocations: 15.06 kB / 0.5891 GB, free: 15.55 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.441e-05/0.4267, allocations: 106 kB / 0.5892 GB, free: 15.43 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.354e-05/0.4268, allocations: 82.72 kB / 0.5893 GB, free: 15.36 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00015/0.4269, allocations: 254.2 kB / 0.5896 GB, free: 15.07 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.067e-05/0.427, allocations: 158.7 kB / 0.5897 GB, free: 14.92 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.82e-05/0.427, allocations: 152 kB / 0.5899 GB, free: 14.77 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.859e-05/0.4271, allocations: 109.6 kB / 0.59 GB, free: 14.66 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.328e-05/0.4271, allocations: 76.41 kB / 0.59 GB, free: 14.58 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.4e-05/0.4272, allocations: 150.6 kB / 0.5902 GB, free: 14.43 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-05/0.4272, allocations: 151.5 kB / 0.5903 GB, free: 14.29 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.626e-05/0.4273, allocations: 151.5 kB / 0.5905 GB, free: 14.14 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002768/0.4275, allocations: 469.8 kB / 0.5909 GB, free: 13.64 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.004e-05/0.4276, allocations: 175.1 kB / 0.5911 GB, free: 13.46 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.75e-05/0.4277, allocations: 80.14 kB / 0.5912 GB, free: 13.38 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.354e-05/0.4277, allocations: 80.59 kB / 0.5912 GB, free: 13.3 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.956e-05/0.4277, allocations: 106.4 kB / 0.5913 GB, free: 13.19 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.4277, allocations: 4 kB / 0.5913 GB, free: 13.19 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 7.079e-05/0.4278, allocations: 33.23 kB / 0.5914 GB, free: 13.15 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.393e-05/0.4279, allocations: 131.9 kB / 0.5915 GB, free: 13.01 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001371/0.428, allocations: 132.7 kB / 0.5916 GB, free: 12.9 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.209e-05/0.428, allocations: 25.7 kB / 0.5916 GB, free: 12.87 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.023e-05/0.4281, allocations: 92.5 kB / 0.5917 GB, free: 12.78 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.365e-06/0.4281, allocations: 0 / 0.5917 GB, free: 12.78 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.625e-05/0.4281, allocations: 20.36 kB / 0.5918 GB, free: 12.76 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.515e-05/0.4283, allocations: 319.5 kB / 0.5921 GB, free: 12.45 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.312e-05/0.4283, allocations: 7.312 kB / 0.5921 GB, free: 12.44 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.612e-05/0.4283, allocations: 3.781 kB / 0.5921 GB, free: 12.44 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.098e-05/0.4283, allocations: 19.42 kB / 0.5921 GB, free: 12.43 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.4284, allocations: 0.6094 kB / 0.5921 GB, free: 12.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001196/0.4285, allocations: 53.55 kB / 0.5921 GB, free: 12.38 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.4285, allocations: 7.812 kB / 0.5921 GB, free: 12.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.909e-05/0.4285, allocations: 7.031 kB / 0.5922 GB, free: 12.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.4285, allocations: 0.5 kB / 0.5922 GB, free: 12.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.966e-06/0.4286, allocations: 4.953 kB / 0.5922 GB, free: 12.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.439e-06/0.4286, allocations: 4.688 kB / 0.5922 GB, free: 12.37 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.297e-05/0.4286, allocations: 5.469 kB / 0.5922 GB, free: 12.37 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.4286, allocations: 0.5938 kB / 0.5922 GB, free: 12.37 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 8.38e-05/0.4287, allocations: 188.5 kB / 0.5924 GB, free: 12.18 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.561e-05/0.4288, allocations: 112.3 kB / 0.5925 GB, free: 12.06 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.475e-05/0.4288, allocations: 107.9 kB / 0.5926 GB, free: 11.95 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.789e-05/0.4289, allocations: 186.1 kB / 0.5927 GB, free: 11.77 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-05/0.4289, allocations: 181.7 kB / 0.5929 GB, free: 11.58 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.849e-05/0.429, allocations: 186.7 kB / 0.5931 GB, free: 11.39 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002233/0.4292, allocations: 417.1 kB / 0.5935 GB, free: 10.94 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.842e-05/0.4293, allocations: 103.2 kB / 0.5936 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.225e-05/0.4293, allocations: 105.6 kB / 0.5937 GB, free: 10.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.694e-05/0.4294, allocations: 182 kB / 0.5939 GB, free: 10.54 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.059e-05/0.4294, allocations: 182.7 kB / 0.594 GB, free: 10.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.136e-05/0.4295, allocations: 182 kB / 0.5942 GB, free: 10.18 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.65e-05/0.4296, allocations: 181.6 kB / 0.5944 GB, free: 9.992 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001234/0.4297, allocations: 311.2 kB / 0.5947 GB, free: 9.672 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.342e-05/0.4298, allocations: 192.3 kB / 0.5949 GB, free: 9.461 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.754e-05/0.4298, allocations: 179.3 kB / 0.595 GB, free: 9.281 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.496e-05/0.4299, allocations: 106.3 kB / 0.5951 GB, free: 9.172 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.704e-05/0.43, allocations: 182.4 kB / 0.5953 GB, free: 8.988 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.825e-05/0.43, allocations: 105.9 kB / 0.5954 GB, free: 8.879 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.196e-05/0.4301, allocations: 101.5 kB / 0.5955 GB, free: 8.797 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4301, allocations: 0 / 0.5955 GB, free: 8.797 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007875/0.4309, allocations: 278.3 kB / 0.5958 GB, free: 8.734 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.001272/0.4322, allocations: 1.17 MB / 0.5969 GB, free: 7.816 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.309e-05/0.4323, allocations: 39.77 kB / 0.597 GB, free: 7.781 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.4323, allocations: 0 / 0.597 GB, free: 7.781 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.286e-06/0.4323, allocations: 0.6875 kB / 0.597 GB, free: 7.781 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003674/0.4327, allocations: 476.8 kB / 0.5974 GB, free: 7.32 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001346/0.434, allocations: 1.583 MB / 0.599 GB, free: 5.887 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002233/0.4343, allocations: 0.6858 MB / 0.5996 GB, free: 5.188 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.563e-05/0.4343, allocations: 4.469 kB / 0.5996 GB, free: 5.184 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.563e-05/0.4343, allocations: 18.92 kB / 0.5996 GB, free: 5.168 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4343, allocations: 0 / 0.5996 GB, free: 5.168 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02759/0.4619, allocations: 7.045 MB / 0.6065 GB, free: 1.969 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.166/8.628, allocations: 11.02 kB / 0.6065 GB, free: 1.961 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/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)