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.0007961/0.0007962, allocations: 86.56 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008921/0.0008921, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.379/1.379, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.698/1.698, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.0005907/0.000591, allocations: 14.47 kB / 0.6738 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2322/0.2328, allocations: 116.3 MB / 0.7874 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.001509/0.2344, allocations: 1.013 MB / 0.7884 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004388/0.2388, allocations: 3.511 MB / 0.7918 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.027e-05/0.2389, allocations: 0 / 0.7918 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.424e-05/0.2389, allocations: 7.875 kB / 0.7918 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003514/0.2392, allocations: 79.61 kB / 0.7919 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002393/0.2395, allocations: 95.69 kB / 0.792 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.55e-05/0.2395, allocations: 23.92 kB / 0.792 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.422e-05/0.2396, allocations: 4 kB / 0.792 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.826e-05/0.2397, allocations: 23.86 kB / 0.7921 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001002/0.2398, allocations: 35.91 kB / 0.7921 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.05e-05/0.2398, allocations: 0 / 0.7921 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004205/0.2403, allocations: 291.6 kB / 0.7924 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.106e-05/0.2403, allocations: 11.98 kB / 0.7924 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.331e-05/0.2403, allocations: 25.7 kB / 0.7924 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000149/0.2405, allocations: 76.09 kB / 0.7925 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.2405, allocations: 4 kB / 0.7925 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2405, allocations: 0 / 0.7925 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.988e-06/0.2405, allocations: 0 / 0.7925 GB, free: 6.641 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.0003859/0.2409, allocations: 359.3 kB / 0.7928 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.2409, allocations: 8.031 kB / 0.7928 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.373e-05/0.241, allocations: 30.56 kB / 0.7929 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.294e-05/0.241, allocations: 3.953 kB / 0.7929 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.2411, allocations: 171 kB / 0.793 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.2411, allocations: 4 kB / 0.793 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.323e-06/0.2412, allocations: 0 / 0.793 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.028e-05/0.2413, allocations: 29.7 kB / 0.7931 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.2413, allocations: 4 kB / 0.7931 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.893e-06/0.2413, allocations: 0 / 0.7931 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.2413, allocations: 0 / 0.7931 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.069e-05/0.2413, allocations: 7.953 kB / 0.7931 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001462/0.2415, allocations: 157.6 kB / 0.7932 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.338e-05/0.2416, allocations: 34.53 kB / 0.7933 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.965e-05/0.2416, allocations: 8.922 kB / 0.7933 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002256/0.2418, allocations: 97.09 kB / 0.7934 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/0.2419, allocations: 30.56 kB / 0.7934 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.2419, allocations: 0 / 0.7934 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001388/0.242, allocations: 49.59 kB / 0.7934 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.58e-05/0.2421, allocations: 55.34 kB / 0.7935 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.672e-05/0.2421, allocations: 101.8 kB / 0.7936 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.294e-05/0.2422, allocations: 29.83 kB / 0.7936 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.209e-05/0.2422, allocations: 88.12 kB / 0.7937 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.2422, allocations: 3.906 kB / 0.7937 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.045e-06/0.2422, allocations: 0 / 0.7937 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.2424, allocations: 318.8 kB / 0.794 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.256e-05/0.2424, allocations: 4 kB / 0.794 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.835e-06/0.2424, allocations: 0 / 0.794 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.837e-05/0.2424, allocations: 4 kB / 0.794 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2424, allocations: 0 / 0.794 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.359e-05/0.2425, allocations: 49.75 kB / 0.7941 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.2425, allocations: 4 kB / 0.7941 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.2425, allocations: 0 / 0.7941 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.2425, allocations: 0 / 0.7941 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.184e-05/0.2426, allocations: 4 kB / 0.7941 GB, free: 4.773 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.2426, allocations: 3.938 kB / 0.7941 GB, free: 4.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.544e-05/0.2426, allocations: 0 / 0.7941 GB, free: 4.77 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.078e-06/0.2426, allocations: 0 / 0.7941 GB, free: 4.77 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.527e-05/0.2427, allocations: 114.5 kB / 0.7942 GB, free: 4.648 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.503e-06/0.2427, allocations: 4.031 kB / 0.7942 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001093/0.2428, allocations: 52.8 kB / 0.7942 GB, free: 4.586 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.2428, allocations: 0 / 0.7942 GB, free: 4.586 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.2429, allocations: 0 / 0.7942 GB, free: 4.586 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.2429, allocations: 0 / 0.7942 GB, free: 4.586 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001129/0.243, allocations: 161.6 kB / 0.7944 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.243, allocations: 256 / 0.7944 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.537e-05/0.243, allocations: 8 kB / 0.7944 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.243, allocations: 7.922 kB / 0.7944 GB, free: 4.363 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.642e-06/0.243, allocations: 4.031 kB / 0.7944 GB, free: 4.359 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.243, allocations: 0 / 0.7944 GB, free: 4.359 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.2431, allocations: 3.938 kB / 0.7944 GB, free: 4.355 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.724e-05/0.2431, allocations: 69 kB / 0.7945 GB, free: 4.27 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.686e-05/0.2432, allocations: 85.09 kB / 0.7946 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.146e-05/0.2432, allocations: 4 kB / 0.7946 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.317e-05/0.2432, allocations: 0 / 0.7946 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.129e-05/0.2433, allocations: 4.031 kB / 0.7946 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.275e-06/0.2433, allocations: 0 / 0.7946 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.519e-05/0.2433, allocations: 83.22 kB / 0.7946 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2433, allocations: 0 / 0.7946 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001994/0.2435, allocations: 27.98 kB / 0.7947 GB, free: 4.051 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 (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.0004484/0.244, allocations: 0.6358 MB / 0.7953 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 7.017e-05/0.244, allocations: 8 kB / 0.7953 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2441, allocations: 0 / 0.7953 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.148e-05/0.2441, allocations: 4 kB / 0.7953 GB, free: 3.375 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002072/0.2443, allocations: 14.42 kB / 0.7953 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003724/0.2447, allocations: 200 kB / 0.7955 GB, free: 3.129 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002333/0.2449, allocations: 0.6731 MB / 0.7962 GB, free: 2.43 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.768e-05/0.2449, allocations: 4 kB / 0.7962 GB, free: 2.426 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.872e-05/0.245, allocations: 14.3 kB / 0.7962 GB, free: 2.414 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.245, allocations: 3.938 kB / 0.7962 GB, free: 2.41 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01087/0.2559, allocations: 1.441 MB / 0.7976 GB, free: 1.156 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002019/0.2561, allocations: 221.3 kB / 0.7978 GB, free: 0.9141 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.724/1.98, allocations: 0 / 0.7978 GB, free: 0.9141 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/linux/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) Environment - environmentSimulation: