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.001368/0.001368, allocations: 108 kB / 15.6 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001112/0.001113, allocations: 197.5 kB / 16.53 MB, free: 6.672 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.34/1.34, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9489/0.9489, allocations: 135.1 MB / 425.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001431, allocations: 60.16 kB / 0.5054 GB, free: 5.285 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2125/0.2139, allocations: 80.93 MB / 0.5844 GB, free: 4.516 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.00261/0.2166, allocations: 1.331 MB / 0.5857 GB, free: 3.164 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00173/0.2183, allocations: 1.073 MB / 0.5868 GB, free: 2.086 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.07e-05/0.2184, allocations: 0 / 0.5868 GB, free: 2.086 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.938e-05/0.2184, allocations: 3.938 kB / 0.5868 GB, free: 2.082 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.52e-05/0.2184, allocations: 7.938 kB / 0.5868 GB, free: 2.074 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005949/0.219, allocations: 215.2 kB / 0.587 GB, free: 1.863 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.746e-05/0.2191, allocations: 35.8 kB / 0.587 GB, free: 1.828 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.871e-05/0.2192, allocations: 0 / 0.587 GB, free: 1.828 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.14e-05/0.2192, allocations: 8 kB / 0.587 GB, free: 1.82 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.11e-05/0.2193, allocations: 23.91 kB / 0.5871 GB, free: 1.797 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.44e-05/0.2193, allocations: 4 kB / 0.5871 GB, free: 1.793 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005792/0.2199, allocations: 423.4 kB / 0.5875 GB, free: 1.379 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.393e-05/0.2199, allocations: 3.938 kB / 0.5875 GB, free: 1.375 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.916e-05/0.22, allocations: 11.94 kB / 0.5875 GB, free: 1.363 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002951/0.2203, allocations: 191.9 kB / 0.5877 GB, free: 1.176 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.2203, allocations: 0 / 0.5877 GB, free: 1.176 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2203, allocations: 0 / 0.5877 GB, free: 1.176 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.2203, allocations: 7.984 kB / 0.5877 GB, free: 1.168 MB / 494.1 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.0005084/0.2208, allocations: 379.4 kB / 0.588 GB, free: 0.75 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.2209, allocations: 12.03 kB / 0.5881 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.947e-05/0.2209, allocations: 4.844 kB / 0.5881 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001228/0.221, allocations: 168.3 kB / 0.5882 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.2211, allocations: 4.312 kB / 0.5882 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.19e-05/0.2211, allocations: 8.125 kB / 0.5882 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001082/0.2212, allocations: 37.69 kB / 0.5883 GB, free: 488 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.2212, allocations: 3.938 kB / 0.5883 GB, free: 484 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.2212, allocations: 3.984 kB / 0.5883 GB, free: 480 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.2212, allocations: 4 kB / 0.5883 GB, free: 476 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.128e-05/0.2213, allocations: 15.98 kB / 0.5883 GB, free: 460 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001811/0.2215, allocations: 161.6 kB / 0.5884 GB, free: 248 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.14e-05/0.2216, allocations: 38.56 kB / 0.5885 GB, free: 200 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.827e-05/0.2216, allocations: 20.83 kB / 0.5885 GB, free: 176 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009813/0.2226, allocations: 0.9856 MB / 0.5895 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/0.2226, allocations: 34.56 kB / 0.5895 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.2226, allocations: 3.938 kB / 0.5895 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001852/0.2228, allocations: 57.69 kB / 0.5896 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.848e-05/0.2229, allocations: 55.41 kB / 0.5896 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.848e-05/0.223, allocations: 105.8 kB / 0.5897 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.223, allocations: 25.7 kB / 0.5897 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.833e-05/0.223, allocations: 84.14 kB / 0.5898 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.203e-05/0.2231, allocations: 15.8 kB / 0.5898 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.077e-05/0.2231, allocations: 17.66 kB / 0.5898 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.2232, allocations: 314.8 kB / 0.5901 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.18e-05/0.2232, allocations: 8 kB / 0.5902 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.614e-05/0.2233, allocations: 7.984 kB / 0.5902 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.981e-05/0.2233, allocations: 28.8 kB / 0.5902 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.624e-06/0.2233, allocations: 0 / 0.5902 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.687e-05/0.2234, allocations: 53.62 kB / 0.5902 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.2234, allocations: 4 kB / 0.5902 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.2234, allocations: 0 / 0.5902 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.2235, allocations: 0 / 0.5902 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.2236, allocations: 12 kB / 0.5903 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.2236, allocations: 3.984 kB / 0.5903 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.635e-05/0.2236, allocations: 11.94 kB / 0.5903 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.2236, allocations: 0 / 0.5903 GB, free: 14.07 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 7.633e-05/0.2237, allocations: 105.8 kB / 0.5904 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.442e-05/0.2237, allocations: 15.78 kB / 0.5904 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001319/0.2239, allocations: 68.53 kB / 0.5905 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.2239, allocations: 0 / 0.5905 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.2239, allocations: 0 / 0.5905 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.2239, allocations: 384 / 0.5905 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001168/0.224, allocations: 165.6 kB / 0.5906 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.224, allocations: 4 kB / 0.5906 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.043e-05/0.2241, allocations: 12 kB / 0.5906 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.2241, allocations: 0 / 0.5906 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.2241, allocations: 4 kB / 0.5906 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.2241, allocations: 3.984 kB / 0.5906 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.2241, allocations: 3.984 kB / 0.5906 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001078/0.2243, allocations: 84.91 kB / 0.5907 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.8e-05/0.2243, allocations: 77.11 kB / 0.5908 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.361e-05/0.2243, allocations: 4 kB / 0.5908 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.145e-05/0.2243, allocations: 4 kB / 0.5908 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.533e-05/0.2244, allocations: 0 / 0.5908 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-06/0.2244, allocations: 0 / 0.5908 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.282e-05/0.2244, allocations: 95.25 kB / 0.5909 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2244, allocations: 0 / 0.5909 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002211/0.2247, allocations: 36 kB / 0.5909 GB, free: 13.29 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.0002216/0.2249, allocations: 143.2 kB / 0.5911 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001049/0.225, allocations: 31.92 kB / 0.5911 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.225, allocations: 0 / 0.5911 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.257e-05/0.225, allocations: 12 kB / 0.5911 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002345/0.2253, allocations: 11.92 kB / 0.5911 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003345/0.2256, allocations: 174.2 kB / 0.5913 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002361/0.2259, allocations: 0.6768 MB / 0.5919 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.335e-05/0.2259, allocations: 7.984 kB / 0.592 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.186e-05/0.2259, allocations: 11.44 kB / 0.592 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.2259, allocations: 0 / 0.592 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of Templates: time 0.003522/0.2295, allocations: 1.126 MB / 0.5931 GB, free: 11.1 MB / 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)