Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="Buildings_maint_7_0_x_Buildings_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.567/1.567, allocations: 251.9 MB / 266.8 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001282/0.001282, allocations: 182.2 kB / 326.5 MB, free: 2.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.891/1.891, allocations: 205.4 MB / 0.5775 GB, free: 20.59 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009106/0.0009106, allocations: 101.8 kB / 0.6821 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003514/0.0003514, allocations: 11.62 kB / 0.7964 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2314/0.2318, allocations: 106.3 MB / 0.9002 GB, free: 64.33 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.183/0.4148, allocations: 153 MB / 1.05 GB, free: 7.156 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003194/0.4152, allocations: 123.9 kB / 1.05 GB, free: 7.035 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.483/0.8982, allocations: 15.34 MB / 1.065 GB, free: 151.1 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.385e-06/0.8983, allocations: 0.9062 kB / 1.065 GB, free: 151.1 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.62e-05/0.8983, allocations: 4.969 kB / 1.065 GB, free: 151.1 MB / 0.698 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.00132/0.8996, allocations: 0.5652 MB / 1.065 GB, free: 150.6 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.649e-05/0.8997, allocations: 9.094 kB / 1.065 GB, free: 150.6 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.844e-05/0.8997, allocations: 105.8 kB / 1.065 GB, free: 150.5 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.522e-05/0.8998, allocations: 83.84 kB / 1.065 GB, free: 150.4 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001316/0.8999, allocations: 249.7 kB / 1.066 GB, free: 150.1 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.454e-05/0.9, allocations: 156.9 kB / 1.066 GB, free: 150 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.076e-05/0.9, allocations: 154.7 kB / 1.066 GB, free: 149.8 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.259e-05/0.9001, allocations: 103.6 kB / 1.066 GB, free: 149.7 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/0.9001, allocations: 75.28 kB / 1.066 GB, free: 149.6 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.738e-05/0.9001, allocations: 151.4 kB / 1.066 GB, free: 149.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.649e-05/0.9002, allocations: 153.5 kB / 1.066 GB, free: 149.3 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.014e-05/0.9002, allocations: 155.6 kB / 1.067 GB, free: 149.2 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002515/0.9005, allocations: 467.8 kB / 1.067 GB, free: 148.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.917e-05/0.9005, allocations: 169.7 kB / 1.067 GB, free: 148.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.758e-05/0.9005, allocations: 76.78 kB / 1.067 GB, free: 148.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.9006, allocations: 114.5 kB / 1.067 GB, free: 148.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 1.503e-06/0.9006, allocations: 0 / 1.067 GB, free: 148.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 7.762e-05/0.9007, allocations: 37.47 kB / 1.067 GB, free: 148.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.644e-05/0.9007, allocations: 128.3 kB / 1.068 GB, free: 148.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/0.9008, allocations: 119.6 kB / 1.068 GB, free: 148.1 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.728e-06/0.9009, allocations: 26.41 kB / 1.068 GB, free: 148 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.113e-05/0.9009, allocations: 93.61 kB / 1.068 GB, free: 148 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.928e-06/0.9009, allocations: 0 / 1.068 GB, free: 148 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.936e-06/0.9009, allocations: 4.719 kB / 1.068 GB, free: 148 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.132e-05/0.901, allocations: 318.8 kB / 1.068 GB, free: 147.6 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.813e-05/0.901, allocations: 7.031 kB / 1.068 GB, free: 147.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.85e-05/0.9011, allocations: 4.594 kB / 1.068 GB, free: 147.6 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.975e-05/0.9011, allocations: 6.547 kB / 1.068 GB, free: 147.6 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.9011, allocations: 0 / 1.068 GB, free: 147.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001305/0.9012, allocations: 56.41 kB / 1.068 GB, free: 147.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.9013, allocations: 4.562 kB / 1.068 GB, free: 147.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.189e-05/0.9013, allocations: 3.812 kB / 1.068 GB, free: 147.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.9013, allocations: 5.625 kB / 1.068 GB, free: 147.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.32e-07/0.9013, allocations: 0 / 1.068 GB, free: 147.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.9013, allocations: 0.7812 kB / 1.068 GB, free: 147.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.785e-05/0.9014, allocations: 1.719 kB / 1.068 GB, free: 147.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.9014, allocations: 1.031 kB / 1.068 GB, free: 147.6 MB / 0.698 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 () * 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 7.475e-05/0.9015, allocations: 191.6 kB / 1.068 GB, free: 147.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.918e-05/0.9015, allocations: 112.9 kB / 1.068 GB, free: 147.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.619e-05/0.9016, allocations: 119.2 kB / 1.069 GB, free: 147.2 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.952e-05/0.9016, allocations: 178.1 kB / 1.069 GB, free: 147 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.033e-05/0.9016, allocations: 182.6 kB / 1.069 GB, free: 146.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.969e-05/0.9017, allocations: 185.3 kB / 1.069 GB, free: 146.6 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001869/0.9019, allocations: 412.9 kB / 1.069 GB, free: 146.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.869e-05/0.9019, allocations: 110 kB / 1.07 GB, free: 146.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.119e-05/0.9019, allocations: 106.3 kB / 1.07 GB, free: 146 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.888e-05/0.902, allocations: 181.8 kB / 1.07 GB, free: 145.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.097e-05/0.902, allocations: 178 kB / 1.07 GB, free: 145.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.285e-05/0.902, allocations: 182.2 kB / 1.07 GB, free: 145.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.784e-05/0.9021, allocations: 177.6 kB / 1.07 GB, free: 145.2 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.387e-05/0.9022, allocations: 318.2 kB / 1.071 GB, free: 144.9 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.05e-05/0.9022, allocations: 191 kB / 1.071 GB, free: 144.7 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.791e-05/0.9023, allocations: 185.5 kB / 1.071 GB, free: 144.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.656e-05/0.9024, allocations: 103 kB / 1.071 GB, free: 144.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.441e-05/0.9024, allocations: 177.7 kB / 1.071 GB, free: 144.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.139e-05/0.9024, allocations: 111.5 kB / 1.071 GB, free: 144.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001047/0.9026, allocations: 101 kB / 1.071 GB, free: 144 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9026, allocations: 0 / 1.071 GB, free: 144 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001651/0.9042, allocations: 335.9 kB / 1.072 GB, free: 143.9 MB / 0.698 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 () * 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.002633/0.9069, allocations: 1.204 MB / 1.073 GB, free: 143 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001175/0.907, allocations: 45.2 kB / 1.073 GB, free: 143 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.907, allocations: 0.7812 kB / 1.073 GB, free: 143 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 5.18e-06/0.907, allocations: 368 / 1.073 GB, free: 143 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00032/0.9073, allocations: 0.5316 MB / 1.074 GB, free: 142.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001419/0.9088, allocations: 0.6009 MB / 1.074 GB, free: 142 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000138/0.9089, allocations: 0.6939 MB / 1.075 GB, free: 141.3 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.791e-05/0.909, allocations: 4.5 kB / 1.075 GB, free: 141.3 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.359e-05/0.909, allocations: 18.14 kB / 1.075 GB, free: 141.3 MB / 0.698 GB Notification: Performance of SimCode: time 5.61e-07/0.909, allocations: 0 / 1.075 GB, free: 141.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02723/0.9362, allocations: 6.556 MB / 1.081 GB, free: 140.8 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002299/0.9365, allocations: 318.4 kB / 1.082 GB, free: 140.4 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.837/2.774, allocations: 0 / 1.082 GB, free: 140.4 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)