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.00111/0.00111, allocations: 101.4 kB / 15.7 MB, free: 24 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.001171/0.001171, allocations: 192.1 kB / 16.64 MB, free: 6.445 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.335/1.335, allocations: 205.1 MB / 222.5 MB, free: 4.551 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.703/1.703, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.00161/0.00161, allocations: 70.89 kB / 0.6718 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2418/0.2434, allocations: 114.5 MB / 0.7837 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.002476/0.2459, allocations: 1.281 MB / 0.7849 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004006/0.25, allocations: 3.757 MB / 0.7886 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.865e-05/0.25, allocations: 0 / 0.7886 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.673e-05/0.25, allocations: 0 / 0.7886 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004353/0.2505, allocations: 103.4 kB / 0.7887 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003363/0.2508, allocations: 135.6 kB / 0.7888 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.738e-05/0.2509, allocations: 27.86 kB / 0.7888 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.688e-05/0.251, allocations: 7.984 kB / 0.7888 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.2511, allocations: 23.86 kB / 0.7889 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.833e-05/0.2512, allocations: 35.95 kB / 0.7889 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.013e-05/0.2512, allocations: 0 / 0.7889 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004134/0.2516, allocations: 307.6 kB / 0.7892 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.178e-05/0.2516, allocations: 3.938 kB / 0.7892 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.458e-05/0.2517, allocations: 12 kB / 0.7892 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001949/0.2519, allocations: 124 kB / 0.7893 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.2519, allocations: 0 / 0.7893 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.663e-06/0.2519, allocations: 0 / 0.7893 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.2519, allocations: 0 / 0.7893 GB, free: 7.383 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.0003706/0.2523, allocations: 355.4 kB / 0.7897 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.2523, allocations: 12.02 kB / 0.7897 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.903e-05/0.2524, allocations: 30.75 kB / 0.7897 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.393e-05/0.2524, allocations: 4.938 kB / 0.7897 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001027/0.2525, allocations: 164.3 kB / 0.7899 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.2525, allocations: 4.375 kB / 0.7899 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.554e-06/0.2525, allocations: 4.312 kB / 0.7899 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.092e-05/0.2526, allocations: 41.62 kB / 0.7899 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.2526, allocations: 3.938 kB / 0.7899 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.2527, allocations: 4 kB / 0.7899 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.2527, allocations: 0 / 0.7899 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.444e-05/0.2527, allocations: 4 kB / 0.7899 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001595/0.2529, allocations: 153.7 kB / 0.7901 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.704e-05/0.2529, allocations: 26.58 kB / 0.7901 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.173e-05/0.253, allocations: 8.922 kB / 0.7901 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002196/0.2532, allocations: 97.03 kB / 0.7902 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.2532, allocations: 42.48 kB / 0.7902 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.2532, allocations: 0 / 0.7902 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001423/0.2534, allocations: 45.64 kB / 0.7903 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.456e-05/0.2534, allocations: 51.41 kB / 0.7903 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.513e-05/0.2535, allocations: 105.8 kB / 0.7904 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.23e-05/0.2535, allocations: 25.7 kB / 0.7904 GB, free: 6 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.569e-05/0.2536, allocations: 80.14 kB / 0.7905 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.189e-05/0.2536, allocations: 7.906 kB / 0.7905 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.843e-05/0.2536, allocations: 13.72 kB / 0.7905 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.2537, allocations: 315 kB / 0.7908 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.274e-05/0.2538, allocations: 8 kB / 0.7909 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.779e-06/0.2538, allocations: 4 kB / 0.7909 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.183e-05/0.2538, allocations: 16.8 kB / 0.7909 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2538, allocations: 0 / 0.7909 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.762e-05/0.2539, allocations: 41.64 kB / 0.7909 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.2539, allocations: 6.656 kB / 0.7909 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.426e-06/0.2539, allocations: 256 / 0.7909 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.2539, allocations: 0 / 0.7909 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.177e-05/0.254, allocations: 16.08 kB / 0.7909 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.254, allocations: 0 / 0.7909 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.509e-05/0.254, allocations: 0 / 0.7909 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-06/0.254, allocations: 0 / 0.7909 GB, free: 5.477 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.778e-05/0.2541, allocations: 118.4 kB / 0.791 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.137e-05/0.2541, allocations: 7.844 kB / 0.7911 GB, free: 5.344 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001051/0.2542, allocations: 56.73 kB / 0.7911 GB, free: 5.281 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.2542, allocations: 3.938 kB / 0.7911 GB, free: 5.277 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.2543, allocations: 4.031 kB / 0.7911 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.2543, allocations: 0 / 0.7911 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000102/0.2544, allocations: 157.7 kB / 0.7913 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.2544, allocations: 3.938 kB / 0.7913 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.08e-05/0.2544, allocations: 4 kB / 0.7913 GB, free: 5.062 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.233e-06/0.2544, allocations: 0 / 0.7913 GB, free: 5.062 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-06/0.2544, allocations: 0 / 0.7913 GB, free: 5.062 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.2544, allocations: 0 / 0.7913 GB, free: 5.062 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.2544, allocations: 4 kB / 0.7913 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.841e-05/0.2545, allocations: 69.06 kB / 0.7913 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.152e-05/0.2546, allocations: 85.05 kB / 0.7914 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.155e-05/0.2546, allocations: 3.938 kB / 0.7914 GB, free: 4.867 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.419e-05/0.2546, allocations: 3.984 kB / 0.7914 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.127e-05/0.2546, allocations: 0 / 0.7914 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.395e-06/0.2546, allocations: 0 / 0.7914 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.515e-05/0.2547, allocations: 83.28 kB / 0.7915 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2547, allocations: 0 / 0.7915 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001987/0.2549, allocations: 28.03 kB / 0.7915 GB, free: 4.754 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.0004213/0.2553, allocations: 0.6279 MB / 0.7922 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 7.896e-05/0.2554, allocations: 15.94 kB / 0.7922 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2554, allocations: 0 / 0.7922 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.259e-05/0.2554, allocations: 12.09 kB / 0.7922 GB, free: 4.07 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002226/0.2556, allocations: 2.438 kB / 0.7922 GB, free: 4.07 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004413/0.2561, allocations: 169.2 kB / 0.7923 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002371/0.2563, allocations: 0.6768 MB / 0.793 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.855e-05/0.2564, allocations: 8.062 kB / 0.793 GB, free: 3.156 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.541e-05/0.2564, allocations: 11.44 kB / 0.793 GB, free: 3.145 MB / 0.6075 GB Notification: Performance of SimCode: time 2e-07/0.2564, allocations: 0 / 0.793 GB, free: 3.145 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01792/0.2743, allocations: 1.642 MB / 0.7946 GB, free: 1.645 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.937/7.212, allocations: 11.86 kB / 0.7946 GB, free: 1.637 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)