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: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009413/0.0009414, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.00109/0.00109, allocations: 177.3 kB / 15.95 MB, free: 216 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.341/1.341, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.607/1.607, allocations: 292.5 MB / 0.5497 GB, free: 14.62 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.0005215/0.0005216, allocations: 17.66 kB / 0.6736 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2226/0.2231, allocations: 116.3 MB / 0.7871 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.001602/0.2248, allocations: 1.151 MB / 0.7883 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001092/0.2259, allocations: 0.8236 MB / 0.7891 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.048e-05/0.226, allocations: 8 kB / 0.7891 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001618/0.2262, allocations: 39.81 kB / 0.7891 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.686e-05/0.2262, allocations: 23.84 kB / 0.7891 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004169/0.2266, allocations: 166.8 kB / 0.7893 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.104e-05/0.2267, allocations: 31.95 kB / 0.7893 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.821e-05/0.2267, allocations: 3.938 kB / 0.7893 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.398e-05/0.2268, allocations: 23.92 kB / 0.7893 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.062e-05/0.2268, allocations: 11.88 kB / 0.7894 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.026e-05/0.2269, allocations: 4 kB / 0.7894 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002438/0.2271, allocations: 139.8 kB / 0.7895 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.001e-05/0.2271, allocations: 7.984 kB / 0.7895 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.216e-05/0.2272, allocations: 37.64 kB / 0.7895 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001214/0.2273, allocations: 76.09 kB / 0.7896 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.2274, allocations: 4 kB / 0.7896 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.443e-06/0.2274, allocations: 0 / 0.7896 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.607e-06/0.2274, allocations: 0 / 0.7896 GB, free: 9.395 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.0002867/0.2277, allocations: 367.1 kB / 0.79 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.828e-05/0.2277, allocations: 8.031 kB / 0.79 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.54e-05/0.2277, allocations: 79.19 kB / 0.79 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001683/0.2279, allocations: 258.1 kB / 0.7903 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.27e-05/0.228, allocations: 158.6 kB / 0.7904 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.12e-05/0.228, allocations: 150.6 kB / 0.7906 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.311e-05/0.2281, allocations: 112.9 kB / 0.7907 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.665e-05/0.2282, allocations: 75.28 kB / 0.7908 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.223e-05/0.2282, allocations: 150.6 kB / 0.7909 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.946e-05/0.2283, allocations: 154.5 kB / 0.7911 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.779e-05/0.2283, allocations: 154.6 kB / 0.7912 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002634/0.2286, allocations: 461.9 kB / 0.7916 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.356e-05/0.2287, allocations: 173.1 kB / 0.7918 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.538e-05/0.2287, allocations: 79.27 kB / 0.7919 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.661e-05/0.2288, allocations: 109.8 kB / 0.792 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 7.51e-07/0.2288, allocations: 0 / 0.792 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 7.136e-05/0.2288, allocations: 41.73 kB / 0.792 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.129e-05/0.2289, allocations: 130.6 kB / 0.7921 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.229, allocations: 132.6 kB / 0.7923 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.266e-05/0.229, allocations: 25.7 kB / 0.7923 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.834e-05/0.2291, allocations: 104 kB / 0.7924 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.543e-06/0.2291, allocations: 4 kB / 0.7924 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.144e-06/0.2291, allocations: 0 / 0.7924 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.274e-05/0.2292, allocations: 314.8 kB / 0.7927 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.911e-05/0.2292, allocations: 4 kB / 0.7927 GB, free: 6 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.437e-05/0.2292, allocations: 4 kB / 0.7927 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.29e-05/0.2293, allocations: 11.95 kB / 0.7927 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2293, allocations: 3.938 kB / 0.7927 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001013/0.2294, allocations: 49.59 kB / 0.7928 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.2294, allocations: 4 kB / 0.7928 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.642e-05/0.2294, allocations: 4 kB / 0.7928 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.658e-06/0.2294, allocations: 4.062 kB / 0.7928 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.02e-07/0.2294, allocations: 0 / 0.7928 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.2295, allocations: 0 / 0.7928 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.131e-05/0.2295, allocations: 3.938 kB / 0.7928 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.2295, allocations: 0 / 0.7928 GB, free: 5.91 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 9.584e-05/0.2296, allocations: 197 kB / 0.793 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.372e-05/0.2296, allocations: 108.9 kB / 0.7931 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.401e-05/0.2297, allocations: 112.9 kB / 0.7932 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.324e-05/0.2298, allocations: 180.2 kB / 0.7934 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.888e-05/0.2298, allocations: 184.2 kB / 0.7935 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.259e-05/0.2299, allocations: 176.3 kB / 0.7937 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002129/0.2301, allocations: 417.2 kB / 0.7941 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.322e-05/0.2301, allocations: 105.1 kB / 0.7942 GB, free: 4.348 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.125e-05/0.2302, allocations: 112.9 kB / 0.7943 GB, free: 4.23 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.255e-05/0.2302, allocations: 180.2 kB / 0.7945 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.733e-05/0.2303, allocations: 184.2 kB / 0.7947 GB, free: 3.859 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.221e-05/0.2303, allocations: 176.3 kB / 0.7948 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.076e-05/0.2304, allocations: 176.3 kB / 0.795 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001183/0.2305, allocations: 311.8 kB / 0.7953 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.856e-05/0.2306, allocations: 197.9 kB / 0.7955 GB, free: 2.953 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.166e-05/0.2307, allocations: 176.3 kB / 0.7956 GB, free: 2.773 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.414e-05/0.2308, allocations: 105 kB / 0.7957 GB, free: 2.664 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.418e-05/0.2308, allocations: 192.1 kB / 0.7959 GB, free: 2.469 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.942e-05/0.2309, allocations: 105 kB / 0.796 GB, free: 2.359 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.604e-05/0.2309, allocations: 98.39 kB / 0.7961 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2309, allocations: 0 / 0.7961 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002771/0.2312, allocations: 36 kB / 0.7962 GB, free: 2.23 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.0002419/0.2315, allocations: 218.4 kB / 0.7964 GB, free: 2.008 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 7.383e-05/0.2315, allocations: 33.64 kB / 0.7964 GB, free: 1.969 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.2315, allocations: 4.062 kB / 0.7964 GB, free: 1.965 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.114e-06/0.2316, allocations: 0 / 0.7964 GB, free: 1.965 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003623/0.2319, allocations: 0.5302 MB / 0.7969 GB, free: 1.43 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002667/0.2322, allocations: 243.8 kB / 0.7972 GB, free: 1.164 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002364/0.2324, allocations: 0.6848 MB / 0.7978 GB, free: 464 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.581e-05/0.2325, allocations: 0 / 0.7978 GB, free: 464 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.08e-05/0.2325, allocations: 11.44 kB / 0.7978 GB, free: 452 kB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.2325, allocations: 0 / 0.7978 GB, free: 452 kB / 0.6075 GB Notification: Performance of Templates: time 0.003437/0.2359, allocations: 1.462 MB / 0.7993 GB, free: 14.99 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.makefile Environment - environmentSimulation: (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 & ./Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) Environment - environmentSimulation: