Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.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.SingleUTubeResistances,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",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.001012/0.001012, allocations: 91.92 kB / 15.06 MB, free: 1.098 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.001275/0.001275, allocations: 172.7 kB / 15.95 MB, free: 208 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.385/1.385, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.684/1.684, allocations: 292.7 MB / 0.5499 GB, free: 14.54 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.000537/0.0005371, allocations: 16.22 kB / 0.6738 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2208/0.2214, allocations: 116.3 MB / 0.7874 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.001382/0.2228, allocations: 1.182 MB / 0.7886 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001113/0.2239, allocations: 0.878 MB / 0.7894 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.256e-05/0.224, allocations: 0 / 0.7894 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001493/0.2242, allocations: 27.84 kB / 0.7894 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.973e-05/0.2242, allocations: 19.84 kB / 0.7895 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004488/0.2246, allocations: 170.5 kB / 0.7896 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.37e-05/0.2247, allocations: 39.73 kB / 0.7897 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.169e-05/0.2248, allocations: 4 kB / 0.7897 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.491e-05/0.2248, allocations: 23.86 kB / 0.7897 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.035e-05/0.2249, allocations: 11.94 kB / 0.7897 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.376e-06/0.2249, allocations: 0 / 0.7897 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002573/0.2251, allocations: 147.8 kB / 0.7898 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.687e-06/0.2252, allocations: 3.938 kB / 0.7899 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.649e-05/0.2252, allocations: 29.7 kB / 0.7899 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001188/0.2253, allocations: 88.08 kB / 0.79 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.2253, allocations: 0 / 0.79 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.263e-06/0.2253, allocations: 3.938 kB / 0.79 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.2253, allocations: 0 / 0.79 GB, free: 9.203 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.000288/0.2256, allocations: 363.1 kB / 0.7903 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.2257, allocations: 8.031 kB / 0.7903 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.542e-05/0.2257, allocations: 121.8 kB / 0.7904 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.752e-05/0.2258, allocations: 79.19 kB / 0.7905 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001717/0.226, allocations: 262.1 kB / 0.7908 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.647e-05/0.226, allocations: 154.5 kB / 0.7909 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.623e-05/0.2261, allocations: 150.6 kB / 0.7911 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.527e-05/0.2261, allocations: 105 kB / 0.7912 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.418e-05/0.2262, allocations: 79.28 kB / 0.7912 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.745e-05/0.2262, allocations: 154.5 kB / 0.7914 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.929e-05/0.2263, allocations: 150.6 kB / 0.7915 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.641e-05/0.2263, allocations: 154.5 kB / 0.7917 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002503/0.2266, allocations: 461.9 kB / 0.7921 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.132e-05/0.2267, allocations: 177.1 kB / 0.7923 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.844e-05/0.2267, allocations: 84.12 kB / 0.7924 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.269e-05/0.2267, allocations: 75.28 kB / 0.7924 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.146e-05/0.2268, allocations: 113.8 kB / 0.7925 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 8.11e-07/0.2268, allocations: 0 / 0.7925 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 5.861e-05/0.2268, allocations: 29.7 kB / 0.7926 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.769e-05/0.2269, allocations: 130.7 kB / 0.7927 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000113/0.227, allocations: 136.7 kB / 0.7928 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.091e-05/0.227, allocations: 25.7 kB / 0.7928 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.762e-05/0.2271, allocations: 96.12 kB / 0.7929 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.613e-06/0.2271, allocations: 0 / 0.7929 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.215e-06/0.2271, allocations: 0 / 0.7929 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.74e-05/0.2272, allocations: 314.8 kB / 0.7932 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.307e-05/0.2272, allocations: 12 kB / 0.7932 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.259e-05/0.2272, allocations: 4 kB / 0.7933 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.064e-05/0.2273, allocations: 3.984 kB / 0.7933 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2273, allocations: 4 kB / 0.7933 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001024/0.2274, allocations: 49.55 kB / 0.7933 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.045e-05/0.2274, allocations: 4 kB / 0.7933 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/0.2274, allocations: 0 / 0.7933 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.989e-06/0.2274, allocations: 0 / 0.7933 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.625e-06/0.2274, allocations: 4 kB / 0.7933 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.2275, allocations: 3.984 kB / 0.7933 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.202e-05/0.2275, allocations: 8 kB / 0.7933 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.671e-06/0.2275, allocations: 0 / 0.7933 GB, free: 5.523 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 (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 8.356e-05/0.2276, allocations: 196.6 kB / 0.7935 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.168e-05/0.2276, allocations: 108.8 kB / 0.7936 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.134e-05/0.2277, allocations: 112.8 kB / 0.7937 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-05/0.2277, allocations: 184.2 kB / 0.7939 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.706e-05/0.2278, allocations: 192.2 kB / 0.7941 GB, free: 4.707 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.057e-05/0.2279, allocations: 180.3 kB / 0.7943 GB, free: 4.523 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001993/0.2281, allocations: 413.2 kB / 0.7947 GB, free: 4.062 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.954e-05/0.2281, allocations: 109 kB / 0.7948 GB, free: 3.949 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.915e-05/0.2281, allocations: 105 kB / 0.7949 GB, free: 3.84 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.332e-05/0.2282, allocations: 184.2 kB / 0.795 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.426e-05/0.2283, allocations: 180.3 kB / 0.7952 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.295e-05/0.2283, allocations: 184.2 kB / 0.7954 GB, free: 3.281 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.75e-05/0.2284, allocations: 176.3 kB / 0.7955 GB, free: 3.102 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000115/0.2285, allocations: 307.8 kB / 0.7958 GB, free: 2.777 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.798e-05/0.2286, allocations: 194 kB / 0.796 GB, free: 2.562 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.953e-05/0.2286, allocations: 180.2 kB / 0.7962 GB, free: 2.379 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.486e-05/0.2287, allocations: 109 kB / 0.7963 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.963e-05/0.2288, allocations: 176.3 kB / 0.7965 GB, free: 2.086 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.072e-05/0.2288, allocations: 108.9 kB / 0.7966 GB, free: 1.973 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.535e-05/0.2289, allocations: 102.4 kB / 0.7967 GB, free: 1.875 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2289, allocations: 4 kB / 0.7967 GB, free: 1.871 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002538/0.2291, allocations: 28 kB / 0.7967 GB, free: 1.844 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 (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.0004656/0.2296, allocations: 0.8632 MB / 0.7975 GB, free: 0.9531 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 8e-05/0.2297, allocations: 37.64 kB / 0.7976 GB, free: 0.9102 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2297, allocations: 4.062 kB / 0.7976 GB, free: 0.9062 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.855e-06/0.2297, allocations: 4 kB / 0.7976 GB, free: 0.9023 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004186/0.2301, allocations: 0.5263 MB / 0.7981 GB, free: 380 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006676/0.2308, allocations: 0.5487 MB / 0.7986 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000207/0.231, allocations: 0.6809 MB / 0.7993 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 2.34e-05/0.2311, allocations: 7.984 kB / 0.7993 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.237e-05/0.2311, allocations: 15.44 kB / 0.7993 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of SimCode: time 2.91e-07/0.2311, allocations: 0 / 0.7993 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01193/0.243, allocations: 2.474 MB / 0.8017 GB, free: 12.76 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001713/0.2432, allocations: 225.4 kB / 0.802 GB, free: 12.51 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.714/1.957, allocations: 2.5 kB / 0.802 GB, free: 12.51 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.fmu > Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) Environment - environmentSimulation: