Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.conf.json 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/IDEAS 3.0.0-master/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) 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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001205/0.001205, allocations: 183.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7092/0.7092, allocations: 133.3 MB / 150.1 MB, free: 11.18 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.439/1.439, allocations: 222.9 MB / 404.7 MB, free: 6.09 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 107.3 kB / 485.9 MB, free: 7.227 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001024/0.001025, allocations: 55.92 kB / 0.5637 GB, free: 69.86 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.1493, allocations: 80.42 MB / 0.6422 GB, free: 5.375 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.00241/0.1517, allocations: 1.421 MB / 0.6436 GB, free: 3.934 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001636/0.1534, allocations: 1.112 MB / 0.6447 GB, free: 2.816 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.802e-05/0.1534, allocations: 0 / 0.6447 GB, free: 2.816 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.324e-05/0.1535, allocations: 0 / 0.6447 GB, free: 2.816 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 5.912e-05/0.1535, allocations: 11.92 kB / 0.6447 GB, free: 2.805 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004587/0.154, allocations: 144.5 kB / 0.6448 GB, free: 2.664 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 5.98e-05/0.1541, allocations: 35.8 kB / 0.6449 GB, free: 2.629 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.277e-05/0.1541, allocations: 15.97 kB / 0.6449 GB, free: 2.613 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.354e-05/0.1542, allocations: 4 kB / 0.6449 GB, free: 2.609 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.552e-05/0.1543, allocations: 19.92 kB / 0.6449 GB, free: 2.59 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.05e-05/0.1543, allocations: 0 / 0.6449 GB, free: 2.59 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005472/0.1548, allocations: 423.4 kB / 0.6453 GB, free: 2.176 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.171e-05/0.1548, allocations: 3.938 kB / 0.6453 GB, free: 2.172 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.775e-05/0.1549, allocations: 11.94 kB / 0.6453 GB, free: 2.16 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002762/0.1552, allocations: 191.9 kB / 0.6455 GB, free: 1.973 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1552, allocations: 4 kB / 0.6455 GB, free: 1.969 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1552, allocations: 4 kB / 0.6455 GB, free: 1.965 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.1552, allocations: 0 / 0.6455 GB, free: 1.965 MB / 442.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.0004483/0.1556, allocations: 383.3 kB / 0.6459 GB, free: 1.543 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.1557, allocations: 12.02 kB / 0.6459 GB, free: 1.531 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.121e-05/0.1557, allocations: 0.9375 kB / 0.6459 GB, free: 1.531 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001136/0.1558, allocations: 172.2 kB / 0.646 GB, free: 1.324 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.886e-06/0.1559, allocations: 8.312 kB / 0.646 GB, free: 1.316 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.431e-05/0.1559, allocations: 8.125 kB / 0.6461 GB, free: 1.309 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.805e-05/0.156, allocations: 37.62 kB / 0.6461 GB, free: 1.266 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.156, allocations: 4 kB / 0.6461 GB, free: 1.262 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.096e-06/0.156, allocations: 0 / 0.6461 GB, free: 1.262 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.156, allocations: 7.922 kB / 0.6461 GB, free: 1.254 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.147e-05/0.1561, allocations: 12 kB / 0.6461 GB, free: 1.242 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001605/0.1563, allocations: 161.7 kB / 0.6463 GB, free: 1.035 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.311e-05/0.1564, allocations: 38.58 kB / 0.6463 GB, free: 0.9883 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.226e-05/0.1564, allocations: 20.86 kB / 0.6463 GB, free: 0.9648 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008598/0.1573, allocations: 0.9856 MB / 0.6473 GB, free: 15.76 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.33e-05/0.1573, allocations: 34.5 kB / 0.6473 GB, free: 15.71 MB / 458.7 MB Notification: Performance of pre-optimization done (n=4): time 1.233e-06/0.1573, allocations: 4 kB / 0.6473 GB, free: 15.71 MB / 458.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001594/0.1575, allocations: 57.69 kB / 0.6474 GB, free: 15.65 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.046e-05/0.1575, allocations: 51.41 kB / 0.6474 GB, free: 15.59 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.14e-05/0.1576, allocations: 105.8 kB / 0.6475 GB, free: 15.47 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.193e-05/0.1576, allocations: 25.7 kB / 0.6476 GB, free: 15.44 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.292e-05/0.1577, allocations: 84.14 kB / 0.6476 GB, free: 15.36 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.109e-05/0.1577, allocations: 11.81 kB / 0.6476 GB, free: 15.34 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.143e-05/0.1577, allocations: 21.7 kB / 0.6477 GB, free: 15.32 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.086e-05/0.1578, allocations: 314.8 kB / 0.648 GB, free: 15 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.036e-05/0.1579, allocations: 4 kB / 0.648 GB, free: 15 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.698e-05/0.1579, allocations: 8 kB / 0.648 GB, free: 14.99 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.297e-05/0.1579, allocations: 28.78 kB / 0.648 GB, free: 14.95 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1579, allocations: 0 / 0.648 GB, free: 14.95 MB / 458.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.648e-05/0.158, allocations: 53.55 kB / 0.6481 GB, free: 14.89 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.158, allocations: 7.984 kB / 0.6481 GB, free: 14.89 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.158, allocations: 0 / 0.6481 GB, free: 14.89 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.1581, allocations: 4 kB / 0.6481 GB, free: 14.88 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.1582, allocations: 12 kB / 0.6481 GB, free: 14.87 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.1582, allocations: 4 kB / 0.6481 GB, free: 14.87 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.106e-05/0.1582, allocations: 0 / 0.6481 GB, free: 14.87 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.1582, allocations: 0 / 0.6481 GB, free: 14.87 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 6.903e-05/0.1583, allocations: 127 kB / 0.6482 GB, free: 14.73 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.102e-05/0.1583, allocations: 3.938 kB / 0.6482 GB, free: 14.73 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001216/0.1584, allocations: 63.16 kB / 0.6483 GB, free: 14.66 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.1584, allocations: 0 / 0.6483 GB, free: 14.66 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.1585, allocations: 0 / 0.6483 GB, free: 14.66 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.1585, allocations: 4.375 kB / 0.6483 GB, free: 14.66 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001103/0.1586, allocations: 169.6 kB / 0.6484 GB, free: 14.45 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.1586, allocations: 0 / 0.6484 GB, free: 14.45 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.947e-05/0.1587, allocations: 16 kB / 0.6485 GB, free: 14.43 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.1587, allocations: 0 / 0.6485 GB, free: 14.43 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.1587, allocations: 4 kB / 0.6485 GB, free: 14.43 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1587, allocations: 0 / 0.6485 GB, free: 14.43 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1587, allocations: 0 / 0.6485 GB, free: 14.43 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003226/0.159, allocations: 0.6434 MB / 0.6491 GB, free: 13.72 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.015e-05/0.1591, allocations: 88.94 kB / 0.6492 GB, free: 13.62 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.249e-05/0.1591, allocations: 3.938 kB / 0.6492 GB, free: 13.61 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.216e-05/0.1591, allocations: 0 / 0.6492 GB, free: 13.61 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.93e-05/0.1591, allocations: 4 kB / 0.6492 GB, free: 13.61 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.1592, allocations: 0 / 0.6492 GB, free: 13.61 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.968e-05/0.1592, allocations: 95.5 kB / 0.6493 GB, free: 13.52 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1592, allocations: 0 / 0.6493 GB, free: 13.52 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003135/0.1595, allocations: 44 kB / 0.6493 GB, free: 13.47 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.0002252/0.1598, allocations: 147.1 kB / 0.6494 GB, free: 13.32 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 8.086e-05/0.1598, allocations: 19.98 kB / 0.6495 GB, free: 13.3 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1599, allocations: 0 / 0.6495 GB, free: 13.3 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.282e-05/0.1599, allocations: 15.94 kB / 0.6495 GB, free: 13.28 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002647/0.1602, allocations: 5.406 kB / 0.6495 GB, free: 13.28 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000391/0.1606, allocations: 264.7 kB / 0.6497 GB, free: 12.98 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001981/0.1608, allocations: 0.677 MB / 0.6504 GB, free: 12.28 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.368e-05/0.1608, allocations: 4.25 kB / 0.6504 GB, free: 12.27 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.959e-05/0.1608, allocations: 11.44 kB / 0.6504 GB, free: 12.26 MB / 458.7 MB Notification: Performance of SimCode: time 2.21e-07/0.1608, allocations: 4 kB / 0.6504 GB, free: 12.26 MB / 458.7 MB Notification: Performance of Templates: time 0.003013/0.1639, allocations: 1.112 MB / 0.6515 GB, free: 11.2 MB / 458.7 MB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1)