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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00162/0.00162, allocations: 177 kB / 23.49 MB, free: 1.059 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9631/0.9631, allocations: 177.1 MB / 203.8 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8544/0.8544, allocations: 154.8 MB / 415.1 MB, free: 0.5156 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,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=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.138e-06/4.138e-06, allocations: 4.859 kB / 0.5207 GB, free: 2.25 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.524e-05/2.938e-05, allocations: 7.125 kB / 0.5207 GB, free: 2.246 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002719/0.002749, allocations: 1.406 MB / 0.522 GB, free: 0.8516 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00193/0.004679, allocations: 1.102 MB / 0.5231 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.679e-05/0.004725, allocations: 0 / 0.5231 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.305e-05/0.004748, allocations: 0 / 0.5231 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 5.608e-05/0.004804, allocations: 11.86 kB / 0.5231 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007258/0.00553, allocations: 225.5 kB / 0.5233 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 6.41e-05/0.005594, allocations: 33.2 kB / 0.5234 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.558e-05/0.00564, allocations: 4 kB / 0.5234 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001197/0.00576, allocations: 15.98 kB / 0.5234 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.894e-05/0.005819, allocations: 11.92 kB / 0.5234 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.392e-05/0.005833, allocations: 5.344 kB / 0.5234 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000624/0.006456, allocations: 407.4 kB / 0.5238 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.662e-05/0.006473, allocations: 5.312 kB / 0.5238 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.944e-05/0.006503, allocations: 4 kB / 0.5238 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003951/0.006898, allocations: 251.3 kB / 0.524 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.464e-06/0.0069, allocations: 0 / 0.524 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.91e-07/0.006901, allocations: 2.688 kB / 0.524 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.451e-06/0.006906, allocations: 4 kB / 0.524 GB, free: 14.79 MB / 0.4948 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.000487/0.007393, allocations: 416 kB / 0.5244 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.12e-05/0.007445, allocations: 8.031 kB / 0.5245 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.356e-05/0.007498, allocations: 16.83 kB / 0.5245 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.007609, allocations: 112.6 kB / 0.5246 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.007623, allocations: 384 / 0.5246 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.235e-05/0.007635, allocations: 0.9062 kB / 0.5246 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001045/0.00774, allocations: 42.69 kB / 0.5246 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.657e-06/0.007748, allocations: 4.188 kB / 0.5246 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.00776, allocations: 1.344 kB / 0.5246 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.007771, allocations: 3.938 kB / 0.5246 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.759e-05/0.007808, allocations: 9.609 kB / 0.5246 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001871/0.007995, allocations: 124.7 kB / 0.5248 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.341e-05/0.008089, allocations: 39.06 kB / 0.5248 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.191e-05/0.008121, allocations: 19.69 kB / 0.5248 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004412/0.008562, allocations: 99.42 kB / 0.5249 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.798e-05/0.00859, allocations: 34.08 kB / 0.5249 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 1.413e-06/0.008591, allocations: 0 / 0.5249 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4): time 0.0001861/0.008777, allocations: 56.89 kB / 0.525 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.718e-05/0.008815, allocations: 63.33 kB / 0.5251 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.008915, allocations: 161.9 kB / 0.5252 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.179e-05/0.008927, allocations: 25.7 kB / 0.5252 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.811e-05/0.008975, allocations: 134.9 kB / 0.5254 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.756e-05/0.009012, allocations: 15.84 kB / 0.5254 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.761e-05/0.00905, allocations: 23.38 kB / 0.5254 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.009181, allocations: 496.1 kB / 0.5259 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.903e-05/0.0092, allocations: 14.75 kB / 0.5259 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.355e-05/0.009214, allocations: 0 / 0.5259 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.617e-05/0.00926, allocations: 19.69 kB / 0.5259 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.009263, allocations: 4 kB / 0.5259 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.885e-05/0.009352, allocations: 45.69 kB / 0.526 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.009366, allocations: 4 kB / 0.526 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.009372, allocations: 0 / 0.526 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.009389, allocations: 4 kB / 0.526 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.009495, allocations: 21.36 kB / 0.526 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.009504, allocations: 3.938 kB / 0.526 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.882e-05/0.009522, allocations: 0 / 0.526 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-06/0.00953, allocations: 4 kB / 0.526 GB, free: 12.62 MB / 0.4948 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.843e-05/0.009608, allocations: 163.1 kB / 0.5261 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.182e-05/0.00962, allocations: 3.953 kB / 0.5261 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000123/0.009743, allocations: 61.67 kB / 0.5262 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.009746, allocations: 0 / 0.5262 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.009751, allocations: 3.938 kB / 0.5262 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.009754, allocations: 0 / 0.5262 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.372e-05/0.009848, allocations: 119.1 kB / 0.5263 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.009852, allocations: 3.984 kB / 0.5263 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.591e-05/0.009908, allocations: 12 kB / 0.5263 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.009911, allocations: 0 / 0.5263 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.009919, allocations: 3.938 kB / 0.5263 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.009922, allocations: 0 / 0.5263 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.009924, allocations: 4.375 kB / 0.5263 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001512/0.01008, allocations: 98.44 kB / 0.5264 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.368e-06/0.01008, allocations: 4 kB / 0.5264 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.355e-05/0.0101, allocations: 3.984 kB / 0.5264 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.524e-05/0.01011, allocations: 0 / 0.5264 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.94e-05/0.01013, allocations: 4 kB / 0.5265 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-06/0.01014, allocations: 4.969 kB / 0.5265 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.862e-05/0.01019, allocations: 135.5 kB / 0.5266 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.01019, allocations: 0 / 0.5266 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002577/0.01044, allocations: 44.75 kB / 0.5266 GB, free: 11.89 MB / 0.4948 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.0002532/0.0107, allocations: 167.8 kB / 0.5268 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001057/0.0108, allocations: 23.62 kB / 0.5268 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.0108, allocations: 2.438 kB / 0.5268 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.359e-05/0.01083, allocations: 19.67 kB / 0.5268 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001922/0.01102, allocations: 8 kB / 0.5268 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003374/0.01136, allocations: 149 kB / 0.527 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.047e-05/0.0114, allocations: 59.3 kB / 0.527 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.424e-05/0.01143, allocations: 7 kB / 0.527 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.32e-05/0.01146, allocations: 8.5 kB / 0.5271 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of SimCode: time 5.41e-07/0.01146, allocations: 9.5 kB / 0.5271 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of Templates: time 0.003828/0.01528, allocations: 1.276 MB / 0.5283 GB, free: 10.23 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.makefile [Timeout 660] (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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.936357680009678]