Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.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.Boreholes.BaseClasses.Examples.ConvectionResistance,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,fileNamePrefix="Buildings_maint_7_0_x_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.376/1.376, allocations: 251.9 MB / 266.9 MB, free: 11.07 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.001098/0.001098, allocations: 190.9 kB / 326.5 MB, free: 2.246 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.804/1.804, allocations: 205.4 MB / 0.5775 GB, free: 20.22 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.0008609/0.0008609, allocations: 88.5 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003355/0.0003355, allocations: 8.812 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2414/0.2417, allocations: 106.3 MB / 0.9002 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9383/1.18, allocations: 361.8 MB / 1.254 GB, free: 4.82 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002959/1.18, allocations: 95.31 kB / 1.254 GB, free: 4.766 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 0.03847/1.219, allocations: 16.08 MB / 1.269 GB, free: 7.902 MB / 0.7761 GB Notification: Performance of FrontEnd: time 3.997e-06/1.219, allocations: 4 kB / 1.269 GB, free: 7.898 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 8.626e-06/1.219, allocations: 0 / 1.269 GB, free: 7.898 MB / 0.7761 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.0004617/1.219, allocations: 386.6 kB / 1.27 GB, free: 7.477 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.402e-05/1.22, allocations: 12.03 kB / 1.27 GB, free: 7.465 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.184e-05/1.22, allocations: 34.56 kB / 1.27 GB, free: 7.422 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.015e-05/1.22, allocations: 7.938 kB / 1.27 GB, free: 7.414 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/1.22, allocations: 175 kB / 1.27 GB, free: 7.203 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.847e-06/1.22, allocations: 0 / 1.27 GB, free: 7.203 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.059e-05/1.22, allocations: 0 / 1.27 GB, free: 7.203 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001037/1.22, allocations: 33.77 kB / 1.27 GB, free: 7.164 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.752e-06/1.22, allocations: 0 / 1.27 GB, free: 7.164 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/1.22, allocations: 3.562 kB / 1.27 GB, free: 7.164 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/1.22, allocations: 3.938 kB / 1.27 GB, free: 7.16 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.841e-05/1.22, allocations: 7.984 kB / 1.27 GB, free: 7.152 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001931/1.22, allocations: 153.2 kB / 1.27 GB, free: 6.957 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.431e-05/1.22, allocations: 30.59 kB / 1.27 GB, free: 6.918 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002483/1.221, allocations: 100.7 kB / 1.27 GB, free: 6.805 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.947e-05/1.221, allocations: 30.56 kB / 1.27 GB, free: 6.766 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/1.221, allocations: 0 / 1.27 GB, free: 6.766 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001697/1.221, allocations: 49.19 kB / 1.27 GB, free: 6.715 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.071e-05/1.221, allocations: 51.41 kB / 1.27 GB, free: 6.652 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.061e-05/1.221, allocations: 93.06 kB / 1.27 GB, free: 6.555 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/1.221, allocations: 29.7 kB / 1.27 GB, free: 6.52 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.777e-05/1.221, allocations: 87.58 kB / 1.271 GB, free: 6.434 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.714e-05/1.221, allocations: 7.891 kB / 1.271 GB, free: 6.426 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-06/1.221, allocations: 0 / 1.271 GB, free: 6.426 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001322/1.221, allocations: 314.8 kB / 1.271 GB, free: 6.109 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.447e-05/1.221, allocations: 7.25 kB / 1.271 GB, free: 6.105 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.257e-06/1.221, allocations: 0 / 1.271 GB, free: 6.105 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.962e-05/1.221, allocations: 4 kB / 1.271 GB, free: 6.102 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/1.221, allocations: 4.062 kB / 1.271 GB, free: 6.098 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.278e-05/1.221, allocations: 48.94 kB / 1.271 GB, free: 6.047 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.273e-05/1.221, allocations: 8 kB / 1.271 GB, free: 6.039 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/1.221, allocations: 0 / 1.271 GB, free: 6.039 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/1.221, allocations: 0 / 1.271 GB, free: 6.039 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.601e-05/1.221, allocations: 4 kB / 1.271 GB, free: 6.035 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/1.221, allocations: 0 / 1.271 GB, free: 6.035 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.789e-05/1.221, allocations: 0 / 1.271 GB, free: 6.035 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-06/1.221, allocations: 0 / 1.271 GB, free: 6.035 MB / 0.7761 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.239e-05/1.222, allocations: 117.8 kB / 1.271 GB, free: 5.91 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.417e-06/1.222, allocations: 0 / 1.271 GB, free: 5.91 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001274/1.222, allocations: 55.88 kB / 1.271 GB, free: 5.859 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/1.222, allocations: 0 / 1.271 GB, free: 5.859 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/1.222, allocations: 0 / 1.271 GB, free: 5.859 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/1.222, allocations: 0 / 1.271 GB, free: 5.859 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001186/1.222, allocations: 157.5 kB / 1.271 GB, free: 5.656 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/1.222, allocations: 0 / 1.271 GB, free: 5.656 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.464e-05/1.222, allocations: 4 kB / 1.271 GB, free: 5.652 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/1.222, allocations: 4.031 kB / 1.271 GB, free: 5.648 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.856e-06/1.222, allocations: 7.797 kB / 1.271 GB, free: 5.645 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/1.222, allocations: 4 kB / 1.271 GB, free: 5.641 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/1.222, allocations: 0 / 1.271 GB, free: 5.641 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.794e-05/1.222, allocations: 64.53 kB / 1.271 GB, free: 5.562 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.223e-05/1.222, allocations: 85.03 kB / 1.271 GB, free: 5.461 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.678e-05/1.222, allocations: 4 kB / 1.271 GB, free: 5.457 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.093e-05/1.222, allocations: 4.031 kB / 1.271 GB, free: 5.453 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.864e-05/1.222, allocations: 0 / 1.271 GB, free: 5.453 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/1.222, allocations: 3.938 kB / 1.271 GB, free: 5.449 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.012e-05/1.222, allocations: 86.78 kB / 1.271 GB, free: 5.367 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.31e-07/1.222, allocations: 0 / 1.271 GB, free: 5.367 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002529/1.223, allocations: 27.98 kB / 1.272 GB, free: 5.34 MB / 0.7761 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 (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.0005266/1.223, allocations: 0.6544 MB / 1.272 GB, free: 4.664 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.487e-05/1.223, allocations: 11.98 kB / 1.272 GB, free: 4.652 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/1.223, allocations: 0 / 1.272 GB, free: 4.652 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.736e-05/1.223, allocations: 11.44 kB / 1.272 GB, free: 4.645 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001353/1.223, allocations: 9.969 kB / 1.272 GB, free: 4.637 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004641/1.224, allocations: 195.5 kB / 1.272 GB, free: 4.406 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002355/1.224, allocations: 0.6809 MB / 1.273 GB, free: 3.699 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.164e-05/1.224, allocations: 0 / 1.273 GB, free: 3.699 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.196e-05/1.224, allocations: 11.44 kB / 1.273 GB, free: 3.688 MB / 0.7761 GB Notification: Performance of SimCode: time 6.001e-06/1.224, allocations: 0 / 1.273 GB, free: 3.688 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01269/1.237, allocations: 1.91 MB / 1.275 GB, free: 1.98 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001742/1.237, allocations: 214 kB / 1.275 GB, free: 1.746 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.636/2.873, allocations: 2.953 kB / 1.275 GB, free: 1.746 MB / 0.7761 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.pipe 2>&1)