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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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.7768/0.7768, allocations: 140.1 MB / 156 MB, free: 8.395 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001317/0.001317, allocations: 178.5 kB / 188.5 MB, free: 8.996 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.656/1.656, allocations: 205.4 MB / 426.3 MB, free: 8.066 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000873/0.0008731, allocations: 98.36 kB / 0.4945 GB, free: 8 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001638/0.001638, allocations: 270.3 kB / 0.5728 GB, free: 66.13 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004798/0.0004799, allocations: 20 kB / 0.6621 GB, free: 6.66 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4511/0.4516, allocations: 79.29 MB / 0.7395 GB, free: 46.31 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1372/0.5888, allocations: 111.6 MB / 0.8485 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002912/0.5892, allocations: 119.8 kB / 0.8486 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01745/0.6066, allocations: 5.932 MB / 0.8544 GB, free: 8.465 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.766e-06/0.6067, allocations: 0 / 0.8544 GB, free: 8.465 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.256e-06/0.6067, allocations: 0 / 0.8544 GB, free: 8.465 MB / 0.5261 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.0004686/0.6072, allocations: 403.2 kB / 0.8548 GB, free: 8.02 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.6072, allocations: 12.03 kB / 0.8548 GB, free: 8.008 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.251e-05/0.6073, allocations: 0.9375 kB / 0.8548 GB, free: 8.008 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.6074, allocations: 176.2 kB / 0.855 GB, free: 7.797 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.6074, allocations: 4.375 kB / 0.855 GB, free: 7.793 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.17e-05/0.6074, allocations: 384 / 0.855 GB, free: 7.793 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001202/0.6075, allocations: 42.25 kB / 0.855 GB, free: 7.746 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.6076, allocations: 192 / 0.855 GB, free: 7.746 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.6076, allocations: 3.938 kB / 0.8551 GB, free: 7.742 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.6076, allocations: 0 / 0.8551 GB, free: 7.742 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.686e-05/0.6076, allocations: 11.98 kB / 0.8551 GB, free: 7.73 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001916/0.6078, allocations: 161.7 kB / 0.8552 GB, free: 7.523 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 8.899e-05/0.6079, allocations: 46.5 kB / 0.8553 GB, free: 7.469 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.102e-05/0.608, allocations: 12.89 kB / 0.8553 GB, free: 7.453 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008418/0.6088, allocations: 0.9856 MB / 0.8562 GB, free: 6.246 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.6089, allocations: 38.56 kB / 0.8563 GB, free: 6.199 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 1.452e-06/0.6089, allocations: 0 / 0.8563 GB, free: 6.199 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4): time 0.000179/0.6091, allocations: 57.62 kB / 0.8563 GB, free: 6.137 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.322e-05/0.6091, allocations: 51.41 kB / 0.8564 GB, free: 6.074 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.233e-05/0.6092, allocations: 109.8 kB / 0.8565 GB, free: 5.957 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.197e-05/0.6092, allocations: 25.7 kB / 0.8565 GB, free: 5.926 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.583e-05/0.6093, allocations: 88.12 kB / 0.8566 GB, free: 5.836 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.701e-05/0.6093, allocations: 15.81 kB / 0.8566 GB, free: 5.82 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-06/0.6093, allocations: 0 / 0.8566 GB, free: 5.82 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.6094, allocations: 322.8 kB / 0.8569 GB, free: 5.496 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.913e-05/0.6094, allocations: 4 kB / 0.8569 GB, free: 5.492 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.524e-05/0.6095, allocations: 4 kB / 0.8569 GB, free: 5.488 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.942e-05/0.6095, allocations: 24.86 kB / 0.8569 GB, free: 5.461 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.6095, allocations: 0 / 0.8569 GB, free: 5.461 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.791e-05/0.6096, allocations: 53.59 kB / 0.857 GB, free: 5.402 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.6096, allocations: 4 kB / 0.857 GB, free: 5.398 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.6097, allocations: 11.88 kB / 0.857 GB, free: 5.387 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.6097, allocations: 0 / 0.857 GB, free: 5.387 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.6098, allocations: 19.92 kB / 0.857 GB, free: 5.367 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.6098, allocations: 0 / 0.857 GB, free: 5.367 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.315e-05/0.6098, allocations: 0 / 0.857 GB, free: 5.367 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-06/0.6098, allocations: 4 kB / 0.857 GB, free: 5.363 MB / 0.5261 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.09e-05/0.6099, allocations: 109.8 kB / 0.8571 GB, free: 5.246 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.112e-05/0.6099, allocations: 4 kB / 0.8571 GB, free: 5.242 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001323/0.6101, allocations: 69.52 kB / 0.8572 GB, free: 5.164 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.6101, allocations: 4 kB / 0.8572 GB, free: 5.16 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.6101, allocations: 0 / 0.8572 GB, free: 5.16 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.289e-06/0.6101, allocations: 0 / 0.8572 GB, free: 5.16 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001221/0.6102, allocations: 161.6 kB / 0.8574 GB, free: 4.953 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.6102, allocations: 0 / 0.8574 GB, free: 4.953 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.638e-05/0.6103, allocations: 15.98 kB / 0.8574 GB, free: 4.938 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.6103, allocations: 0 / 0.8574 GB, free: 4.938 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.6103, allocations: 3.938 kB / 0.8574 GB, free: 4.934 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.6104, allocations: 0 / 0.8574 GB, free: 4.934 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.6104, allocations: 4 kB / 0.8574 GB, free: 4.93 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001063/0.6105, allocations: 81.03 kB / 0.8575 GB, free: 4.832 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.824e-05/0.6105, allocations: 77.11 kB / 0.8575 GB, free: 4.738 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.466e-05/0.6105, allocations: 4.359 kB / 0.8575 GB, free: 4.734 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.192e-05/0.6106, allocations: 0 / 0.8575 GB, free: 4.734 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.748e-05/0.6106, allocations: 7.984 kB / 0.8576 GB, free: 4.727 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.6106, allocations: 0 / 0.8576 GB, free: 4.727 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 5.129e-05/0.6107, allocations: 83.28 kB / 0.8576 GB, free: 4.645 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.744e-06/0.6107, allocations: 0 / 0.8576 GB, free: 4.645 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002628/0.6109, allocations: 59.86 kB / 0.8577 GB, free: 4.586 MB / 0.5261 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 (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.0002714/0.6112, allocations: 159.1 kB / 0.8578 GB, free: 4.418 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 9.234e-05/0.6113, allocations: 23.98 kB / 0.8579 GB, free: 4.395 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.6113, allocations: 0 / 0.8579 GB, free: 4.395 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.385e-05/0.6114, allocations: 15.98 kB / 0.8579 GB, free: 4.379 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002432/0.6116, allocations: 6.828 kB / 0.8579 GB, free: 4.375 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003502/0.612, allocations: 174.3 kB / 0.8581 GB, free: 4.176 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002434/0.6122, allocations: 0.6809 MB / 0.8587 GB, free: 3.469 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.467e-05/0.6123, allocations: 4 kB / 0.8587 GB, free: 3.465 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.018e-05/0.6123, allocations: 7.438 kB / 0.8587 GB, free: 3.457 MB / 0.5261 GB Notification: Performance of SimCode: time 4.51e-07/0.6123, allocations: 0 / 0.8587 GB, free: 3.457 MB / 0.5261 GB Notification: Performance of Templates: time 0.003416/0.6157, allocations: 1.071 MB / 0.8598 GB, free: 2.441 MB / 0.5261 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)