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.001147/0.001146, allocations: 101.4 kB / 15.7 MB, free: 28 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.001273/0.001273, allocations: 200.6 kB / 16.64 MB, free: 6.43 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.415/1.415, allocations: 205.1 MB / 222.5 MB, free: 4.555 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.633/1.633, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.001493/0.001494, allocations: 71.69 kB / 0.6718 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2199/0.2215, allocations: 114.5 MB / 0.7836 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002686/0.2242, allocations: 1.477 MB / 0.7851 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0013/0.2255, allocations: 0.9443 MB / 0.786 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.708e-05/0.2256, allocations: 0 / 0.786 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002072/0.2258, allocations: 51.75 kB / 0.7861 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.801e-05/0.2259, allocations: 15.84 kB / 0.7861 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005158/0.2264, allocations: 194.1 kB / 0.7863 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.416e-05/0.2265, allocations: 55.67 kB / 0.7863 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.458e-05/0.2266, allocations: 7.984 kB / 0.7863 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.786e-05/0.2266, allocations: 19.88 kB / 0.7863 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.188e-05/0.2267, allocations: 11.94 kB / 0.7863 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.054e-05/0.2267, allocations: 0 / 0.7863 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003376/0.227, allocations: 167.8 kB / 0.7865 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.571e-05/0.227, allocations: 11.92 kB / 0.7865 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.887e-05/0.2271, allocations: 15.88 kB / 0.7865 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002107/0.2273, allocations: 124 kB / 0.7867 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.2273, allocations: 4 kB / 0.7867 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2273, allocations: 0 / 0.7867 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.2273, allocations: 0 / 0.7867 GB, free: 10.15 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.000347/0.2277, allocations: 375 kB / 0.787 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.2277, allocations: 15.97 kB / 0.787 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.302e-05/0.2278, allocations: 110 kB / 0.7871 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.029e-05/0.2279, allocations: 76.22 kB / 0.7872 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002513/0.2281, allocations: 260.4 kB / 0.7875 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001138/0.2282, allocations: 154.9 kB / 0.7876 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001131/0.2284, allocations: 154.9 kB / 0.7877 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.224e-05/0.2284, allocations: 109.1 kB / 0.7879 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.613e-05/0.2285, allocations: 75.28 kB / 0.7879 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.834e-05/0.2285, allocations: 154.5 kB / 0.7881 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.585e-05/0.2286, allocations: 154.6 kB / 0.7882 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.966e-05/0.2287, allocations: 158.5 kB / 0.7884 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003216/0.229, allocations: 453.9 kB / 0.7888 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.332e-05/0.2291, allocations: 173.1 kB / 0.789 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.777e-05/0.2292, allocations: 84.14 kB / 0.789 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.444e-05/0.2292, allocations: 75.28 kB / 0.7891 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.182e-05/0.2292, allocations: 113.7 kB / 0.7892 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.2292, allocations: 0 / 0.7892 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 8.491e-05/0.2293, allocations: 37.61 kB / 0.7893 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.223e-05/0.2294, allocations: 126.7 kB / 0.7894 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/0.2295, allocations: 128.3 kB / 0.7895 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/0.2295, allocations: 33.7 kB / 0.7895 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.504e-05/0.2296, allocations: 92.12 kB / 0.7896 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.583e-06/0.2296, allocations: 0 / 0.7896 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.143e-05/0.2296, allocations: 13.72 kB / 0.7896 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.2298, allocations: 326.9 kB / 0.79 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.406e-05/0.2298, allocations: 4 kB / 0.79 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.557e-05/0.2298, allocations: 4 kB / 0.79 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.311e-05/0.2299, allocations: 12.8 kB / 0.79 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.2299, allocations: 4.031 kB / 0.79 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001137/0.23, allocations: 57.53 kB / 0.79 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.23, allocations: 4 kB / 0.79 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.609e-05/0.23, allocations: 0 / 0.79 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.23, allocations: 0 / 0.79 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.638e-06/0.2301, allocations: 4 kB / 0.79 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.2301, allocations: 3.938 kB / 0.79 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.45e-05/0.2301, allocations: 7.938 kB / 0.7901 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.652e-06/0.2301, allocations: 0 / 0.7901 GB, free: 6.43 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001077/0.2302, allocations: 193.8 kB / 0.7902 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.134e-05/0.2303, allocations: 116.8 kB / 0.7903 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.862e-05/0.2303, allocations: 116.6 kB / 0.7905 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.956e-05/0.2304, allocations: 180.2 kB / 0.7906 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.011e-05/0.2305, allocations: 180.3 kB / 0.7908 GB, free: 5.617 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.81e-05/0.2306, allocations: 180.3 kB / 0.791 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002269/0.2308, allocations: 417.1 kB / 0.7914 GB, free: 4.969 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.946e-05/0.2309, allocations: 108.9 kB / 0.7915 GB, free: 4.855 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.477e-05/0.2309, allocations: 104.9 kB / 0.7916 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.974e-05/0.231, allocations: 180.3 kB / 0.7917 GB, free: 4.562 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.112e-05/0.231, allocations: 180.2 kB / 0.7919 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.912e-05/0.2311, allocations: 192.2 kB / 0.7921 GB, free: 4.184 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.726e-05/0.2312, allocations: 176.3 kB / 0.7923 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001408/0.2313, allocations: 307.7 kB / 0.7926 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.033e-05/0.2314, allocations: 190 kB / 0.7927 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.448e-05/0.2315, allocations: 188.2 kB / 0.7929 GB, free: 3.277 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.875e-05/0.2315, allocations: 101 kB / 0.793 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.074e-05/0.2316, allocations: 180.2 kB / 0.7932 GB, free: 2.988 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.089e-05/0.2317, allocations: 109 kB / 0.7933 GB, free: 2.875 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.389e-05/0.2317, allocations: 102.1 kB / 0.7934 GB, free: 2.777 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.1e-07/0.2317, allocations: 0 / 0.7934 GB, free: 2.777 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002861/0.232, allocations: 28 kB / 0.7934 GB, free: 2.75 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 (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.0005487/0.2326, allocations: 0.8671 MB / 0.7943 GB, free: 1.855 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 9.497e-05/0.2327, allocations: 37.7 kB / 0.7943 GB, free: 1.812 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.2327, allocations: 0 / 0.7943 GB, free: 1.812 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.903e-06/0.2327, allocations: 0 / 0.7943 GB, free: 1.812 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004255/0.2331, allocations: 470.2 kB / 0.7948 GB, free: 1.352 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001267/0.2344, allocations: 1.457 MB / 0.7962 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002337/0.2347, allocations: 0.6807 MB / 0.7968 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 2.272e-05/0.2347, allocations: 11.97 kB / 0.7969 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.572e-05/0.2347, allocations: 15.42 kB / 0.7969 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of SimCode: time 2.6e-07/0.2347, allocations: 0 / 0.7969 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01756/0.2523, allocations: 2.702 MB / 0.7995 GB, free: 12.53 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.732/7.984, allocations: 7.875 kB / 0.7995 GB, free: 12.52 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-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)