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.InternalResistancesOneUTube.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.InternalResistancesOneUTube,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",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.415/1.415, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001303/0.001302, allocations: 175.3 kB / 326.5 MB, free: 2.27 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.018/2.018, allocations: 205.4 MB / 0.5775 GB, free: 20.25 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.0009277/0.0009278, allocations: 97.09 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003431/0.0003431, allocations: 9.562 kB / 0.7964 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2428/0.2432, allocations: 106.3 MB / 0.9002 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1958/0.439, allocations: 152.2 MB / 1.049 GB, free: 7.359 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003389/0.4394, allocations: 131.9 kB / 1.049 GB, free: 7.23 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.5546/0.994, allocations: 15.01 MB / 1.064 GB, free: 150.7 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.013e-06/0.9941, allocations: 0 / 1.064 GB, free: 150.7 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.299e-05/0.9941, allocations: 0 / 1.064 GB, free: 150.7 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.001047/0.9951, allocations: 0.5639 MB / 1.064 GB, free: 150.2 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.9952, allocations: 11.75 kB / 1.064 GB, free: 150.2 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.373e-05/0.9952, allocations: 105.8 kB / 1.064 GB, free: 150.1 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.792e-05/0.9953, allocations: 86.8 kB / 1.064 GB, free: 150 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001055/0.9954, allocations: 253.6 kB / 1.065 GB, free: 149.7 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.009e-05/0.9954, allocations: 153.6 kB / 1.065 GB, free: 149.6 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.066e-05/0.9955, allocations: 153.8 kB / 1.065 GB, free: 149.4 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.927e-05/0.9955, allocations: 109.2 kB / 1.065 GB, free: 149.3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/0.9956, allocations: 75.28 kB / 1.065 GB, free: 149.2 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.493e-05/0.9956, allocations: 150.6 kB / 1.065 GB, free: 149.1 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.668e-05/0.9956, allocations: 151.3 kB / 1.065 GB, free: 148.9 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.637e-05/0.9957, allocations: 150.6 kB / 1.066 GB, free: 148.8 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002234/0.9959, allocations: 472.3 kB / 1.066 GB, free: 148.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.012e-05/0.9959, allocations: 167.2 kB / 1.066 GB, free: 148.1 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.666e-05/0.996, allocations: 75.94 kB / 1.066 GB, free: 148 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/0.996, allocations: 113.6 kB / 1.066 GB, free: 147.9 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.996, allocations: 4 kB / 1.066 GB, free: 147.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 6.927e-05/0.9961, allocations: 35.27 kB / 1.066 GB, free: 147.9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.347e-05/0.9961, allocations: 127.2 kB / 1.066 GB, free: 147.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/0.9962, allocations: 116.5 kB / 1.067 GB, free: 147.7 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.005e-05/0.9963, allocations: 29.64 kB / 1.067 GB, free: 147.6 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.581e-05/0.9963, allocations: 90.94 kB / 1.067 GB, free: 147.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.903e-06/0.9963, allocations: 0 / 1.067 GB, free: 147.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.514e-06/0.9963, allocations: 0.6562 kB / 1.067 GB, free: 147.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.122e-05/0.9964, allocations: 323.8 kB / 1.067 GB, free: 147.2 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.2e-05/0.9964, allocations: 7.094 kB / 1.067 GB, free: 147.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.307e-05/0.9964, allocations: 3.625 kB / 1.067 GB, free: 147.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.575e-05/0.9965, allocations: 6.531 kB / 1.067 GB, free: 147.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.9965, allocations: 0 / 1.067 GB, free: 147.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001164/0.9966, allocations: 49.77 kB / 1.067 GB, free: 147.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.9966, allocations: 10.42 kB / 1.067 GB, free: 147.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.879e-05/0.9966, allocations: 6.703 kB / 1.067 GB, free: 147.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.9967, allocations: 0.8438 kB / 1.067 GB, free: 147.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.653e-06/0.9967, allocations: 2.625 kB / 1.067 GB, free: 147.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.9967, allocations: 4.062 kB / 1.067 GB, free: 147.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.989e-05/0.9967, allocations: 1.25 kB / 1.067 GB, free: 147.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.9967, allocations: 3.703 kB / 1.067 GB, free: 147.2 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 6.721e-05/0.9968, allocations: 189.5 kB / 1.067 GB, free: 147 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.357e-05/0.9968, allocations: 112.4 kB / 1.067 GB, free: 146.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.313e-05/0.9969, allocations: 109.6 kB / 1.068 GB, free: 146.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.887e-05/0.9969, allocations: 182.2 kB / 1.068 GB, free: 146.6 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.114e-05/0.9969, allocations: 185.3 kB / 1.068 GB, free: 146.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.808e-05/0.997, allocations: 183.8 kB / 1.068 GB, free: 146.2 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001532/0.9971, allocations: 414.6 kB / 1.068 GB, free: 145.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.002e-05/0.9972, allocations: 105.7 kB / 1.069 GB, free: 145.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.668e-05/0.9972, allocations: 104.3 kB / 1.069 GB, free: 145.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.708e-05/0.9972, allocations: 184.9 kB / 1.069 GB, free: 145.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.859e-05/0.9972, allocations: 180.5 kB / 1.069 GB, free: 145.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.924e-05/0.9973, allocations: 180 kB / 1.069 GB, free: 145 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.792e-05/0.9973, allocations: 184.6 kB / 1.069 GB, free: 144.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.765e-05/0.9974, allocations: 311.4 kB / 1.07 GB, free: 144.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.056e-05/0.9974, allocations: 187.6 kB / 1.07 GB, free: 144.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.902e-05/0.9975, allocations: 180.2 kB / 1.07 GB, free: 144.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.612e-05/0.9976, allocations: 105.6 kB / 1.07 GB, free: 144 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.359e-05/0.9976, allocations: 179.6 kB / 1.07 GB, free: 143.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.714e-05/0.9976, allocations: 105.5 kB / 1.07 GB, free: 143.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.305e-05/0.9977, allocations: 108.5 kB / 1.07 GB, free: 143.6 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9977, allocations: 0 / 1.07 GB, free: 143.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001188/0.9989, allocations: 318.5 kB / 1.071 GB, free: 143.6 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.001399/1, allocations: 1.213 MB / 1.072 GB, free: 142.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 8.938e-05/1, allocations: 39.27 kB / 1.072 GB, free: 142.6 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/1, allocations: 0 / 1.072 GB, free: 142.6 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.075e-06/1, allocations: 1.203 kB / 1.072 GB, free: 142.6 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002561/1.001, allocations: 0.5267 MB / 1.072 GB, free: 142.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007475/1.001, allocations: 0.5972 MB / 1.073 GB, free: 141.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001251/1.002, allocations: 0.6857 MB / 1.074 GB, free: 140.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.814e-05/1.002, allocations: 4.75 kB / 1.074 GB, free: 140.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.604e-05/1.002, allocations: 14.58 kB / 1.074 GB, free: 140.9 MB / 0.698 GB Notification: Performance of SimCode: time 2.9e-07/1.002, allocations: 3.938 kB / 1.074 GB, free: 140.9 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02515/1.027, allocations: 6.41 MB / 1.08 GB, free: 140.4 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002068/1.027, allocations: 307.5 kB / 1.08 GB, free: 140 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.826/2.853, allocations: 0 / 1.08 GB, free: 140 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.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_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)