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.InternalResistancesOneUTubeNegative.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.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001569/0.00157, allocations: 109.3 kB / 16.27 MB, free: 5.984 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.001495/0.001495, allocations: 187.8 kB / 17.2 MB, free: 5.609 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.368/1.368, allocations: 222.9 MB / 240.9 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8107/0.8107, allocations: 135.2 MB / 426.2 MB, free: 4.172 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001801/0.001801, allocations: 75.83 kB / 0.5061 GB, free: 8.312 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3426/0.3445, allocations: 80.91 MB / 0.5851 GB, free: 25.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002315/0.3468, allocations: 1.415 MB / 0.5865 GB, free: 24.52 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003355/0.3502, allocations: 2.83 MB / 0.5893 GB, free: 22.3 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.585e-05/0.3502, allocations: 2.594 kB / 0.5893 GB, free: 22.3 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.187e-05/0.3503, allocations: 7.922 kB / 0.5893 GB, free: 22.29 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.796e-05/0.3503, allocations: 13.02 kB / 0.5893 GB, free: 22.28 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002969/0.3533, allocations: 1.558 MB / 0.5908 GB, free: 20.86 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.256e-05/0.3534, allocations: 45.39 kB / 0.5909 GB, free: 20.82 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.909e-05/0.3534, allocations: 6.109 kB / 0.5909 GB, free: 20.82 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.092e-05/0.3535, allocations: 7.938 kB / 0.5909 GB, free: 20.81 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.361e-05/0.3535, allocations: 19.91 kB / 0.5909 GB, free: 20.79 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.095e-05/0.3535, allocations: 4 kB / 0.5909 GB, free: 20.79 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001436/0.3549, allocations: 1.418 MB / 0.5923 GB, free: 19.37 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.181e-05/0.355, allocations: 7.938 kB / 0.5923 GB, free: 19.36 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.595e-05/0.355, allocations: 11.94 kB / 0.5923 GB, free: 19.35 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009476/0.356, allocations: 1.072 MB / 0.5933 GB, free: 18.27 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.356, allocations: 2.125 kB / 0.5933 GB, free: 18.27 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.356, allocations: 0 / 0.5933 GB, free: 18.27 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.356, allocations: 3.938 kB / 0.5933 GB, free: 18.27 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.000421/0.3564, allocations: 0.5184 MB / 0.5939 GB, free: 17.7 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.3565, allocations: 8.031 kB / 0.5939 GB, free: 17.7 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.397e-05/0.3565, allocations: 85 kB / 0.5939 GB, free: 17.61 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.25e-05/0.3566, allocations: 244.7 kB / 0.5942 GB, free: 17.34 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.363e-05/0.3566, allocations: 150.9 kB / 0.5943 GB, free: 17.19 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.063e-05/0.3567, allocations: 157.1 kB / 0.5945 GB, free: 17.04 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.252e-05/0.3567, allocations: 105 kB / 0.5946 GB, free: 16.93 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.3567, allocations: 75.28 kB / 0.5946 GB, free: 16.85 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.453e-05/0.3568, allocations: 152.7 kB / 0.5948 GB, free: 16.7 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.08e-05/0.3568, allocations: 154.6 kB / 0.5949 GB, free: 16.55 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.434e-05/0.3568, allocations: 154.5 kB / 0.5951 GB, free: 16.4 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001903/0.357, allocations: 467 kB / 0.5955 GB, free: 15.89 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.202e-05/0.3571, allocations: 172.2 kB / 0.5957 GB, free: 15.72 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.811e-05/0.3571, allocations: 84.12 kB / 0.5958 GB, free: 15.63 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.42e-05/0.3571, allocations: 75.28 kB / 0.5958 GB, free: 15.56 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.481e-05/0.3571, allocations: 110.9 kB / 0.5959 GB, free: 15.44 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 7.72e-07/0.3571, allocations: 0 / 0.5959 GB, free: 15.44 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 6.627e-05/0.3572, allocations: 37.61 kB / 0.596 GB, free: 15.4 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.8e-05/0.3573, allocations: 128.3 kB / 0.5961 GB, free: 15.26 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.771e-05/0.3574, allocations: 128.5 kB / 0.5962 GB, free: 15.13 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.274e-06/0.3574, allocations: 25.7 kB / 0.5963 GB, free: 15.1 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.063e-05/0.3574, allocations: 93.42 kB / 0.5963 GB, free: 15 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.856e-06/0.3574, allocations: 0 / 0.5963 GB, free: 15 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.741e-05/0.3574, allocations: 17.7 kB / 0.5964 GB, free: 14.98 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.621e-05/0.3575, allocations: 320.5 kB / 0.5967 GB, free: 14.66 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.999e-05/0.3575, allocations: 0 / 0.5967 GB, free: 14.66 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.397e-05/0.3575, allocations: 7.984 kB / 0.5967 GB, free: 14.65 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.285e-05/0.3576, allocations: 18.36 kB / 0.5967 GB, free: 14.63 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3576, allocations: 7.938 kB / 0.5967 GB, free: 14.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001009/0.3577, allocations: 49.55 kB / 0.5967 GB, free: 14.57 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.3577, allocations: 5.219 kB / 0.5967 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.857e-05/0.3577, allocations: 7.984 kB / 0.5968 GB, free: 14.56 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.3578, allocations: 4.031 kB / 0.5968 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.533e-06/0.3578, allocations: 0.9688 kB / 0.5968 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.3578, allocations: 3.938 kB / 0.5968 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.908e-05/0.3578, allocations: 0 / 0.5968 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.762e-06/0.3578, allocations: 5.062 kB / 0.5968 GB, free: 14.55 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 5.873e-05/0.3579, allocations: 186.7 kB / 0.5969 GB, free: 14.36 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.77e-05/0.3579, allocations: 112.8 kB / 0.5971 GB, free: 14.24 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.796e-05/0.3579, allocations: 112.8 kB / 0.5972 GB, free: 14.12 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.497e-05/0.358, allocations: 182 kB / 0.5973 GB, free: 13.94 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-05/0.358, allocations: 184.2 kB / 0.5975 GB, free: 13.75 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-05/0.358, allocations: 182.3 kB / 0.5977 GB, free: 13.57 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001371/0.3582, allocations: 421.1 kB / 0.5981 GB, free: 13.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.479e-05/0.3582, allocations: 109 kB / 0.5982 GB, free: 12.99 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.541e-05/0.3582, allocations: 101.7 kB / 0.5983 GB, free: 12.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.361e-05/0.3582, allocations: 181.3 kB / 0.5985 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.75e-05/0.3583, allocations: 181.2 kB / 0.5986 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.443e-05/0.3583, allocations: 182.6 kB / 0.5988 GB, free: 12.33 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.306e-05/0.3583, allocations: 176.3 kB / 0.599 GB, free: 12.15 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.483e-05/0.3584, allocations: 312.3 kB / 0.5993 GB, free: 11.82 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.431e-05/0.3584, allocations: 187.3 kB / 0.5995 GB, free: 11.62 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.678e-05/0.3585, allocations: 180.2 kB / 0.5996 GB, free: 11.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.988e-05/0.3586, allocations: 109.5 kB / 0.5997 GB, free: 11.32 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.367e-05/0.3586, allocations: 185.8 kB / 0.5999 GB, free: 11.13 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.537e-05/0.3586, allocations: 101 kB / 0.6 GB, free: 11.03 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.461e-05/0.3587, allocations: 96.42 kB / 0.6001 GB, free: 10.93 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3587, allocations: 0 / 0.6001 GB, free: 10.93 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005667/0.3592, allocations: 279.8 kB / 0.6004 GB, free: 10.66 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 (0): * Single equations (assignments): 0 * 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.000848/0.3601, allocations: 0.5184 MB / 0.6009 GB, free: 10.14 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.763e-05/0.3602, allocations: 38.7 kB / 0.6009 GB, free: 10.09 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.3602, allocations: 0.625 kB / 0.6009 GB, free: 10.09 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.795e-06/0.3602, allocations: 3.938 kB / 0.6009 GB, free: 10.09 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002957/0.3605, allocations: 473.5 kB / 0.6014 GB, free: 9.625 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000267/0.3608, allocations: 264.4 kB / 0.6016 GB, free: 9.34 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001116/0.3609, allocations: 0.6846 MB / 0.6023 GB, free: 8.629 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.069e-05/0.3609, allocations: 11.44 kB / 0.6023 GB, free: 8.617 MB / 446.1 MB Notification: Performance of SimCode: time 1.7e-07/0.3609, allocations: 4.781 kB / 0.6023 GB, free: 8.613 MB / 446.1 MB Notification: Performance of Templates: time 0.005445/0.3664, allocations: 4.623 MB / 0.6068 GB, free: 4.02 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)