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.0.0+maint.om/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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008673/0.008673, allocations: 101.1 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001612/0.001613, allocations: 190.2 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.993/0.993, allocations: 135.1 MB / 425.7 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 67.91 kB / 0.5857 GB, free: 3.297 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5108/0.5122, allocations: 80.91 MB / 0.6647 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002903/0.5152, allocations: 1.35 MB / 0.666 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001772/0.517, allocations: 1.067 MB / 0.6671 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.341e-05/0.5171, allocations: 1.406 kB / 0.6671 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.899e-05/0.5172, allocations: 7.922 kB / 0.6671 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.729e-05/0.5172, allocations: 9.141 kB / 0.6671 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008566/0.5181, allocations: 209.6 kB / 0.6673 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.519e-05/0.5182, allocations: 30.77 kB / 0.6673 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.356e-05/0.5182, allocations: 6.203 kB / 0.6673 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.797e-05/0.5183, allocations: 14.78 kB / 0.6673 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.156e-05/0.5184, allocations: 13.61 kB / 0.6674 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.247e-05/0.5184, allocations: 1.562 kB / 0.6674 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006735/0.5191, allocations: 423.5 kB / 0.6678 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.425e-05/0.5191, allocations: 5.031 kB / 0.6678 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.322e-05/0.5191, allocations: 20.95 kB / 0.6678 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003851/0.5195, allocations: 187.6 kB / 0.668 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.5196, allocations: 1.281 kB / 0.668 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.463e-06/0.5196, allocations: 3.938 kB / 0.668 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.491e-06/0.5196, allocations: 0 / 0.668 GB, free: 5.184 MB / 0.4981 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.0004778/0.5201, allocations: 388.6 kB / 0.6683 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.5201, allocations: 9.969 kB / 0.6683 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.868e-05/0.5201, allocations: 2.562 kB / 0.6684 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.896e-05/0.5202, allocations: 174.4 kB / 0.6685 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.5203, allocations: 1.688 kB / 0.6685 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.167e-05/0.5203, allocations: 5.344 kB / 0.6685 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001061/0.5204, allocations: 39 kB / 0.6686 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.5204, allocations: 1.656 kB / 0.6686 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.5204, allocations: 0 / 0.6686 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.505e-06/0.5204, allocations: 3.984 kB / 0.6686 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.697e-05/0.5205, allocations: 12.83 kB / 0.6686 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001611/0.5207, allocations: 167.7 kB / 0.6687 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.166e-05/0.5208, allocations: 46.44 kB / 0.6688 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.247e-05/0.5208, allocations: 15.83 kB / 0.6688 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007393/0.5215, allocations: 0.9819 MB / 0.6698 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.2e-05/0.5216, allocations: 35.97 kB / 0.6698 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.5216, allocations: 0 / 0.6698 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001807/0.5218, allocations: 56.34 kB / 0.6698 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.152e-05/0.5218, allocations: 52.69 kB / 0.6699 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.791e-05/0.5219, allocations: 109.9 kB / 0.67 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.335e-06/0.5219, allocations: 29.7 kB / 0.67 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.273e-05/0.5219, allocations: 85.3 kB / 0.6701 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.013e-05/0.522, allocations: 10.28 kB / 0.6701 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.139e-05/0.522, allocations: 21.64 kB / 0.6701 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.57e-05/0.5221, allocations: 312.2 kB / 0.6704 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.103e-05/0.5221, allocations: 8.062 kB / 0.6704 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.662e-05/0.5221, allocations: 7.766 kB / 0.6705 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.51e-05/0.5222, allocations: 19.3 kB / 0.6705 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.5222, allocations: 4 kB / 0.6705 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.674e-05/0.5222, allocations: 62.03 kB / 0.6705 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.5223, allocations: 4.969 kB / 0.6705 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.778e-06/0.5223, allocations: 0 / 0.6705 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.5223, allocations: 0.9688 kB / 0.6705 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.5224, allocations: 11.09 kB / 0.6706 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.5224, allocations: 1.281 kB / 0.6706 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.54e-05/0.5225, allocations: 0 / 0.6706 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-06/0.5225, allocations: 5.5 kB / 0.6706 GB, free: 2.312 MB / 0.4981 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 6.094e-05/0.5225, allocations: 124.2 kB / 0.6707 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.1e-05/0.5226, allocations: 1.406 kB / 0.6707 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001237/0.5227, allocations: 62.12 kB / 0.6707 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.5227, allocations: 0 / 0.6707 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.5227, allocations: 1.594 kB / 0.6707 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.646e-06/0.5227, allocations: 384 / 0.6707 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.412e-05/0.5228, allocations: 168.2 kB / 0.6709 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.5228, allocations: 1.281 kB / 0.6709 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.467e-05/0.5229, allocations: 11.31 kB / 0.6709 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.5229, allocations: 0 / 0.6709 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.5229, allocations: 5.375 kB / 0.6709 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.5229, allocations: 0 / 0.6709 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.5229, allocations: 1.438 kB / 0.6709 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.337e-05/0.523, allocations: 92.94 kB / 0.671 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.444e-05/0.5231, allocations: 82.7 kB / 0.6711 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.5e-05/0.5231, allocations: 0 / 0.6711 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.394e-05/0.5231, allocations: 5.562 kB / 0.6711 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.745e-05/0.5231, allocations: 1.438 kB / 0.6711 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.5231, allocations: 9.438 kB / 0.6711 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.567e-05/0.5232, allocations: 87.94 kB / 0.6712 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5232, allocations: 0 / 0.6712 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002642/0.5234, allocations: 40.03 kB / 0.6712 GB, free: 1.621 MB / 0.4981 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.000233/0.5237, allocations: 146.3 kB / 0.6714 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000106/0.5238, allocations: 21.48 kB / 0.6714 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.5238, allocations: 0 / 0.6714 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.454e-05/0.5238, allocations: 12.09 kB / 0.6714 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002547/0.5241, allocations: 20.59 kB / 0.6714 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003438/0.5245, allocations: 152 kB / 0.6716 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000109/0.5246, allocations: 0.6795 MB / 0.6722 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.483e-05/0.5246, allocations: 5 kB / 0.6722 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.304e-05/0.5246, allocations: 14 kB / 0.6722 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of SimCode: time 5.01e-07/0.5246, allocations: 0 / 0.6722 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of Templates: time 0.003722/0.5284, allocations: 1.143 MB / 0.6734 GB, free: 96 kB / 0.4981 GB 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)