Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001528/0.001528, allocations: 103.2 kB / 16.27 MB, free: 5.961 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.001534/0.001534, allocations: 188.2 kB / 17.19 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002672/0.002672, allocations: 285.4 kB / 291.3 MB, free: 14.53 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.234/1.234, allocations: 178.5 MB / 0.5079 GB, free: 12.7 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002765/0.002765, allocations: 99.84 kB / 0.6072 GB, free: 9.211 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2021/0.2049, allocations: 89.13 MB / 0.6942 GB, free: 15.99 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002905/0.2079, allocations: 1.447 MB / 0.6956 GB, free: 14.53 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004841/0.2127, allocations: 2.88 MB / 0.6984 GB, free: 11.64 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.057e-05/0.2128, allocations: 0 / 0.6984 GB, free: 11.64 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.924e-05/0.2129, allocations: 3.938 kB / 0.6984 GB, free: 11.63 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.905e-05/0.213, allocations: 23.78 kB / 0.6985 GB, free: 11.61 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004328/0.2173, allocations: 1.587 MB / 0.7 GB, free: 10.04 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.989e-05/0.2174, allocations: 39.75 kB / 0.7001 GB, free: 9.996 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.661e-05/0.2175, allocations: 3.984 kB / 0.7001 GB, free: 9.992 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.769e-05/0.2175, allocations: 19.92 kB / 0.7001 GB, free: 9.973 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.064e-05/0.2176, allocations: 19.88 kB / 0.7001 GB, free: 9.953 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.349e-05/0.2176, allocations: 4 kB / 0.7001 GB, free: 9.949 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002361/0.22, allocations: 1.459 MB / 0.7015 GB, free: 8.488 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.923e-05/0.22, allocations: 11.92 kB / 0.7015 GB, free: 8.477 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.21e-05/0.2201, allocations: 23.86 kB / 0.7016 GB, free: 8.453 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001492/0.2215, allocations: 1.107 MB / 0.7026 GB, free: 7.344 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 1.44e-05/0.2216, allocations: 0 / 0.7026 GB, free: 7.344 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.994e-06/0.2216, allocations: 0 / 0.7026 GB, free: 7.344 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.2216, allocations: 0 / 0.7026 GB, free: 7.344 MB / 0.545 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.0006295/0.2222, allocations: 0.5185 MB / 0.7031 GB, free: 6.777 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.2223, allocations: 8.031 kB / 0.7032 GB, free: 6.77 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.308e-05/0.2223, allocations: 84.12 kB / 0.7032 GB, free: 6.688 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001795/0.2225, allocations: 259.4 kB / 0.7035 GB, free: 6.395 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.648e-05/0.2226, allocations: 150.9 kB / 0.7036 GB, free: 6.246 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.854e-05/0.2227, allocations: 150.9 kB / 0.7038 GB, free: 6.098 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.526e-05/0.2228, allocations: 109.1 kB / 0.7039 GB, free: 5.984 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.083e-05/0.2228, allocations: 75.28 kB / 0.7039 GB, free: 5.91 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.406e-05/0.2229, allocations: 150.6 kB / 0.7041 GB, free: 5.762 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.995e-05/0.2229, allocations: 154.6 kB / 0.7042 GB, free: 5.609 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.01e-05/0.223, allocations: 158.6 kB / 0.7044 GB, free: 5.453 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003291/0.2233, allocations: 477.7 kB / 0.7048 GB, free: 4.938 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.326e-05/0.2234, allocations: 165.1 kB / 0.705 GB, free: 4.766 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.872e-05/0.2235, allocations: 80.14 kB / 0.7051 GB, free: 4.684 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.185e-05/0.2235, allocations: 75.28 kB / 0.7052 GB, free: 4.609 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.932e-05/0.2236, allocations: 109.8 kB / 0.7053 GB, free: 4.492 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.2236, allocations: 4 kB / 0.7053 GB, free: 4.488 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 7.464e-05/0.2237, allocations: 33.64 kB / 0.7053 GB, free: 4.449 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.845e-05/0.2237, allocations: 130.7 kB / 0.7054 GB, free: 4.309 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001447/0.2239, allocations: 139.1 kB / 0.7055 GB, free: 4.164 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.436e-05/0.2239, allocations: 25.7 kB / 0.7056 GB, free: 4.133 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.815e-05/0.224, allocations: 88.14 kB / 0.7057 GB, free: 4.043 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.264e-06/0.224, allocations: 0 / 0.7057 GB, free: 4.043 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.474e-05/0.224, allocations: 21.7 kB / 0.7057 GB, free: 4.016 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.2242, allocations: 318.8 kB / 0.706 GB, free: 3.695 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.337e-05/0.2242, allocations: 7.938 kB / 0.706 GB, free: 3.688 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.748e-05/0.2242, allocations: 8.062 kB / 0.706 GB, free: 3.68 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.209e-05/0.2243, allocations: 16.84 kB / 0.706 GB, free: 3.66 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.2243, allocations: 0 / 0.706 GB, free: 3.66 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001354/0.2244, allocations: 61.48 kB / 0.7061 GB, free: 3.594 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.2244, allocations: 4 kB / 0.7061 GB, free: 3.59 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.93e-05/0.2245, allocations: 4 kB / 0.7061 GB, free: 3.586 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.2245, allocations: 64 / 0.7061 GB, free: 3.586 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.41e-07/0.2245, allocations: 4 kB / 0.7061 GB, free: 3.582 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.2245, allocations: 4 kB / 0.7061 GB, free: 3.578 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.113e-05/0.2245, allocations: 0 / 0.7061 GB, free: 3.578 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.271e-06/0.2245, allocations: 0 / 0.7061 GB, free: 3.578 MB / 0.545 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.0001093/0.2246, allocations: 189.1 kB / 0.7063 GB, free: 3.383 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.738e-05/0.2247, allocations: 108.8 kB / 0.7064 GB, free: 3.27 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.853e-05/0.2248, allocations: 112.8 kB / 0.7065 GB, free: 3.152 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.607e-05/0.2249, allocations: 184.3 kB / 0.7067 GB, free: 2.965 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.298e-05/0.2249, allocations: 184.2 kB / 0.7068 GB, free: 2.777 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.958e-05/0.225, allocations: 180.3 kB / 0.707 GB, free: 2.594 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002591/0.2253, allocations: 405.2 kB / 0.7074 GB, free: 2.141 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.61e-05/0.2253, allocations: 116.8 kB / 0.7075 GB, free: 2.02 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.738e-05/0.2254, allocations: 109 kB / 0.7076 GB, free: 1.906 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.172e-05/0.2255, allocations: 184.2 kB / 0.7078 GB, free: 1.719 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.291e-05/0.2256, allocations: 176.3 kB / 0.7079 GB, free: 1.539 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.205e-05/0.2257, allocations: 188.2 kB / 0.7081 GB, free: 1.348 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.242e-05/0.2258, allocations: 176.3 kB / 0.7083 GB, free: 1.168 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001591/0.2259, allocations: 311.8 kB / 0.7086 GB, free: 0.8398 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.535e-05/0.226, allocations: 189.9 kB / 0.7088 GB, free: 0.6289 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.049e-05/0.2261, allocations: 180.2 kB / 0.7089 GB, free: 456 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.267e-05/0.2262, allocations: 108.9 kB / 0.7091 GB, free: 340 kB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.161e-05/0.2263, allocations: 184.2 kB / 0.7092 GB, free: 148 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.961e-05/0.2263, allocations: 112.9 kB / 0.7093 GB, free: 28 kB / 0.545 GB Notification: Performance of sorting global known variables: time 0.3459/0.5722, allocations: 97.61 kB / 0.7094 GB, free: 50.08 MB / 0.545 GB Notification: Performance of sort global known variables: time 9.12e-07/0.5723, allocations: 0 / 0.7094 GB, free: 50.08 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001017/0.5733, allocations: 282.4 kB / 0.7097 GB, free: 50.08 MB / 0.545 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.00109/0.5744, allocations: 0.5313 MB / 0.7102 GB, free: 49.9 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001271/0.5746, allocations: 44.06 kB / 0.7103 GB, free: 49.87 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.5746, allocations: 1.25 kB / 0.7103 GB, free: 49.87 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.025e-06/0.5746, allocations: 0.9688 kB / 0.7103 GB, free: 49.87 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003195/0.5749, allocations: 466.4 kB / 0.7107 GB, free: 49.42 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000317/0.5752, allocations: 262.8 kB / 0.711 GB, free: 49.21 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001098/0.5753, allocations: 0.6823 MB / 0.7116 GB, free: 48.52 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.076e-05/0.5754, allocations: 9.719 kB / 0.7116 GB, free: 48.51 MB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.5754, allocations: 0.6875 kB / 0.7116 GB, free: 48.51 MB / 0.545 GB Notification: Performance of Templates: time 0.007062/0.5824, allocations: 4.765 MB / 0.7163 GB, free: 48.16 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)