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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.7651/0.7651, allocations: 143.4 MB / 159.2 MB, free: 4.871 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 184.5 kB / 191.9 MB, free: 5.73 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.335/1.335, allocations: 222.9 MB / 447.3 MB, free: 5.855 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 107.2 kB / 0.517 GB, free: 3.715 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001915/0.001915, allocations: 281.1 kB / 0.5973 GB, free: 49.38 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 83.89 kB / 0.6886 GB, free: 3.789 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3497/0.3511, allocations: 81.29 MB / 0.768 GB, free: 27.66 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002599/0.3537, allocations: 1.422 MB / 0.7694 GB, free: 26.23 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.001375/0.3551, allocations: 1.106 MB / 0.7704 GB, free: 25.12 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.922e-05/0.3551, allocations: 0 / 0.7704 GB, free: 25.12 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 2.289e-05/0.3552, allocations: 3.938 kB / 0.7704 GB, free: 25.12 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 4.966e-05/0.3552, allocations: 7.922 kB / 0.7705 GB, free: 25.11 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004358/0.3557, allocations: 147.6 kB / 0.7706 GB, free: 24.96 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 5.167e-05/0.3557, allocations: 31.88 kB / 0.7706 GB, free: 24.93 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.979e-05/0.3558, allocations: 11.91 kB / 0.7706 GB, free: 24.92 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.301e-05/0.3558, allocations: 8 kB / 0.7706 GB, free: 24.91 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.444e-05/0.3559, allocations: 15.92 kB / 0.7707 GB, free: 24.9 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.255e-05/0.3559, allocations: 0 / 0.7707 GB, free: 24.9 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004897/0.3564, allocations: 423.4 kB / 0.7711 GB, free: 24.48 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.151e-05/0.3564, allocations: 7.938 kB / 0.7711 GB, free: 24.48 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 2.5e-05/0.3565, allocations: 15.88 kB / 0.7711 GB, free: 24.46 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002452/0.3567, allocations: 190.3 kB / 0.7713 GB, free: 24.28 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3567, allocations: 4 kB / 0.7713 GB, free: 24.27 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3567, allocations: 0 / 0.7713 GB, free: 24.27 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.597e-06/0.3568, allocations: 0 / 0.7713 GB, free: 24.27 MB / 458.7 MB 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.0003647/0.3571, allocations: 390 kB / 0.7716 GB, free: 23.85 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.3572, allocations: 8.031 kB / 0.7717 GB, free: 23.84 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.962e-05/0.3572, allocations: 8.844 kB / 0.7717 GB, free: 23.83 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.569e-05/0.3573, allocations: 160.4 kB / 0.7718 GB, free: 23.64 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.3573, allocations: 8.375 kB / 0.7718 GB, free: 23.63 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.313e-05/0.3573, allocations: 384 / 0.7718 GB, free: 23.63 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.439e-05/0.3574, allocations: 45.94 kB / 0.7719 GB, free: 23.58 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.3574, allocations: 4 kB / 0.7719 GB, free: 23.57 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.3575, allocations: 0 / 0.7719 GB, free: 23.57 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.3575, allocations: 0 / 0.7719 GB, free: 23.57 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.531e-05/0.3575, allocations: 19.97 kB / 0.7719 GB, free: 23.55 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001382/0.3577, allocations: 161.7 kB / 0.772 GB, free: 23.35 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.002e-05/0.3577, allocations: 38.61 kB / 0.7721 GB, free: 23.3 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.047e-05/0.3578, allocations: 20.83 kB / 0.7721 GB, free: 23.28 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006716/0.3585, allocations: 0.9855 MB / 0.7731 GB, free: 22.07 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.264e-05/0.3585, allocations: 42.5 kB / 0.7731 GB, free: 22.02 MB / 458.7 MB Notification: Performance of pre-optimization done (n=4): time 1.083e-06/0.3585, allocations: 0 / 0.7731 GB, free: 22.02 MB / 458.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001542/0.3587, allocations: 57.59 kB / 0.7732 GB, free: 21.96 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.401e-05/0.3587, allocations: 55.41 kB / 0.7732 GB, free: 21.89 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.56e-05/0.3587, allocations: 105.8 kB / 0.7733 GB, free: 21.78 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 8.065e-06/0.3588, allocations: 25.7 kB / 0.7733 GB, free: 21.75 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.124e-05/0.3588, allocations: 80.14 kB / 0.7734 GB, free: 21.66 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.554e-05/0.3588, allocations: 15.81 kB / 0.7734 GB, free: 21.65 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.765e-05/0.3588, allocations: 21.7 kB / 0.7734 GB, free: 21.62 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 4.852e-05/0.3589, allocations: 322.8 kB / 0.7738 GB, free: 21.3 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.778e-05/0.3589, allocations: 4 kB / 0.7738 GB, free: 21.29 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.596e-05/0.3589, allocations: 8 kB / 0.7738 GB, free: 21.29 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.69e-05/0.359, allocations: 20.84 kB / 0.7738 GB, free: 21.26 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.359, allocations: 4 kB / 0.7738 GB, free: 21.26 MB / 458.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.179e-05/0.3591, allocations: 45.69 kB / 0.7738 GB, free: 21.21 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.3591, allocations: 11.94 kB / 0.7738 GB, free: 21.2 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.3591, allocations: 0 / 0.7738 GB, free: 21.2 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.3591, allocations: 0 / 0.7738 GB, free: 21.2 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.3592, allocations: 19.94 kB / 0.7739 GB, free: 21.18 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.3592, allocations: 0 / 0.7739 GB, free: 21.18 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.09e-05/0.3593, allocations: 0 / 0.7739 GB, free: 21.18 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.3593, allocations: 7.938 kB / 0.7739 GB, free: 21.17 MB / 458.7 MB 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 4.818e-05/0.3593, allocations: 114.9 kB / 0.774 GB, free: 21.05 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.989e-06/0.3593, allocations: 11.84 kB / 0.774 GB, free: 21.04 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000106/0.3594, allocations: 61.59 kB / 0.7741 GB, free: 20.96 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.3595, allocations: 0 / 0.7741 GB, free: 20.96 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.696e-06/0.3595, allocations: 4 kB / 0.7741 GB, free: 20.96 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.3595, allocations: 0 / 0.7741 GB, free: 20.96 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.208e-05/0.3595, allocations: 165.6 kB / 0.7742 GB, free: 20.75 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.3596, allocations: 0 / 0.7742 GB, free: 20.75 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.72e-05/0.3596, allocations: 15.94 kB / 0.7742 GB, free: 20.73 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.3596, allocations: 4.312 kB / 0.7742 GB, free: 20.73 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.3596, allocations: 0 / 0.7742 GB, free: 20.73 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.3597, allocations: 0 / 0.7742 GB, free: 20.73 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.3597, allocations: 3.938 kB / 0.7742 GB, free: 20.73 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002236/0.3599, allocations: 0.6434 MB / 0.7749 GB, free: 20.02 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.888e-05/0.3599, allocations: 81.09 kB / 0.7749 GB, free: 19.93 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.228e-05/0.3599, allocations: 4 kB / 0.7749 GB, free: 19.92 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.127e-05/0.36, allocations: 0 / 0.7749 GB, free: 19.92 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.588e-05/0.36, allocations: 0 / 0.7749 GB, free: 19.92 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-06/0.36, allocations: 4 kB / 0.7749 GB, free: 19.92 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.283e-05/0.36, allocations: 87.58 kB / 0.775 GB, free: 19.83 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.36, allocations: 4 kB / 0.775 GB, free: 19.83 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003277/0.3603, allocations: 35.94 kB / 0.7751 GB, free: 19.79 MB / 458.7 MB 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.0001929/0.3605, allocations: 151.7 kB / 0.7752 GB, free: 19.64 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 7.527e-05/0.3606, allocations: 23.98 kB / 0.7752 GB, free: 19.61 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3606, allocations: 0 / 0.7752 GB, free: 19.61 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 1.929e-05/0.3607, allocations: 15.94 kB / 0.7753 GB, free: 19.6 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001955/0.3609, allocations: 7.047 kB / 0.7753 GB, free: 19.59 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003117/0.3612, allocations: 264.9 kB / 0.7755 GB, free: 19.29 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001111/0.3613, allocations: 0.6809 MB / 0.7762 GB, free: 18.59 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.43e-05/0.3613, allocations: 12.72 kB / 0.7762 GB, free: 18.57 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.688e-05/0.3614, allocations: 11.44 kB / 0.7762 GB, free: 18.56 MB / 458.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3614, allocations: 4 kB / 0.7762 GB, free: 18.56 MB / 458.7 MB Notification: Performance of Templates: time 0.002884/0.3643, allocations: 1.121 MB / 0.7773 GB, free: 17.49 MB / 458.7 MB 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)