Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance",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.001581/0.001581, allocations: 108 kB / 15.6 MB, free: 132 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.00205/0.00205, allocations: 195.4 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.522/1.522, allocations: 205.1 MB / 222.4 MB, free: 4.609 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.811/1.811, allocations: 292.3 MB / 0.5489 GB, free: 12.84 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 73.56 kB / 0.6716 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2812/0.2826, allocations: 114.5 MB / 0.7835 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.003263/0.286, allocations: 1.294 MB / 0.7847 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005619/0.2916, allocations: 3.757 MB / 0.7884 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.529e-05/0.2917, allocations: 3.938 kB / 0.7884 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.651e-05/0.2917, allocations: 0 / 0.7884 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0007142/0.2925, allocations: 99.48 kB / 0.7885 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004591/0.293, allocations: 139.5 kB / 0.7886 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.387e-05/0.2931, allocations: 23.92 kB / 0.7887 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.195e-05/0.2931, allocations: 3.984 kB / 0.7887 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001229/0.2932, allocations: 27.86 kB / 0.7887 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001113/0.2934, allocations: 35.91 kB / 0.7887 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.356e-05/0.2934, allocations: 7.922 kB / 0.7887 GB, free: 8 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005414/0.2939, allocations: 303.6 kB / 0.789 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.602e-05/0.294, allocations: 7.938 kB / 0.789 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.054e-05/0.294, allocations: 7.984 kB / 0.789 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002919/0.2943, allocations: 120 kB / 0.7892 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.2943, allocations: 4 kB / 0.7892 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.565e-06/0.2943, allocations: 0 / 0.7892 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.563e-06/0.2943, allocations: 0 / 0.7892 GB, free: 7.566 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0005536/0.2949, allocations: 359.4 kB / 0.7895 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001052/0.295, allocations: 8.031 kB / 0.7895 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.944e-05/0.2951, allocations: 30.75 kB / 0.7895 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.277e-05/0.2952, allocations: 4.938 kB / 0.7895 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000178/0.2954, allocations: 172.2 kB / 0.7897 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.2954, allocations: 384 / 0.7897 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.376e-06/0.2954, allocations: 384 / 0.7897 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001095/0.2955, allocations: 37.62 kB / 0.7897 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.2956, allocations: 0 / 0.7897 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.838e-06/0.2956, allocations: 3.938 kB / 0.7898 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.2956, allocations: 0 / 0.7898 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.813e-05/0.2956, allocations: 8 kB / 0.7898 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000202/0.2958, allocations: 157.7 kB / 0.7899 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.901e-05/0.2959, allocations: 26.55 kB / 0.7899 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.36e-05/0.2959, allocations: 8.922 kB / 0.7899 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002765/0.2962, allocations: 101 kB / 0.79 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.842e-05/0.2963, allocations: 34.56 kB / 0.7901 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.2963, allocations: 4 kB / 0.7901 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001588/0.2964, allocations: 37.7 kB / 0.7901 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.219e-05/0.2965, allocations: 51.41 kB / 0.7902 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.891e-05/0.2966, allocations: 113.8 kB / 0.7903 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.372e-05/0.2966, allocations: 25.7 kB / 0.7903 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.802e-05/0.2967, allocations: 84.14 kB / 0.7904 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.48e-05/0.2967, allocations: 3.906 kB / 0.7904 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.684e-05/0.2967, allocations: 13.72 kB / 0.7904 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.2969, allocations: 319 kB / 0.7907 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.709e-05/0.2969, allocations: 8 kB / 0.7907 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.018e-05/0.2969, allocations: 0 / 0.7907 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.492e-05/0.2969, allocations: 12.86 kB / 0.7907 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.297, allocations: 0 / 0.7907 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.885e-05/0.297, allocations: 41.64 kB / 0.7908 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.297, allocations: 8 kB / 0.7908 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.2971, allocations: 0 / 0.7908 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.2971, allocations: 12.02 kB / 0.7908 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.558e-05/0.2971, allocations: 7.938 kB / 0.7908 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.2972, allocations: 0 / 0.7908 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.664e-05/0.2972, allocations: 0 / 0.7908 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-06/0.2972, allocations: 0 / 0.7908 GB, free: 5.656 MB / 0.6075 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 (2): * Single equations (assignments): 2 * 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 prepare postOptimizeDAE: time 6.925e-05/0.2973, allocations: 109.8 kB / 0.7909 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.27e-05/0.2973, allocations: 11.84 kB / 0.7909 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001185/0.2974, allocations: 52.81 kB / 0.7909 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.828e-06/0.2974, allocations: 4 kB / 0.791 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.2974, allocations: 0 / 0.791 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.2974, allocations: 0 / 0.791 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001067/0.2976, allocations: 153.6 kB / 0.7911 GB, free: 5.266 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.2976, allocations: 3.938 kB / 0.7911 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.619e-05/0.2976, allocations: 7.938 kB / 0.7911 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.2976, allocations: 0 / 0.7911 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.2976, allocations: 0 / 0.7911 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.2976, allocations: 0 / 0.7911 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2976, allocations: 0 / 0.7911 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.33e-05/0.2977, allocations: 73.14 kB / 0.7912 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.787e-05/0.2978, allocations: 85.05 kB / 0.7913 GB, free: 5.062 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.377e-05/0.2978, allocations: 3.984 kB / 0.7913 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.569e-05/0.2978, allocations: 4 kB / 0.7913 GB, free: 5.055 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.12e-05/0.2978, allocations: 0 / 0.7913 GB, free: 5.055 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-06/0.2978, allocations: 0 / 0.7913 GB, free: 5.055 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.941e-05/0.2979, allocations: 83.53 kB / 0.7913 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2979, allocations: 4.031 kB / 0.7914 GB, free: 4.969 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002111/0.2981, allocations: 20 kB / 0.7914 GB, free: 4.949 MB / 0.6075 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 (2): * Single equations (assignments): 2 * 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.0005509/0.2987, allocations: 0.6435 MB / 0.792 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 8.037e-05/0.2987, allocations: 8 kB / 0.792 GB, free: 4.27 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.2988, allocations: 4.094 kB / 0.792 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.508e-05/0.2988, allocations: 11.94 kB / 0.792 GB, free: 4.254 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002322/0.299, allocations: 4 kB / 0.792 GB, free: 4.25 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003747/0.2994, allocations: 165.3 kB / 0.7922 GB, free: 4.051 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002121/0.2996, allocations: 0.6768 MB / 0.7928 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.091e-05/0.2997, allocations: 12 kB / 0.7929 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.651e-05/0.2997, allocations: 7.438 kB / 0.7929 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of SimCode: time 3e-07/0.2997, allocations: 0 / 0.7929 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02024/0.3199, allocations: 1.628 MB / 0.7945 GB, free: 1.832 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.576/8.896, allocations: 10.94 kB / 0.7945 GB, free: 1.824 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance.fmu > Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1)