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.8145/0.8145, allocations: 141.8 MB / 149.3 MB, free: 9.203 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.001065/0.001066, allocations: 176.9 kB / 182.2 MB, free: 9.441 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.557/1.557, allocations: 221.5 MB / 436.4 MB, free: 13.28 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.000788/0.000788, allocations: 88.14 kB / 0.5074 GB, free: 10.11 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001683/0.001683, allocations: 275.3 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.087e-05/2.094e-05, allocations: 8 kB / 0.6766 GB, free: 12.78 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4481/0.4481, allocations: 82.78 MB / 0.7574 GB, free: 32.03 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1511/0.5993, allocations: 112.3 MB / 0.8671 GB, free: 15.53 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003061/0.5996, allocations: 123.7 kB / 0.8673 GB, free: 15.41 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01847/0.6181, allocations: 6.244 MB / 0.8734 GB, free: 9.16 MB / 0.5417 GB Notification: Performance of FrontEnd: time 9.32e-07/0.6181, allocations: 0 / 0.8734 GB, free: 9.16 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.975e-05/0.6182, allocations: 0 / 0.8734 GB, free: 9.16 MB / 0.5417 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.0004496/0.6186, allocations: 390.2 kB / 0.8737 GB, free: 8.734 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.6187, allocations: 8.031 kB / 0.8737 GB, free: 8.727 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.61e-05/0.6187, allocations: 7.906 kB / 0.8737 GB, free: 8.719 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001357/0.6189, allocations: 167.1 kB / 0.8739 GB, free: 8.516 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/0.6189, allocations: 7.953 kB / 0.8739 GB, free: 8.508 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.015e-05/0.6189, allocations: 0 / 0.8739 GB, free: 8.508 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.911e-05/0.619, allocations: 15.98 kB / 0.8739 GB, free: 8.492 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.909e-05/0.6191, allocations: 33.69 kB / 0.874 GB, free: 8.453 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.6191, allocations: 3.938 kB / 0.874 GB, free: 8.449 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.6191, allocations: 0 / 0.874 GB, free: 8.449 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.6191, allocations: 7.938 kB / 0.874 GB, free: 8.441 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001904/0.6193, allocations: 134.3 kB / 0.8741 GB, free: 8.273 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 9.463e-05/0.6194, allocations: 42.56 kB / 0.8741 GB, free: 8.223 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.517e-05/0.6195, allocations: 12.89 kB / 0.8742 GB, free: 8.207 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001061/0.6205, allocations: 0.9857 MB / 0.8751 GB, free: 7 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.309e-05/0.6206, allocations: 34.56 kB / 0.8751 GB, free: 6.957 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.6206, allocations: 0 / 0.8751 GB, free: 6.957 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4): time 0.0002938/0.6209, allocations: 53.53 kB / 0.8752 GB, free: 6.898 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.845e-05/0.6209, allocations: 55.34 kB / 0.8753 GB, free: 6.832 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.954e-05/0.621, allocations: 97 kB / 0.8753 GB, free: 6.73 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.6211, allocations: 25.7 kB / 0.8754 GB, free: 6.699 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 6.275e-05/0.6211, allocations: 92.12 kB / 0.8755 GB, free: 6.605 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.709e-05/0.6212, allocations: 11.84 kB / 0.8755 GB, free: 6.594 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-06/0.6212, allocations: 0 / 0.8755 GB, free: 6.594 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.6213, allocations: 314.8 kB / 0.8758 GB, free: 6.277 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.217e-05/0.6214, allocations: 4 kB / 0.8758 GB, free: 6.273 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.577e-05/0.6214, allocations: 4 kB / 0.8758 GB, free: 6.27 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.966e-05/0.6215, allocations: 11.98 kB / 0.8758 GB, free: 6.258 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.6215, allocations: 0 / 0.8758 GB, free: 6.258 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001261/0.6217, allocations: 53.59 kB / 0.8758 GB, free: 6.199 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.6217, allocations: 8 kB / 0.8758 GB, free: 6.191 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.6217, allocations: 11.95 kB / 0.8759 GB, free: 6.18 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.6217, allocations: 0 / 0.8759 GB, free: 6.18 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.6218, allocations: 15.98 kB / 0.8759 GB, free: 6.164 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.6219, allocations: 3.938 kB / 0.8759 GB, free: 6.16 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.455e-05/0.6219, allocations: 0 / 0.8759 GB, free: 6.16 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.6219, allocations: 0 / 0.8759 GB, free: 6.16 MB / 0.5417 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.011e-05/0.622, allocations: 105 kB / 0.876 GB, free: 6.051 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.155e-05/0.622, allocations: 0 / 0.876 GB, free: 6.051 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002092/0.6222, allocations: 70.02 kB / 0.876 GB, free: 5.969 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/0.6222, allocations: 3.953 kB / 0.876 GB, free: 5.965 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.6222, allocations: 0 / 0.876 GB, free: 5.965 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.6223, allocations: 0 / 0.876 GB, free: 5.965 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001013/0.6224, allocations: 150.1 kB / 0.8762 GB, free: 5.781 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.6224, allocations: 0 / 0.8762 GB, free: 5.781 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.183e-05/0.6224, allocations: 12 kB / 0.8762 GB, free: 5.77 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.6225, allocations: 0 / 0.8762 GB, free: 5.77 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.572e-06/0.6225, allocations: 0 / 0.8762 GB, free: 5.77 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.6225, allocations: 0 / 0.8762 GB, free: 5.77 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.6225, allocations: 3.938 kB / 0.8762 GB, free: 5.766 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001448/0.6226, allocations: 89.28 kB / 0.8763 GB, free: 5.66 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.768e-05/0.6227, allocations: 77.11 kB / 0.8764 GB, free: 5.566 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.496e-05/0.6227, allocations: 0 / 0.8764 GB, free: 5.566 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.158e-05/0.6227, allocations: 0 / 0.8764 GB, free: 5.566 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.54e-05/0.6228, allocations: 4 kB / 0.8764 GB, free: 5.562 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.477e-06/0.6228, allocations: 0 / 0.8764 GB, free: 5.562 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.977e-05/0.6228, allocations: 94.89 kB / 0.8765 GB, free: 5.473 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6228, allocations: 4 kB / 0.8765 GB, free: 5.469 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002733/0.6231, allocations: 51.88 kB / 0.8765 GB, free: 5.418 MB / 0.5417 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 () * 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 (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.0002906/0.6234, allocations: 155.1 kB / 0.8767 GB, free: 5.258 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 8.654e-05/0.6235, allocations: 19.94 kB / 0.8767 GB, free: 5.238 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.6235, allocations: 0 / 0.8767 GB, free: 5.238 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.854e-05/0.6235, allocations: 11.98 kB / 0.8767 GB, free: 5.227 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001611/0.6237, allocations: 5 kB / 0.8767 GB, free: 5.223 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002305/0.6239, allocations: 67.91 kB / 0.8768 GB, free: 5.133 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002533/0.6242, allocations: 0.6807 MB / 0.8774 GB, free: 4.426 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 4.113e-05/0.6243, allocations: 9.672 kB / 0.8774 GB, free: 4.418 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.416e-05/0.6243, allocations: 11.44 kB / 0.8774 GB, free: 4.406 MB / 0.5417 GB Notification: Performance of SimCode: time 2.51e-07/0.6243, allocations: 0 / 0.8774 GB, free: 4.406 MB / 0.5417 GB Notification: Performance of Templates: time 0.003545/0.6278, allocations: 1.027 MB / 0.8784 GB, free: 3.434 MB / 0.5417 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)