Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001091/0.001091, allocations: 112.7 kB / 17.04 MB, free: 5.805 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.001055/0.001055, allocations: 195 kB / 17.98 MB, free: 5.031 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.319/1.319, allocations: 222.9 MB / 241.7 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7028/0.7028, allocations: 115.1 MB / 406.9 MB, free: 6.348 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 63.89 kB / 494.9 MB, free: 15.81 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.319/0.3203, allocations: 76.15 MB / 0.5576 GB, free: 36.63 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002242/0.3226, allocations: 1.35 MB / 0.559 GB, free: 35.71 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001354/0.3239, allocations: 1.081 MB / 0.56 GB, free: 34.96 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.576e-05/0.324, allocations: 1.406 kB / 0.56 GB, free: 34.96 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.781e-05/0.324, allocations: 5.062 kB / 0.56 GB, free: 34.96 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.873e-05/0.3241, allocations: 6.5 kB / 0.56 GB, free: 34.96 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006051/0.3247, allocations: 210.5 kB / 0.5602 GB, free: 34.88 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.887e-05/0.3248, allocations: 30.59 kB / 0.5603 GB, free: 34.87 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.315e-05/0.3248, allocations: 1.891 kB / 0.5603 GB, free: 34.87 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.417e-05/0.3249, allocations: 22.67 kB / 0.5603 GB, free: 34.86 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.483e-05/0.3249, allocations: 15.23 kB / 0.5603 GB, free: 34.85 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.001e-05/0.325, allocations: 2.469 kB / 0.5603 GB, free: 34.85 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006142/0.3256, allocations: 425.5 kB / 0.5607 GB, free: 34.75 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.132e-05/0.3256, allocations: 2.797 kB / 0.5607 GB, free: 34.75 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.757e-05/0.3256, allocations: 15.22 kB / 0.5607 GB, free: 34.74 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003134/0.3259, allocations: 204.6 kB / 0.5609 GB, free: 34.68 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.326, allocations: 1.938 kB / 0.5609 GB, free: 34.68 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.326, allocations: 3.031 kB / 0.5609 GB, free: 34.68 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.648e-06/0.326, allocations: 0 / 0.5609 GB, free: 34.68 MB / 446.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.0003922/0.3264, allocations: 379.1 kB / 0.5613 GB, free: 34.29 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.3264, allocations: 10.12 kB / 0.5613 GB, free: 34.29 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.071e-05/0.3265, allocations: 6.922 kB / 0.5613 GB, free: 34.29 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.372e-05/0.3265, allocations: 168.3 kB / 0.5615 GB, free: 34.09 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.3266, allocations: 6.656 kB / 0.5615 GB, free: 34.08 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.386e-06/0.3266, allocations: 1.781 kB / 0.5615 GB, free: 34.08 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.921e-05/0.3267, allocations: 41.2 kB / 0.5615 GB, free: 34.05 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.3267, allocations: 0 / 0.5615 GB, free: 34.05 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.996e-06/0.3267, allocations: 4 kB / 0.5615 GB, free: 34.04 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.3267, allocations: 6.453 kB / 0.5615 GB, free: 34.04 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.628e-05/0.3268, allocations: 15.12 kB / 0.5615 GB, free: 34.04 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001238/0.3269, allocations: 158.6 kB / 0.5617 GB, free: 33.84 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.358e-05/0.327, allocations: 41.31 kB / 0.5617 GB, free: 33.81 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.021e-05/0.327, allocations: 14.7 kB / 0.5617 GB, free: 33.8 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007191/0.3277, allocations: 0.9893 MB / 0.5627 GB, free: 32.68 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.749e-05/0.3278, allocations: 36.69 kB / 0.5627 GB, free: 32.63 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.123e-06/0.3278, allocations: 0 / 0.5627 GB, free: 32.63 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.00016/0.3279, allocations: 67.25 kB / 0.5628 GB, free: 32.59 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.42e-05/0.328, allocations: 53.53 kB / 0.5628 GB, free: 32.52 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.337e-05/0.328, allocations: 108.4 kB / 0.5629 GB, free: 32.42 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.985e-06/0.328, allocations: 28.41 kB / 0.563 GB, free: 32.39 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.961e-05/0.3281, allocations: 85.75 kB / 0.5631 GB, free: 32.3 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.604e-05/0.3281, allocations: 7.094 kB / 0.5631 GB, free: 32.3 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.059e-05/0.3281, allocations: 19.78 kB / 0.5631 GB, free: 32.28 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.321e-05/0.3282, allocations: 314.1 kB / 0.5634 GB, free: 31.96 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.379e-05/0.3282, allocations: 9.703 kB / 0.5634 GB, free: 31.96 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.768e-05/0.3282, allocations: 8.5 kB / 0.5634 GB, free: 31.96 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.438e-05/0.3283, allocations: 22 kB / 0.5634 GB, free: 31.95 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.3283, allocations: 0 / 0.5634 GB, free: 31.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.816e-05/0.3284, allocations: 57.44 kB / 0.5635 GB, free: 31.9 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.3284, allocations: 11.84 kB / 0.5635 GB, free: 31.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.3284, allocations: 0 / 0.5635 GB, free: 31.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.3284, allocations: 1.969 kB / 0.5635 GB, free: 31.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001137/0.3286, allocations: 13.38 kB / 0.5635 GB, free: 31.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.3286, allocations: 2.562 kB / 0.5635 GB, free: 31.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.413e-05/0.3286, allocations: 0 / 0.5635 GB, free: 31.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-06/0.3286, allocations: 2.844 kB / 0.5635 GB, free: 31.9 MB / 446.1 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 4.834e-05/0.3287, allocations: 113.4 kB / 0.5636 GB, free: 31.78 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.142e-05/0.3287, allocations: 9.906 kB / 0.5636 GB, free: 31.77 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000115/0.3288, allocations: 64.88 kB / 0.5637 GB, free: 31.72 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.3288, allocations: 0 / 0.5637 GB, free: 31.72 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.3288, allocations: 2.719 kB / 0.5637 GB, free: 31.72 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.3288, allocations: 0.75 kB / 0.5637 GB, free: 31.72 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.364e-05/0.3289, allocations: 166.4 kB / 0.5638 GB, free: 31.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3289, allocations: 0.75 kB / 0.5638 GB, free: 31.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.122e-05/0.329, allocations: 18.02 kB / 0.5639 GB, free: 31.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.329, allocations: 4.656 kB / 0.5639 GB, free: 31.52 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.513e-06/0.329, allocations: 1.062 kB / 0.5639 GB, free: 31.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.329, allocations: 3.391 kB / 0.5639 GB, free: 31.52 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.329, allocations: 0 / 0.5639 GB, free: 31.52 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.445e-05/0.3291, allocations: 79.34 kB / 0.564 GB, free: 31.44 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.867e-05/0.3292, allocations: 91.36 kB / 0.564 GB, free: 31.34 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.23e-05/0.3292, allocations: 0.6562 kB / 0.564 GB, free: 31.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.454e-05/0.3292, allocations: 3.641 kB / 0.564 GB, free: 31.34 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.298e-05/0.3292, allocations: 3.047 kB / 0.564 GB, free: 31.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.04e-06/0.3292, allocations: 2.359 kB / 0.564 GB, free: 31.34 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.399e-05/0.3293, allocations: 87.41 kB / 0.5641 GB, free: 31.26 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3293, allocations: 0 / 0.5641 GB, free: 31.26 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002757/0.3295, allocations: 40.58 kB / 0.5642 GB, free: 31.25 MB / 446.1 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.0002075/0.3298, allocations: 157 kB / 0.5643 GB, free: 31.14 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001004/0.3299, allocations: 16.59 kB / 0.5643 GB, free: 31.14 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.3299, allocations: 0 / 0.5643 GB, free: 31.14 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.466e-05/0.3299, allocations: 18.42 kB / 0.5644 GB, free: 31.14 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002189/0.3301, allocations: 5.234 kB / 0.5644 GB, free: 31.14 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002867/0.3304, allocations: 148.4 kB / 0.5645 GB, free: 31.02 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.132e-05/0.3305, allocations: 0.6798 MB / 0.5652 GB, free: 30.32 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.469e-05/0.3306, allocations: 8.172 kB / 0.5652 GB, free: 30.32 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.888e-05/0.3306, allocations: 14.31 kB / 0.5652 GB, free: 30.31 MB / 446.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3306, allocations: 0 / 0.5652 GB, free: 30.31 MB / 446.1 MB Notification: Performance of Templates: time 0.003647/0.3343, allocations: 1.131 MB / 0.5663 GB, free: 30.28 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1)