Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.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.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001761/0.001761, allocations: 103.3 kB / 16.27 MB, free: 6.414 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.001774/0.001774, allocations: 189.2 kB / 17.2 MB, free: 5.953 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.382/1.382, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002551/0.002551, allocations: 284.7 kB / 291.3 MB, free: 14.54 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.231/1.231, allocations: 178.5 MB / 0.5079 GB, free: 12.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002727/0.002728, allocations: 95.84 kB / 0.6072 GB, free: 9.258 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2014/0.2041, allocations: 89.15 MB / 0.6942 GB, free: 36 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002817/0.207, allocations: 1.358 MB / 0.6955 GB, free: 14.66 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00174/0.2088, allocations: 1.076 MB / 0.6966 GB, free: 13.57 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.894e-05/0.2088, allocations: 0 / 0.6966 GB, free: 13.57 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.217e-05/0.2089, allocations: 4 kB / 0.6966 GB, free: 13.57 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.102e-05/0.2089, allocations: 7.938 kB / 0.6966 GB, free: 13.56 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006243/0.2096, allocations: 211.2 kB / 0.6968 GB, free: 13.36 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.941e-05/0.2096, allocations: 35.86 kB / 0.6968 GB, free: 13.32 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.612e-05/0.2097, allocations: 4.219 kB / 0.6968 GB, free: 13.32 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.421e-05/0.2098, allocations: 19.98 kB / 0.6969 GB, free: 13.3 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.864e-05/0.2098, allocations: 15.91 kB / 0.6969 GB, free: 13.28 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.341e-05/0.2098, allocations: 7.938 kB / 0.6969 GB, free: 13.27 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006288/0.2105, allocations: 419.5 kB / 0.6973 GB, free: 12.86 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.427e-05/0.2105, allocations: 7.938 kB / 0.6973 GB, free: 12.86 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.763e-05/0.2105, allocations: 11.88 kB / 0.6973 GB, free: 12.84 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003231/0.2109, allocations: 199.6 kB / 0.6975 GB, free: 12.65 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.2109, allocations: 4 kB / 0.6975 GB, free: 12.64 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.283e-06/0.2109, allocations: 0 / 0.6975 GB, free: 12.64 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.2109, allocations: 0 / 0.6975 GB, free: 12.64 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004897/0.2114, allocations: 391.3 kB / 0.6979 GB, free: 12.21 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.2114, allocations: 8.031 kB / 0.6979 GB, free: 12.21 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.244e-05/0.2115, allocations: 4.844 kB / 0.6979 GB, free: 12.2 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/0.2116, allocations: 168.4 kB / 0.698 GB, free: 12 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.2116, allocations: 4.312 kB / 0.6981 GB, free: 12 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.221e-05/0.2117, allocations: 4.375 kB / 0.6981 GB, free: 11.99 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001129/0.2118, allocations: 42 kB / 0.6981 GB, free: 11.95 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.2118, allocations: 0 / 0.6981 GB, free: 11.95 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.2118, allocations: 0 / 0.6981 GB, free: 11.95 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.2118, allocations: 4 kB / 0.6981 GB, free: 11.94 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.916e-05/0.2119, allocations: 12 kB / 0.6981 GB, free: 11.93 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001759/0.2121, allocations: 157.7 kB / 0.6983 GB, free: 11.73 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001014/0.2122, allocations: 42.55 kB / 0.6983 GB, free: 11.68 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.57e-05/0.2122, allocations: 16.89 kB / 0.6983 GB, free: 11.66 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001045/0.2133, allocations: 0.9933 MB / 0.6993 GB, free: 10.44 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.206e-05/0.2133, allocations: 34.5 kB / 0.6993 GB, free: 10.4 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 1.403e-06/0.2133, allocations: 4 kB / 0.6993 GB, free: 10.39 MB / 0.545 GB Notification: Performance of matching and sorting (n=4): time 0.0001828/0.2135, allocations: 65.72 kB / 0.6994 GB, free: 10.32 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.854e-05/0.2135, allocations: 55.41 kB / 0.6994 GB, free: 10.26 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.376e-05/0.2136, allocations: 109.8 kB / 0.6995 GB, free: 10.14 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/0.2137, allocations: 29.64 kB / 0.6996 GB, free: 10.11 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.387e-05/0.2137, allocations: 80.14 kB / 0.6997 GB, free: 10.02 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.529e-05/0.2138, allocations: 23.75 kB / 0.6997 GB, free: 10 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.29e-05/0.2138, allocations: 9.719 kB / 0.6997 GB, free: 9.984 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.2139, allocations: 322.8 kB / 0.7 GB, free: 9.66 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.155e-05/0.214, allocations: 8 kB / 0.7 GB, free: 9.652 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.567e-05/0.214, allocations: 4 kB / 0.7 GB, free: 9.648 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.882e-05/0.214, allocations: 24.84 kB / 0.7 GB, free: 9.621 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.214, allocations: 4 kB / 0.7 GB, free: 9.617 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.947e-05/0.2141, allocations: 41.7 kB / 0.7001 GB, free: 9.57 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.2141, allocations: 11.94 kB / 0.7001 GB, free: 9.559 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.2142, allocations: 3.984 kB / 0.7001 GB, free: 9.555 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.2142, allocations: 0 / 0.7001 GB, free: 9.555 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.2143, allocations: 15.94 kB / 0.7001 GB, free: 9.539 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.2143, allocations: 4 kB / 0.7001 GB, free: 9.535 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.101e-05/0.2143, allocations: 0 / 0.7001 GB, free: 9.535 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.2144, allocations: 3.938 kB / 0.7001 GB, free: 9.531 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 (4): * Single equations (assignments): 4 * 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 prepare postOptimizeDAE: time 7.853e-05/0.2144, allocations: 109.8 kB / 0.7002 GB, free: 9.414 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.611e-05/0.2145, allocations: 15.83 kB / 0.7002 GB, free: 9.398 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001281/0.2146, allocations: 61.59 kB / 0.7003 GB, free: 9.328 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.2146, allocations: 4 kB / 0.7003 GB, free: 9.324 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.2146, allocations: 0 / 0.7003 GB, free: 9.324 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.255e-06/0.2146, allocations: 0 / 0.7003 GB, free: 9.324 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001334/0.2148, allocations: 161.7 kB / 0.7004 GB, free: 9.117 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.2148, allocations: 0 / 0.7004 GB, free: 9.117 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.683e-05/0.2148, allocations: 19.92 kB / 0.7005 GB, free: 9.098 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.2149, allocations: 3.938 kB / 0.7005 GB, free: 9.094 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.2149, allocations: 0 / 0.7005 GB, free: 9.094 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.2149, allocations: 0 / 0.7005 GB, free: 9.094 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.2149, allocations: 3.938 kB / 0.7005 GB, free: 9.09 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000108/0.215, allocations: 73.12 kB / 0.7005 GB, free: 9 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.385e-05/0.2151, allocations: 92.95 kB / 0.7006 GB, free: 8.891 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.526e-05/0.2151, allocations: 3.984 kB / 0.7006 GB, free: 8.887 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.148e-05/0.2151, allocations: 0 / 0.7006 GB, free: 8.887 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.042e-05/0.2151, allocations: 4 kB / 0.7006 GB, free: 8.883 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.175e-06/0.2151, allocations: 0 / 0.7006 GB, free: 8.883 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.423e-05/0.2152, allocations: 87.27 kB / 0.7007 GB, free: 8.797 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2152, allocations: 0 / 0.7007 GB, free: 8.797 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002311/0.2154, allocations: 39.92 kB / 0.7008 GB, free: 8.758 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 (4): * Single equations (assignments): 4 * 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.0002677/0.2157, allocations: 156.7 kB / 0.7009 GB, free: 8.598 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001005/0.2158, allocations: 23.98 kB / 0.7009 GB, free: 8.574 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.2158, allocations: 0 / 0.7009 GB, free: 8.574 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.269e-05/0.2159, allocations: 12.38 kB / 0.7009 GB, free: 8.562 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002337/0.2161, allocations: 4 kB / 0.7009 GB, free: 8.559 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003662/0.2165, allocations: 189.8 kB / 0.7011 GB, free: 8.34 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002944/0.2168, allocations: 0.6807 MB / 0.7018 GB, free: 7.633 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.588e-05/0.2168, allocations: 11.44 kB / 0.7018 GB, free: 7.621 MB / 0.545 GB Notification: Performance of SimCode: time 2.21e-07/0.2168, allocations: 0 / 0.7018 GB, free: 7.621 MB / 0.545 GB Notification: Performance of Templates: time 0.002685/0.2195, allocations: 1.043 MB / 0.7028 GB, free: 6.59 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1)