Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.6992/0.6992, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008628/0.0008628, allocations: 176.7 kB / 187.2 MB, free: 11.9 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.231/1.231, allocations: 221.3 MB / 441.4 MB, free: 4.602 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008437/0.0008435, allocations: 95.33 kB / 0.5124 GB, free: 24.17 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001632/0.001632, allocations: 273.7 kB / 0.5939 GB, free: 7.961 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 2.962e-05/2.964e-05, allocations: 4 kB / 0.6836 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.362/0.362, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1268/0.4889, allocations: 130.1 MB / 0.8914 GB, free: 10.44 MB / 0.5573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003127/0.4893, allocations: 119.9 kB / 0.8915 GB, free: 10.32 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 0.04411/0.5334, allocations: 15.51 MB / 0.9067 GB, free: 10.8 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.212e-06/0.5334, allocations: 0 / 0.9067 GB, free: 10.8 MB / 0.573 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.5334, allocations: 3.938 kB / 0.9067 GB, free: 10.8 MB / 0.573 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.0007364/0.5342, allocations: 0.5527 MB / 0.9072 GB, free: 10.2 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.5342, allocations: 12.02 kB / 0.9072 GB, free: 10.19 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.25e-05/0.5343, allocations: 109.8 kB / 0.9074 GB, free: 10.07 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.529e-05/0.5343, allocations: 79.28 kB / 0.9074 GB, free: 9.992 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001396/0.5345, allocations: 258.2 kB / 0.9077 GB, free: 9.699 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.467e-05/0.5345, allocations: 150.6 kB / 0.9078 GB, free: 9.551 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.385e-05/0.5346, allocations: 154.6 kB / 0.908 GB, free: 9.398 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.386e-05/0.5347, allocations: 101 kB / 0.9081 GB, free: 9.293 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.99e-05/0.5347, allocations: 75.28 kB / 0.9081 GB, free: 9.219 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.758e-05/0.5347, allocations: 154.6 kB / 0.9083 GB, free: 9.066 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.272e-05/0.5348, allocations: 154.6 kB / 0.9084 GB, free: 8.914 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.026e-05/0.5349, allocations: 154.5 kB / 0.9086 GB, free: 8.762 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002551/0.5351, allocations: 473.8 kB / 0.909 GB, free: 8.25 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 7.554e-05/0.5352, allocations: 169.1 kB / 0.9092 GB, free: 8.074 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.613e-05/0.5352, allocations: 88.12 kB / 0.9093 GB, free: 7.984 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.474e-05/0.5353, allocations: 75.28 kB / 0.9093 GB, free: 7.91 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.714e-05/0.5353, allocations: 109.8 kB / 0.9094 GB, free: 7.793 MB / 0.573 GB Notification: Performance of pre-optimization done (n=0): time 1.172e-06/0.5353, allocations: 3.938 kB / 0.9095 GB, free: 7.789 MB / 0.573 GB Notification: Performance of matching and sorting (n=0): time 6.64e-05/0.5354, allocations: 37.61 kB / 0.9095 GB, free: 7.746 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.55e-05/0.5355, allocations: 126.7 kB / 0.9096 GB, free: 7.609 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.5356, allocations: 123.7 kB / 0.9097 GB, free: 7.48 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.056e-05/0.5356, allocations: 25.7 kB / 0.9097 GB, free: 7.449 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 4.166e-05/0.5356, allocations: 92.12 kB / 0.9098 GB, free: 7.355 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 1.423e-06/0.5356, allocations: 0 / 0.9098 GB, free: 7.355 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.325e-06/0.5356, allocations: 0 / 0.9098 GB, free: 7.355 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.5358, allocations: 314.8 kB / 0.9101 GB, free: 7.039 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.026e-05/0.5358, allocations: 4 kB / 0.9101 GB, free: 7.035 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.523e-05/0.5358, allocations: 8 kB / 0.9101 GB, free: 7.027 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.397e-05/0.5358, allocations: 8.031 kB / 0.9102 GB, free: 7.02 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.5358, allocations: 3.953 kB / 0.9102 GB, free: 7.016 MB / 0.573 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001054/0.5359, allocations: 57.53 kB / 0.9102 GB, free: 6.953 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.536, allocations: 4 kB / 0.9102 GB, free: 6.949 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.607e-05/0.536, allocations: 4 kB / 0.9102 GB, free: 6.945 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.536, allocations: 0 / 0.9102 GB, free: 6.945 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.72e-07/0.536, allocations: 0 / 0.9102 GB, free: 6.945 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.536, allocations: 0 / 0.9102 GB, free: 6.945 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.833e-05/0.536, allocations: 0 / 0.9102 GB, free: 6.945 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.5361, allocations: 4 kB / 0.9102 GB, free: 6.941 MB / 0.573 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 () * 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 7.758e-05/0.5361, allocations: 184.3 kB / 0.9104 GB, free: 6.754 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.42e-05/0.5362, allocations: 116.8 kB / 0.9105 GB, free: 6.633 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.858e-05/0.5362, allocations: 108.8 kB / 0.9106 GB, free: 6.52 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.708e-05/0.5363, allocations: 188.2 kB / 0.9108 GB, free: 6.328 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.973e-05/0.5364, allocations: 180.2 kB / 0.911 GB, free: 6.145 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.582e-05/0.5364, allocations: 180.3 kB / 0.9111 GB, free: 5.961 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001993/0.5366, allocations: 417.2 kB / 0.9115 GB, free: 5.496 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.519e-05/0.5367, allocations: 104.9 kB / 0.9116 GB, free: 5.387 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.009e-05/0.5367, allocations: 104.9 kB / 0.9117 GB, free: 5.277 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.358e-05/0.5368, allocations: 180.2 kB / 0.9119 GB, free: 5.094 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.769e-05/0.5368, allocations: 184.3 kB / 0.9121 GB, free: 4.906 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.026e-05/0.5369, allocations: 188.2 kB / 0.9123 GB, free: 4.715 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.519e-05/0.5369, allocations: 176.3 kB / 0.9124 GB, free: 4.535 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000114/0.5371, allocations: 311.7 kB / 0.9127 GB, free: 4.207 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.963e-05/0.5371, allocations: 191.1 kB / 0.9129 GB, free: 3.996 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.373e-05/0.5372, allocations: 192.2 kB / 0.9131 GB, free: 3.801 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.319e-05/0.5373, allocations: 105 kB / 0.9132 GB, free: 3.691 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.14e-05/0.5374, allocations: 176.3 kB / 0.9134 GB, free: 3.512 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.868e-05/0.5374, allocations: 108.9 kB / 0.9135 GB, free: 3.398 MB / 0.573 GB Notification: Performance of sorting global known variables: time 5.254e-05/0.5375, allocations: 104.8 kB / 0.9136 GB, free: 3.297 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5375, allocations: 0 / 0.9136 GB, free: 3.297 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0007813/0.5383, allocations: 327.4 kB / 0.9139 GB, free: 2.977 MB / 0.573 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 () * 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.001225/0.5395, allocations: 1.207 MB / 0.9151 GB, free: 1.75 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 8.454e-05/0.5396, allocations: 45.7 kB / 0.9151 GB, free: 1.699 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.522e-06/0.5396, allocations: 0 / 0.9151 GB, free: 1.699 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 4.208e-06/0.5396, allocations: 8 kB / 0.9151 GB, free: 1.691 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000275/0.5399, allocations: 0.5263 MB / 0.9156 GB, free: 1.16 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004667/0.5404, allocations: 349.3 kB / 0.916 GB, free: 0.7812 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002158/0.5406, allocations: 0.6848 MB / 0.9166 GB, free: 72 kB / 0.573 GB Notification: Performance of simCode: alias equations: time 1.175e-05/0.5406, allocations: 4 kB / 0.9166 GB, free: 68 kB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.102e-05/0.5406, allocations: 15.44 kB / 0.9166 GB, free: 52 kB / 0.573 GB Notification: Performance of SimCode: time 2.31e-07/0.5406, allocations: 3.938 kB / 0.9166 GB, free: 48 kB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3075/0.8481, allocations: 6.603 MB / 0.9231 GB, free: 137.8 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001602/0.8483, allocations: 278.3 kB / 0.9234 GB, free: 137.5 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.619/2.468, allocations: 0 / 0.9234 GB, free: 137.5 MB / 0.573 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)