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.001431/0.001431, allocations: 109.4 kB / 15.69 MB, free: 128 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.001634/0.001634, allocations: 183.4 kB / 16.62 MB, free: 6.613 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.376/1.376, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.632/1.632, allocations: 292.3 MB / 0.549 GB, free: 12.74 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.001459/0.00146, allocations: 70.77 kB / 0.6718 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2253/0.2268, allocations: 114.5 MB / 0.7836 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002673/0.2295, allocations: 1.484 MB / 0.7851 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001399/0.2309, allocations: 0.9405 MB / 0.786 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.567e-05/0.231, allocations: 3.938 kB / 0.786 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002021/0.2312, allocations: 39.81 kB / 0.786 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.767e-05/0.2313, allocations: 27.78 kB / 0.7861 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005184/0.2318, allocations: 193.6 kB / 0.7862 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001028/0.2319, allocations: 47.73 kB / 0.7863 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.363e-05/0.2319, allocations: 4 kB / 0.7863 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.202e-05/0.232, allocations: 19.86 kB / 0.7863 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.622e-05/0.232, allocations: 19.88 kB / 0.7863 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.222e-05/0.2321, allocations: 0 / 0.7863 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003388/0.2324, allocations: 171.7 kB / 0.7865 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.135e-05/0.2324, allocations: 0 / 0.7865 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.307e-05/0.2325, allocations: 23.86 kB / 0.7865 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001912/0.2327, allocations: 127.8 kB / 0.7866 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.2327, allocations: 4 kB / 0.7866 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.375e-06/0.2327, allocations: 0 / 0.7866 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.98e-06/0.2327, allocations: 4 kB / 0.7867 GB, free: 10.11 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.0003466/0.2331, allocations: 363.1 kB / 0.787 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.2331, allocations: 12.03 kB / 0.787 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.402e-05/0.2332, allocations: 110 kB / 0.7871 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.489e-05/0.2332, allocations: 84.2 kB / 0.7872 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000238/0.2335, allocations: 263.5 kB / 0.7874 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.882e-05/0.2335, allocations: 150.9 kB / 0.7876 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.896e-05/0.2336, allocations: 150.9 kB / 0.7877 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.534e-05/0.2337, allocations: 109 kB / 0.7878 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.61e-05/0.2337, allocations: 83.28 kB / 0.7879 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.896e-05/0.2337, allocations: 154.6 kB / 0.7881 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-05/0.2338, allocations: 158.5 kB / 0.7882 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.836e-05/0.2338, allocations: 150.6 kB / 0.7884 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002541/0.2341, allocations: 461.9 kB / 0.7888 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.457e-05/0.2342, allocations: 173.1 kB / 0.789 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.25e-05/0.2342, allocations: 84.12 kB / 0.789 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.325e-05/0.2343, allocations: 75.28 kB / 0.7891 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.628e-05/0.2343, allocations: 109.8 kB / 0.7892 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 8.22e-07/0.2343, allocations: 0 / 0.7892 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 7.425e-05/0.2344, allocations: 37.61 kB / 0.7893 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.823e-05/0.2345, allocations: 130.7 kB / 0.7894 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/0.2346, allocations: 136.4 kB / 0.7895 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.172e-05/0.2346, allocations: 25.7 kB / 0.7895 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.878e-05/0.2347, allocations: 92.12 kB / 0.7896 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.693e-06/0.2347, allocations: 0 / 0.7896 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.209e-05/0.2347, allocations: 17.72 kB / 0.7896 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.2348, allocations: 318.9 kB / 0.7899 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.214e-05/0.2349, allocations: 7.984 kB / 0.79 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.384e-05/0.2349, allocations: 8 kB / 0.79 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.674e-05/0.2349, allocations: 12.89 kB / 0.79 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2349, allocations: 4 kB / 0.79 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001299/0.2351, allocations: 49.55 kB / 0.79 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.2351, allocations: 7.984 kB / 0.79 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.917e-05/0.2351, allocations: 3.938 kB / 0.79 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.2352, allocations: 7.938 kB / 0.79 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.52e-07/0.2352, allocations: 0 / 0.79 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.2352, allocations: 0 / 0.79 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.205e-05/0.2352, allocations: 3.938 kB / 0.79 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.2352, allocations: 4.062 kB / 0.7901 GB, free: 6.387 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.0001139/0.2353, allocations: 189.1 kB / 0.7902 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.585e-05/0.2354, allocations: 108.8 kB / 0.7903 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.071e-05/0.2355, allocations: 120.6 kB / 0.7905 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.586e-05/0.2356, allocations: 176.3 kB / 0.7906 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.036e-05/0.2356, allocations: 184.3 kB / 0.7908 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.88e-05/0.2357, allocations: 184.2 kB / 0.791 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002522/0.236, allocations: 409.2 kB / 0.7914 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.776e-05/0.236, allocations: 112.9 kB / 0.7915 GB, free: 4.82 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.809e-05/0.2361, allocations: 101 kB / 0.7916 GB, free: 4.715 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.93e-05/0.2361, allocations: 180.3 kB / 0.7917 GB, free: 4.531 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.408e-05/0.2362, allocations: 188.1 kB / 0.7919 GB, free: 4.34 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.012e-05/0.2363, allocations: 180.3 kB / 0.7921 GB, free: 4.156 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.335e-05/0.2364, allocations: 184.2 kB / 0.7923 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001484/0.2365, allocations: 303.7 kB / 0.7926 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.073e-05/0.2366, allocations: 190 kB / 0.7927 GB, free: 3.438 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.577e-05/0.2367, allocations: 188.2 kB / 0.7929 GB, free: 3.246 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.684e-05/0.2368, allocations: 108.9 kB / 0.793 GB, free: 3.133 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.751e-05/0.2369, allocations: 180.3 kB / 0.7932 GB, free: 2.949 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.646e-05/0.2369, allocations: 101 kB / 0.7933 GB, free: 2.844 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.102e-05/0.237, allocations: 101.9 kB / 0.7934 GB, free: 2.746 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.323e-06/0.237, allocations: 0 / 0.7934 GB, free: 2.746 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002736/0.2372, allocations: 43.92 kB / 0.7934 GB, free: 2.703 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.0005375/0.2378, allocations: 0.8554 MB / 0.7943 GB, free: 1.82 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 9.363e-05/0.2379, allocations: 37.7 kB / 0.7943 GB, free: 1.777 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2379, allocations: 0 / 0.7943 GB, free: 1.777 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.166e-06/0.2379, allocations: 8 kB / 0.7943 GB, free: 1.77 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004143/0.2383, allocations: 466.1 kB / 0.7947 GB, free: 1.312 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001151/0.2395, allocations: 1.456 MB / 0.7962 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002339/0.2397, allocations: 0.6884 MB / 0.7968 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 1.969e-05/0.2398, allocations: 0 / 0.7968 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.793e-05/0.2398, allocations: 19.36 kB / 0.7969 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of SimCode: time 3.41e-07/0.2398, allocations: 7.938 kB / 0.7969 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01792/0.2577, allocations: 2.685 MB / 0.7995 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.145/7.403, allocations: 8.562 kB / 0.7995 GB, free: 12.5 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/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)