Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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_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.007997/0.007997, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001326/0.001327, allocations: 191.5 kB / 16.67 MB, free: 5.523 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.389/1.389, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8299/0.8299, allocations: 132.2 MB / 422.7 MB, free: 6.621 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 70.47 kB / 0.5814 GB, free: 23.79 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1991/0.2003, allocations: 80.21 MB / 0.6598 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002699/0.203, allocations: 1.412 MB / 0.6611 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005141/0.2082, allocations: 2.841 MB / 0.6639 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.429e-05/0.2083, allocations: 0 / 0.6639 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.961e-05/0.2083, allocations: 3.938 kB / 0.6639 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.713e-05/0.2084, allocations: 15.84 kB / 0.6639 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00393/0.2124, allocations: 1.556 MB / 0.6654 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001044/0.2125, allocations: 43.73 kB / 0.6655 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.639e-05/0.2125, allocations: 7.984 kB / 0.6655 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.601e-05/0.2126, allocations: 11.94 kB / 0.6655 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.146e-05/0.2126, allocations: 19.92 kB / 0.6655 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.168e-05/0.2126, allocations: 4 kB / 0.6655 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0021/0.2147, allocations: 1.47 MB / 0.667 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.704e-05/0.2148, allocations: 11.92 kB / 0.667 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.977e-05/0.2148, allocations: 27.86 kB / 0.667 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001299/0.2161, allocations: 1.053 MB / 0.668 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.2161, allocations: 3.938 kB / 0.668 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.366e-06/0.2161, allocations: 3.984 kB / 0.668 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.494e-06/0.2162, allocations: 4 kB / 0.668 GB, free: 1.785 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0006778/0.2168, allocations: 0.5108 MB / 0.6685 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.2169, allocations: 8.031 kB / 0.6685 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001133/0.217, allocations: 84.12 kB / 0.6686 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001637/0.2172, allocations: 257.4 kB / 0.6689 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.01e-05/0.2172, allocations: 154.7 kB / 0.669 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.012e-05/0.2173, allocations: 154.6 kB / 0.6692 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.153e-05/0.2174, allocations: 112.9 kB / 0.6693 GB, free: 436 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.031e-05/0.2174, allocations: 75.28 kB / 0.6693 GB, free: 360 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.133e-05/0.2175, allocations: 150.6 kB / 0.6695 GB, free: 208 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.066e-05/0.2175, allocations: 150.6 kB / 0.6696 GB, free: 56 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.614e-05/0.2176, allocations: 158.5 kB / 0.6698 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002958/0.2179, allocations: 461.9 kB / 0.6702 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 8.144e-05/0.218, allocations: 177.1 kB / 0.6704 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.412e-05/0.218, allocations: 84.14 kB / 0.6705 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.37e-05/0.2181, allocations: 75.28 kB / 0.6705 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.514e-05/0.2181, allocations: 113.8 kB / 0.6707 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.2181, allocations: 0 / 0.6707 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0): time 8.089e-05/0.2182, allocations: 33.61 kB / 0.6707 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.682e-05/0.2183, allocations: 126.7 kB / 0.6708 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/0.2185, allocations: 127.9 kB / 0.6709 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/0.2185, allocations: 29.7 kB / 0.671 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.45e-05/0.2185, allocations: 96.03 kB / 0.671 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.296e-06/0.2185, allocations: 0 / 0.671 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.475e-05/0.2186, allocations: 21.72 kB / 0.6711 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.2187, allocations: 322.8 kB / 0.6714 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.136e-05/0.2187, allocations: 0 / 0.6714 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.775e-05/0.2188, allocations: 8 kB / 0.6714 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.934e-05/0.2188, allocations: 16.73 kB / 0.6714 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.2188, allocations: 0 / 0.6714 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001324/0.219, allocations: 49.69 kB / 0.6714 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.219, allocations: 4 kB / 0.6715 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.126e-05/0.219, allocations: 8.062 kB / 0.6715 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.219, allocations: 0 / 0.6715 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.032e-06/0.219, allocations: 0 / 0.6715 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.219, allocations: 3.984 kB / 0.6715 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.722e-05/0.2191, allocations: 11.84 kB / 0.6715 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.884e-06/0.2191, allocations: 4 kB / 0.6715 GB, free: 14.03 MB / 0.5137 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 (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 0.0001596/0.2193, allocations: 185.1 kB / 0.6717 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.671e-05/0.2193, allocations: 113 kB / 0.6718 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.727e-05/0.2194, allocations: 116.8 kB / 0.6719 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.601e-05/0.2195, allocations: 184.2 kB / 0.672 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.606e-05/0.2195, allocations: 176.3 kB / 0.6722 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-05/0.2196, allocations: 176.3 kB / 0.6724 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002367/0.2198, allocations: 425.1 kB / 0.6728 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-05/0.2199, allocations: 105 kB / 0.6729 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.619e-05/0.2199, allocations: 104.9 kB / 0.673 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.653e-05/0.22, allocations: 176.3 kB / 0.6732 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.386e-05/0.2201, allocations: 180.3 kB / 0.6733 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.101e-05/0.2201, allocations: 188.1 kB / 0.6735 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.758e-05/0.2202, allocations: 180.3 kB / 0.6737 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001375/0.2204, allocations: 311.6 kB / 0.674 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.325e-05/0.2204, allocations: 190 kB / 0.6742 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.249e-05/0.2205, allocations: 184.2 kB / 0.6743 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.174e-05/0.2206, allocations: 101 kB / 0.6744 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/0.2207, allocations: 192.2 kB / 0.6746 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.932e-05/0.2208, allocations: 101 kB / 0.6747 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.913e-05/0.2208, allocations: 95.27 kB / 0.6748 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2208, allocations: 0 / 0.6748 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007889/0.2216, allocations: 279.8 kB / 0.6751 GB, free: 10.12 MB / 0.5137 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 (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.001053/0.2227, allocations: 0.5137 MB / 0.6756 GB, free: 9.594 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001098/0.2228, allocations: 37.7 kB / 0.6756 GB, free: 9.551 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2228, allocations: 3.938 kB / 0.6756 GB, free: 9.547 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.482e-06/0.2228, allocations: 0 / 0.6756 GB, free: 9.547 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004222/0.2232, allocations: 468.7 kB / 0.6761 GB, free: 9.09 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003679/0.2236, allocations: 230.4 kB / 0.6763 GB, free: 8.84 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000366/0.224, allocations: 0.6884 MB / 0.677 GB, free: 8.125 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.397e-05/0.224, allocations: 0 / 0.677 GB, free: 8.125 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.255e-05/0.224, allocations: 11.44 kB / 0.677 GB, free: 8.113 MB / 0.5137 GB Notification: Performance of SimCode: time 1.613e-06/0.224, allocations: 0 / 0.677 GB, free: 8.113 MB / 0.5137 GB Notification: Performance of Templates: time 0.009217/0.2333, allocations: 5.438 MB / 0.6823 GB, free: 2.727 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)